-
Notifications
You must be signed in to change notification settings - Fork 3k
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: back button after deleting expense #44537
fix: back button after deleting expense #44537
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] |
@mountiny I've opened it to fix it ASAP, but it will probably require a fix in |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-15.at.6.35.31.PM.movAndroid: mWeb ChromeScreen.Recording.2024-07-15.at.6.34.05.PM.moviOS: NativeScreen.Recording.2024-07-15.at.6.30.53.PM.moviOS: mWeb SafariScreen.Recording.2024-07-15.at.6.26.34.PM.movMacOS: Chrome / SafariScreen.Recording.2024-07-05.at.12.54.07.PM.movMacOS: DesktopScreen.Recording.2024-07-05.at.12.58.28.PM.mov |
Hey, do you have any update @allroundexperts? |
Yep, I'll complete this today. |
@allroundexperts let us know if you need to reassign |
@kosmydel This does not seem to work on iOS Safari. Screen.Recording.2024-07-05.at.1.03.41.PM.mov |
Same thing on native iOS Screen.Recording.2024-07-05.at.1.09.50.PM.mov |
@allroundexperts great catch! In this case, I think we can just wait for this PR to get merged, as it removes the |
Hm... so we should change this PR to hold? |
@allroundexperts no need, we've just merged the PR you were refering to 🚀. |
I've merged the main and quickly retested. The above issues don't exist anymore, as the delete button was deleted in the three dot menu. |
This is still not working as expected @kosmydel. Screen.Recording.2024-07-07.at.9.17.27.PM.mov |
EDIT: I cannot reproduce it without refreshing the webpage. When you start the flow from the LHN list, does the bug occur? Is it reproducible on the main? Video
Screen.Recording.2024-07-08.at.09.54.42.movMy PR didn't affect this part, as its scope was to fix navigation after deleting the expense. |
@kosmydel Hm... without this, how can I test the PR? |
@allroundexperts After merging the main I'm unable to reproduce this issue. Could you try once again or provide detailed reproduction steps? Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-07-09.at.18.37.38.mp4 |
Friendly bump @allroundexperts |
This comment was marked as outdated.
This comment was marked as outdated.
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.
Works good!
Can we fix conflicts? |
@youssef-lr conflicts fixed, I've merged with the newest main. |
@youssef-lr looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
Reviewer checklist passed. |
✋ 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/youssef-lr in version: 9.0.8-1 🚀
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.8-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.8-6 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.9-5 🚀
|
Details
This PR fixes the back button after deleting the expense. This might need a follow-up with a more general solution.
In this PR we moved the
Delete
button from the three-dot menu to RHP. To correctly navigate, we have to call the additionaldismissModal
method.It might be fixed in the
goBack
method, but currently navigation team is busy with other issues with higher priority. They can fix it as a follow-up.Fixed Issues
$ #44199
PROPOSAL: N/A
Tests
Offline tests
N/A
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.mov
Android: mWeb Chrome
mWebAndroid.mov
iOS: Native
iOS: mWeb Safari
ios.mp4
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov