-
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
Clear stack before navigating to view transactions page. #55854
base: main
Are you sure you want to change the base?
Clear stack before navigating to view transactions page. #55854
Conversation
@allgandalf 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] |
@allgandalf Do we need to clear the filters as well? |
I think so, @mountiny do we ? |
@parasharrajat when should we clear the filters? |
Before we open the view transactions page, should we clear the filters on search page? |
You mean any other filters than cardID? I think yes, the only filter would be the cardID |
@parasharrajat is this PR ready with the expected result? let me know when i can start testing |
import Navigation from './Navigation/Navigation'; | ||
import {buildCannedSearchQuery} from './SearchQueryUtils'; | ||
|
||
function viewCardTransactions(cardID: string) { |
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.
Had to create a new file due to a cycling dependencies error.
@allgandalf This is ready for review. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2025-01-30.at.6.54.49.PM.movMacOS: DesktopScreen.Recording.2025-01-30.at.6.57.30.PM.mov |
Am i missing something, when i test this on iOS, i get directed to workspace initial options first : Simulator.Screen.Recording.-.Expensify.testing.-.2025-01-30.at.19.03.47.mp4 |
Ah, Shouldn't the dismissModal clear the stack in this case too? I will check. |
I was OOO. I will catch up soon with this one. |
Trying to get access to my blocked account to test this. |
@allgandalf I can't reproduce that issue after merging the main. |
Explanation of Change
Fixed Issues
$ #55707
PROPOSAL: #55707
Tests
Prerequisite:
Expensify Card
Company Card
Assigned Cards
Offline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
28.01.2025_19.33.10_REC.mp4
Android: mWeb Chrome
28.01.2025_19.38.43_REC.mp4
iOS: Native
28.01.2025_19.20.07_REC.mp4
iOS: mWeb Safari
28.01.2025_19.21.44_REC.mp4
MacOS: Chrome / Safari
28.01.2025_18.43.01_REC.mp4
MacOS: Desktop
28.01.2025_19.18.33_REC.mp4