-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2023-07-17] [HOLD for payment 2023-07-12] [$1000] Attachment Carousel closes on its own when a specific image is deleted #18451
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
@flaviadefaria Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01afedd756887cbd8d |
Current assignee @flaviadefaria is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @NikkiWines ( |
Added the external label! |
ProposalPlease re-state the problem that we are trying to solve in this issue.The whole attachment modal/carousel abruptly closes (even if they scrolled to another image) when user A is viewing an image and user B deletes the message that contains the image. What is the root cause of that problem?Here
AttachmentModal is contained inside ImageRenderer so it will be deleted along side the report item when the report item is deleted.
What changes do you think we should make in order to solve the problem?We need to move
show method along with a setter function for the props of AttachmentModal (reportID , source , isAuthTokenRequired , originalFileName ) to the ImageRenderer via a context.
Inside
This approach will make sure that the What alternative solutions did you explore? (Optional)NA |
@rushatgabhane friendly bump here to review the above proposal ^^ |
woah this is kind of a big change. reviewing today |
@dukenv0307 that logically makes sense but again it's a big change. We'll have to really careful while testing. 🎀 👀 🎀 C+ reviewed |
Hmmm, for a change like this, I think it might be better to get some more thoughts on the behavior we want. I just tested this with @alex-mechler on Whatsapp and saw the following after I sent two attachments.
No change in behavior, user still sees the image they were on
User is scrolled to the previous attachment. I think we should probably follow that model and not continue to show the attachment as the "Expected Result" section of the OP shows. Gonna bring this to #expensify-open-source in slack for more discussion (discussion here) |
I agree that An approach that would allow deep linking to an attachment (I don't think App is capable of this basic feature right now) The idea is to create a new path under the report route for attachments, something like: This way thumbnails rendered by the |
I'm OoO for 8 days so re-adding the BUG label, but keeping myself assigned. I'll be back at work on May 30th. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.36-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 2023-07-12. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.38-7 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 2023-07-17. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@kidroca please fill out the checklist above so that i can process the payment - thanks! |
Thanks for the bump @flaviadefaria I don't think we need a regression test, because the component structure and usage changed in a way that prevents this kind of bug from happening again, furthermore it's rare, it's not super easy to test and it does not affect important functionality |
Ok this is what I think needs to be issued as payment:
@kidroca = $1000 - 50% penalty = $500 It seems fair to me to remove the penalty due to the initial C+ getting sick so will issue payment for the full $1000 for each of you. @allroundexperts do you request payment via Expensify or should I pay you via UpWork? |
@kidroca I just sent you an offer. I also just realized you reported this bug so will issue a bonus of $250 to account for that once you accept the offer. |
Expensify works for me. Thanks @flaviadefaria! |
@allroundexperts is paid |
@kidroca you've also been paid. Closing this as complete. |
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:
Expected result:
Nothing disruptive should happen to User A’s experience. They continue to see that attachment until they close the window
Actual result:
The whole attachment modal/carousel abruptly closes (even if they scrolled to another image)
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.10
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: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/236339219-067cdc95-1b40-4b29-9d3b-4da0cbbf4650.mov
Recording.492.mp4
Expensify/Expensify Issue URL:
Issue reported by: @kidroca
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683212386358629
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: