fix: Search Save add Onyx optimistic and failure data#49513
Conversation
|
@allroundexperts 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-23.at.1.56.48.AM.movAndroid: mWeb ChromeScreen.Recording.2024-09-23.at.1.53.09.AM.moviOS: NativeScreen.Recording.2024-09-23.at.1.51.42.AM.moviOS: mWeb SafariScreen.Recording.2024-09-23.at.1.50.43.AM.movMacOS: Chrome / SafariScreen.Recording.2024-09-23.at.1.39.00.AM.movMacOS: DesktopScreen.Recording.2024-09-23.at.1.43.21.AM.mov |
|
BUG Optimistically created search is crossed out when deleted. For optimistic searches, we should clear them altogether. |
|
BUG Editing the name of the search is not possible while in the offline mode. |
|
BUG Optimistically deleted search remains actionable. Screen.Recording.2024-09-23.at.1.57.26.AM.mov |
|
@nkdengineer could you please address @allroundexperts comments? |
|
I'll update soon |
@allroundexperts I think it's NAB, some places in the App also do not delete Onyx data Screen.Recording.2024-09-25.at.15.31.22.mov |
I fixed it, please check again |
|
Thanks for fixing those @nkdengineer. @allroundexperts let's continue review |
|
On it again today! |
|
Oh... There are conflicts now :( |
|
@nkdengineer Can you please take care of those? |
|
@allroundexperts resolved, please check again |
|
✋ 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/luacmartins in version: 9.0.41-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.41-10 🚀
|
Details
Fixed Issues
$ #49439
PROPOSAL: #49439 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
Screen.Recording.2024-09-20.at.18.14.01.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov