-
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
[HOLD for payment 2024-08-01] [$50] Group chat - Avatar loads infinitely when refreshing full screen avatar on confirmation page #45824
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @carlosmiceli ( |
We think that this bug might be related to #vip-vsp |
Not fixed by the revert, going to mark this as external |
Job added to Upwork: https://www.upwork.com/jobs/~0163f99f868835a727 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
In you proposals, you must include the offending PR. If you can highlight which PR caused it without a fix for the bug (the fix is a revert) a partial $50 reward will go your way |
@mountiny ther is no option to view the group image in the confirm page in production so it looks like this come from this PR #41586 that add a feature to view a group chat custom avatar. Also I noticed a behaviour : If you wait for some time before viewing the image it works fine and display the image after the first refresh. Check the video below. ( but it doesn't work if you refresh it for one more time ) screen-recording-2024-07-21-at-35250-am_JjkYRvqv.mp4So I think what happened is that: And here is the error message from the console. The not found file message |
Not Completely sure, but I think the same PR also cause this issue #45842. I mentioned the PR there too. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar loads infinitely when refreshing full screen avatar on confirmation page What is the root cause of that problem?The image uploaded while creating group is optimistically saved locally in the form of App/src/components/ImageView/index.tsx Line 240 in 5a2602c
and the group avatar in confirmation RHP would be reset to default. Normally for an image to be uploaded to the CDN, we need to call the corresponding update avatar API and the BE will handle the upload. We haven't had any approaches solving the case of optimistic image data. Offending PR: This has happened ever since we allowed viewing the custom avatar in full screen while creating group in #41586. What changes do you think we should make in order to solve the problem?We should not allow App/src/components/AvatarWithImagePicker.tsx Line 337 in f3a8f73
Or we can revert the |
cc @nexarvo Can you check this one 👀 |
I saw this issue in Upwork. I tried the same step but now it is not reproducible, is it fix or still reproducible ? |
📣 @NaveedShaikh78! 📣
|
Is it still reproducible? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Avatar spinner shown when refreshing full screen avatar page and on new group chat confirmation page What is the root cause of that problem?PR #41586 enables viewing group avatar in full screen. When user creates new group, the data is stored in onyx newChatDraft, but the avatar is stored as blob uri string. The blob uri string won't be available when the user refresh the app. What changes do you think we should make in order to solve the problem?We could store the avatar image as base64 string in onyx and use it in new/chat/confirm page. |
Triggered auto assignment to @RachCHopkins ( |
📣 @Ahmed-Abdella 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Yeah $50 to @Ahmed-Abdella |
Offer accepted, Thanks @mountiny |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-08-01. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
No checklist needed ^ Offending PR has been reverted |
Can we close this? |
@carlosmiceli, @Ahmed-Abdella is due payment for finding offending PR |
Understood! |
@carlosmiceli, @s77rt, @RachCHopkins, @mountiny, @Ahmed-Abdella Eep! 4 days overdue now. Issues have feelings too... |
I'm here Melvin! Sorry, busy week last week! |
Summary $50 to @Ahmed-Abdella for help with this deploy blocker and finding the offending PR. As we have reverted the offending change the checklist can be skipped |
Payment Summary: Contributor: @Ahmed-Abdella paid $50 via Upwork |
Contributor has been paid, the contract has been completed, and the Upwork post has been closed. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.10-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
. Go to staging.new.expensify.com
2. Go to FAB > Start chat > Chat
3. Select a few users
4. Proceed to confirmation page
5. Add a group chat avatar
5. On confirmation page, click on the group chat avatar
6. Click View avatar
7. Refresh the page
Expected Result:
Avatar will load after refreshing the page
Actual Result:
Avatar loads infinitely when refreshing full screen avatar on confirmation page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6547681_1721434123139.gorup_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @RachCHopkinsThe text was updated successfully, but these errors were encountered: