Search result duplication#43164
Conversation
…he errors from success
|
@ahmedGaber93 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] |
| value: { | ||
| errorFields: { | ||
| notFound: null, | ||
| }, |
There was a problem hiding this comment.
I think you commit this change by false.
There was a problem hiding this comment.
Yeah, sorry I should add a comment on the PR, this change is because of this discussion: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1717509334788509?thread_ts=1717508731.782149&cid=C05LX9D6E07
There was a problem hiding this comment.
I didn't have access to this channel. Is there is any test steps for it?
There was a problem hiding this comment.
No, it was a bug that happen to David, and with @mountiny didn't know well how it happens. But it seems that not all the errors were cleaned up successfully.
There was a problem hiding this comment.
@gedu this change seems wrong and is incorrectly clearing all report errors. I'm intending on reverting it. I'm not sure which issue you were trying to fix with this change (I don't have access to that slack conversation either) but this is probably not the right way to fix it.
Reviewer Checklist
Screenshots/VideosAndroid: Native20240613150721241.mp4Android: mWeb Chromeaw.mp4iOS: Nativei.mp4iOS: mWeb Safariiw.mp4MacOS: Chrome / Safariw.mp4MacOS: Desktopd.mp4 |
|
@gedu Could you please add tests step? |
|
Sorry is this still WIP or ready for final review? |
|
@Beamanator, it is ready for final review |
|
Hey @ahmedGaber93 @Beamanator @gedu Looks like you're removing a good amount of logic from #40730, let's make sure we repeat the testing steps from that PR to verify we're not causing any regressions 🙇
|
Beamanator
left a comment
There was a problem hiding this comment.
Questions about test steps:
Sign into an account off Bobmeans "Sign in to Bob's account", right?One rooms should appear-> "One room should appear for each result, never duplicated"Create a Workspace as Testin1234-> Is that a specific username or email? Why is that needed? Or is this the name of the workspace? If it's just a random name, maybe say "Create a Workspace with any name, like Testin1234"- I don't see any specific tests for the error message cleanup, is one of the existing tests specifically for making sure the error messages work better?
@gedu I also don't see any videos of you testing other than MacOS: Chrome / Safari.
Also @gedu it looks like your branch https://github.com/callstack-internal/Expensify-App/tree/gedu/43094_duplicate_search_result is 1.5k commits behind E/App main, can you pull in main so we can make sure this is being tested with most up to date code? 🙏
And finally, I agree with @jasperhuangg can we get some more test steps to cover changes from this PR (#40730) so we make sure there's no regressions?
Yes, Bob's account or any account you have.
For Chorme and Safari are there, I will record for the other platforms
Yes, on may way
Adding them |
|
@Beamanator @jasperhuangg Screen.Recording.2024-06-14.at.13.32.57.mov |
|
I think this PR changes shouldn't case regression here #43164 (comment)
we arn't use @gedu PR just remove the second useEffect as no need for it now (the first useEffect handling its job now) . the only bad effect is the performance and we disscuss it in the issue page and in slack here but not found any way can help us keep the performance before #41636 changes. |
|
I confirm @gedu test for #43164 (comment), we have other issue here IOU steps not ask to create a new workspace. (tested in latest main) 20240614155913197.mp4 |
|
Added videos for all the platforms |
@gedu Please merge main into your branch I think we can simplify test steps to
|
Done, I though I did it, but never pushed sorry |
Beamanator
left a comment
There was a problem hiding this comment.
Nice, looking good! @ahmedGaber93 can you please do another quick test now that main is up to date? 🙏
|
@gedu I think we need to merge main again, because the latest main add some changes after you merge it, and this changes include fix for this issue #43164 (comment). Also, I think it will be more clear if you use the test steps here #43164 (comment) |
|
I merge main into this locally and test this issue #43164 (comment) and it works well. 20240618093040712.mp4 |
|
I found a bug, but it reproduced also on the main branch.
App sometimes not load all default reports and just load invalid Concierge chat 'Concierge in unavailable workspace' 20240618093402947.mp4 |
|
Amazing, ok ya @gedu if you could merge main 1 last time, i think we'll be good to merge 🙏 |
|
@Beamanator updated |
|
✋ 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/Beamanator in version: 1.4.86-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.4.86-0 🚀
|
|
🚀 Deployed to staging by https://github.com/Beamanator in version: 1.4.86-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.0-9 🚀
|
Details
Fixed Issues
$ #43094
PROPOSAL: #43094 (comment)
Tests
Offline tests
QA Steps
Case 1:
Case 2:
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
duplicateSearch_android.mp4
Android: mWeb Chrome
duplicateSearch_androidChrome.mp4
iOS: Native
duplicateSearch_ios.mp4
iOS: mWeb Safari
duplicateSearch_iosSafari.mp4
MacOS: Chrome / Safari
duplicateSearch_chrome.mp4
duplicateSearch_safari.mp4
MacOS: Desktop
duplicateSearch_desktop.mp4