-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$2000] Previously opened chat profile pic appears for second when switch between chats #15962
Comments
Triggered auto assignment to @bfitzexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01b588d14cef8db1ab |
Current assignee @bfitzexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @deetergp ( |
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar flicker when switch between chats What is the root cause of that problem?Previous Avatar instance is still mounted and we try to mount a new one. What changes do you think we should make in order to solve the problem?Adding a key prop to the View would force unmount the previous one and mount a new one. Screen.Recording.2023-03-17.at.5.36.45.AM.movWhat alternative solutions did you explore? (Optional)None |
📣 @shivenj! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Not able to reproduce |
Which browser and OS you are checking? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Previously opened chat profile pic flashes for a second in the chat header when changing chats with avatar images. What is the root cause of that problem?Let's look at how we're rendering the
The What changes do you think we should make in order to solve the problem?We should move the logic to get the
to the
before this line App/src/components/Image/index.js Line 30 in 772a947
imageSource if the source props changes.
Please note the rest of the asynchronous logic like Another note is that for native we're already using the above method (set What alternative solutions did you explore? (Optional)We can also get rid of the state and use ResultWorking well after the fix Screen.Recording.2023-03-17.at.21.27.03.mov |
Not able to reproduce on DEV (MacOS / Chrome), only reproducible on STG (MacOS / Chrome) |
Not overdue |
📣 @tienifr You have been assigned to this job by @deetergp! |
@deetergp @thesahindia while working on the PR, I noticed that the flickering has been fixed by another PR here with a quite similar solutions. This was merged recently and after @thesahindia approved the proposal. Tested again on staging and works well, so I think we don't have to do any code change here. |
I can confirm that it is no longer doing it on staging, thanks for catching it and pointing it out @tienifr. @bfitzexpensify I think we can close this one out as no longer needed. |
@deetergp @bfitzexpensify @thesahindia @tienifr this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@deetergp Hi, just checking if I'm eligible for compensation here since I was already assigned and started on the PR. The proposal was valid at the time, also the merged solution that affects this is quite similar as well. There was another case here where we closed the issue after assignment and PR process started, and compensation was still applied. |
Great question, @tienifr, let me ask and get back to you. |
Hey @tienifr, you did offer a proposal and did some work towards fixing it. The general consensus is half ($1000) of the issue price ($2000) seems fair. Does that seem fair? |
@deetergp yes that sounds good to me. Thanks! |
Issue not reproducible during KI retests. (First week) |
@bfitzexpensify let's pay @tienifr $1k for their effort so far and then close this one out. |
Thanks for that link @thesahindia, I think that seems fair. Can you please apply to the job on Upwork? Same for you @tienifr, please apply on Upwork and I can get this paid out. |
@bfitzexpensify applied, thanks! |
I have applied as well! Note: The job price is $2000 but only $1000 needs to be paid |
@deetergp @bfitzexpensify @thesahindia @tienifr this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Offers sent! |
Accepted, thanks! |
OK, payments finalised and contracts ended. Closing this one out. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
1.Switch switch between chats and check the profile pic (both chats should have profile picture added)
Expected Result:
Should not show previously opened chat profile pic
Actual Result:
Previously opened chat profile pic flashes for a second
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.84-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Screen.Recording.2023-03-10.at.4.42.06.PM.mov
Recording.1706.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678446753286209
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: