-
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
[CP Staging] Fix back navigation after delete expense request in search transcation pane RHP #44372
Conversation
… RHP Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
@aimane-chnaif 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] |
Signed-off-by: Tsaqif <tsaiinkwa@yahoo.com>
@luacmartins The current behavior in the central pane report after a user deletes an expense is as follows: if there is a message in the transaction thread, the report won't be removed and will stay in that thread, not navigating to the parent report. If there is no reply, it will navigate to the parent report. In my PR, the behavior is similar: when there is no reply, the modal will be dismissed to go back to the search page. If there is a reply in the thread, the modal will not be dismissed. If we want to dismiss the modal regardless of whether there is a reply in the thread or not, I will make a modification. delete-expense-d.mp4 |
@tsa321 I think that looks good for the purpose of this CP |
Reviewer Checklist
Screenshots/VideosAndroid: NativesearchRHPAndroid.mp4Android: mWeb ChromesearchRHPAndroidmWeb.mp4iOS: NativesearchRHPiOS.mp4iOS: mWeb SafarisearchRHPiOSmWeb.mp4MacOS: Chrome / SafarisearchRHPChrome1.mp4searchRHPChrome2.mp4MacOS: DesktopsearchRHPDesktop.mp4 |
When a expense report with comments is deleted from the Report Details Page, it should navigate to the expense report with comments. Currently, the Report Details Page remains on the right-hand panel (RHP). This behaviour is same on Apart from this everything looks good to me. cc: @mountiny |
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.
LGTM!
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.
LGTM
[CP Staging] Fix back navigation after delete expense request in search transcation pane RHP (cherry picked from commit 4cc548e)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.0.1-18 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.1-19 🚀
|
Details
Fixed Issues
$ #44212
PROPOSAL: #44212 (comment)
Tests
Offline tests
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
android-native-d.mp4
Android: mWeb Chrome
android-mweb_d.mp4
iOS: Native
ios-native_d.mp4
iOS: mWeb Safari
ios-msfari_d.mp4
MacOS: Chrome / Safari
macos-web-d.mp4
MacOS: Desktop
macos-desktop_d.mp4