fix: reset background to workspace on page reload in Track Expense - #65998
Conversation
|
@hoangzinh 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] |
|
@nabi-ebrahimi did you cover the fix for the latest DB? |
Sorry, not yet. I will do it today. |
|
No worry, let me know when it's ready for next review |
@hoangzinh Thanks. The PR is read for your review. |
|
The latest DB fix. demo Screen.Recording.1404-04-24.at.2.44.27.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-07-17.at.20.42.38.android.movAndroid: mWeb ChromeScreen.Recording.2025-07-17.at.20.41.20.android.chrome.moviOS: HybridAppScreen.Recording.2025-07-17.at.21.13.21.ios.moviOS: mWeb SafariScreen.Recording.2025-07-17.at.21.15.21.movMacOS: Chrome / SafariScreen.Recording.2025-07-17.at.20.03.17.web.movMacOS: DesktopScreen.Recording.2025-07-17.at.20.35.44.desktop.mov |
|
Oops, can you resolve conflict? @nabi-ebrahimi |
@hoangzinh Thanks for the review. I resolved the conflicts. |
|
oh, typecheck is failed |
@hoangzinh The TS error is not related to my changes. Can you please check? |
|
^ Agreed, looks like error is in |
|
@Beamanator looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
@nabi-ebrahimi, can you confirm if it also exists in main? |
|
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 9.1.84-1 🚀
|
|
Pr is fail because If you use share with my accountant from the header, the background will be WS chat. If you select the share with my accountant option from concierge message, the background will be your space bandicam.2025-07-22.01-35-22-952.mp4 |
|
@Beamanator can we work on a follow-up PR to cover the above case, or should we revert the current PR and cover the above in a new PR? |
|
@hoangzinh i think this is a weird enough flow that shouldn't happen often, we should be able to make a follow-up to cover this case, not needing to revert 👍 |
|
Thanks @Beamanator. @nabi-ebrahimi can you spin up another PR to fix the above case? |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.84-4 🚀
|
@hoangzinh I will submit the follow-up PR tomorrow morning. |
|
Thank you @nabi-ebrahimi |
Explanation of Change
Fixed Issues
$ #63117
PROPOSAL: #63117 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
share.to.acountant.mp4
Android: mWeb Chrome
Screen.Recording.1404-04-14.at.12.59.30.AM.mov
iOS: Native
Screen.Recording.1404-04-16.at.10.22.16.AM.mov
iOS: mWeb Safari
Screen.Recording.1404-04-14.at.12.56.11.AM.mov
MacOS: Chrome / Safari
Screen.Recording.1404-04-14.at.12.47.44.AM.mov
MacOS: Desktop
Screen.Recording.1404-04-16.at.10.35.23.AM.mov