fix: up-to-edit feature on message with attachment#52745
fix: up-to-edit feature on message with attachment#52745stitesExpensify merged 1 commit intoExpensify:mainfrom
Conversation
|
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@daledah Please add |
|
@stitesExpensify, the up-to-edit feature does not work when offline for message contains an embedded image. The same behavior is observed in production as well(attached video below). I believe this happens because the staging-up-to-edit-not-works-on-offline.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb Chromemweb-chrome.moviOS: NativeiOS.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdeskto.mov |
|
Hm.. I feel like that needs to be fixed here too. If it works for regular messages then it should work for images as well |
Agree with this. @daledah Please look into this issue |
|
@jayeshmangwani @stitesExpensify In #40400 we can see that the expected behavior is to prevent edit when attachment is uploading. cc @hoangzinh since you encountered this bug before and requested fixing in #45043 (comment) |
|
Based on these regression steps, I guess we're expecting while sending attachment with text, we won't be allowed to edit. Unsure if it's changed somewhere |
|
Thanks for the help, @hoangzinh. @stitesExpensify Based on this issue's regression steps, we currently do not allow edits to messages until the attachment is fully uploaded when an attachment and text are being uploaded together. Are we good to change that behavior, or should we proceed with the existing behavior? |
|
I think proceeding with the existing behavior makes sense in this case. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/stitesExpensify in version: 9.0.68-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.68-7 🚀
|
Explanation of Change
Fixed Issues
$ #52319
PROPOSAL: #52319 (comment)
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-11-19.at.17.28.58.mp4
Android: mWeb Chrome
Screen.Recording.2024-11-19.at.17.25.34.mp4
iOS: Native
Screen.Recording.2024-11-19.at.17.24.20.mov
iOS: mWeb Safari
Screen.Recording.2024-11-19.at.16.37.46.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-19.at.16.13.45.mov
MacOS: Desktop
Screen.Recording.2024-11-19.at.17.34.23.mov