[CP Staging] Fix selection mode not being turned off after removing all expenses from report#66136
Closed
SzymczakJ wants to merge 1 commit intoExpensify:mainfrom
Conversation
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-07-15.at.23.03.49.mp4Screen.Recording.2025-07-15.at.22.47.05.mp4Screen.Recording.2025-07-15.at.23.37.25.mp4Android: mWeb ChromeScreen.Recording.2025-07-15.at.22.34.40.mp4iOS: HybridAppScreen.Recording.2025-07-15.at.23.21.44.mp4iOS: mWeb SafariScreen.Recording.2025-07-15.at.23.19.34.mp4MacOS: Chrome / SafariScreen.Recording.2025-07-15.at.23.04.47.mp4MacOS: DesktopScreen.Recording.2025-07-15.at.22.56.49.mp4 |
suneox
approved these changes
Jul 15, 2025
Contributor
suneox
left a comment
There was a problem hiding this comment.
I've verified that everything works as expected in the cases of deleting directly, moving, and deleting while move expense.
Contributor
Author
|
Removing expense from report was reverted yesterday, so this bug is not longer present. Merging the PR at this point has no sense. |
Contributor
|
Cool, gonna close this then |
58 tasks
58 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
This PR turns off mobile selection mode in case when user removes expense from a report and only one transaction is left.
Fixed Issues
$ #66111
PROPOSAL:
Tests
Open any workspace chat.
Submit two manual expenses.
Open the report of the just created expenses.
Long tap on any of them and select it.
Tap on the dropdown menu and select "Move Expense"
Tap on "Remove from report"
Make sure that selection mode is turned off.
Add two expenses more.
Long tap on any of them and select it.
Tap on the dropdown menu and select "Move Expense"
Tap on "Remove from report".
Make sure that selection mode is still present.
Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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: mWeb Chrome
iOS: Native
Screen.Recording.2025-07-15.at.11.21.11.mov
Screen.Recording.2025-07-15.at.11.25.09.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop