-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix go back from details page remove the linked report action #42239
Fix go back from details page remove the linked report action #42239
Conversation
@rayane-djouah 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] |
As I mentioned in my proposal, my other PR here updated the logic to only compare the reportID which already fixes the loop navigation, but it'll still remove the reportActionID from the param, so I added a test step to make sure the report action is still linked/highlighted. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-21.at.11.50.06.AM.movAndroid: mWeb ChromeScreen.Recording.2024-05-21.at.11.56.04.AM.moviOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-21.at.11.47.19.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-21.at.11.49.12.mp4MacOS: Chrome / SafariScreen.Recording.2024-05-21.at.11.45.40.AM.movMacOS: DesktopScreen.Recording.2024-05-21.at.11.46.27.AM.mov |
@bernhardoj - Do we need to remove |
Which bug do you mean? I can see the same bug with the details page for the flag comment Screen.Recording.2024-05-18.at.12.32.55.mov |
@bernhardoj, I mean the go back button loop bug. But yeah, the linked report action is getting removed, I think we should fix that for the flag comment page also. |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Changes look good to me and test well. The reviewer checklist is also complete.
🎀👀🎀 C+ reviewed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good to me 😄 I'm putting hold as there is ongoing merge freeze
Friendly bump @hayata-suenaga |
thank you for the bump. please fix the merge conflict when you have time 🙇 |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks your fixing the conflict!
✋ 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 production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
Details
When we press go back from details page, we call navigate to the report without report action ID. This PR simply just call go back instead of navigate.
Fixed Issues
$ #41514
PROPOSAL: #41514 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-05-16.at.12.23.55.mov
Android: mWeb Chrome
Screen.Recording.2024-05-16.at.12.18.46.mov
iOS: Native
Screen.Recording.2024-05-16.at.12.08.24.mov
iOS: mWeb Safari
Screen.Recording.2024-05-16.at.12.02.28.mov
MacOS: Chrome / Safari
Screen.Recording.2024-05-16.at.12.05.47.mov
MacOS: Desktop
Screen.Recording.2024-05-16.at.12.06.08.mov