-
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: app crash when clicking on not found policy #48390
Conversation
@dukenv0307 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-04.at.22.39.12.movAndroid: mWeb ChromeScreen.Recording.2024-09-04.at.22.35.40.moviOS: NativeScreen.Recording.2024-09-04.at.22.40.27.moviOS: mWeb SafariScreen.Recording.2024-09-04.at.22.34.48.movMacOS: Chrome / SafariScreen.Recording.2024-09-04.at.22.29.54.movMacOS: DesktopScreen.Recording.2024-09-04.at.22.46.38.mov |
@daledah I found the bug: The not found modal is dismissed immediately after opening it. I think it's not related to this issue, can you help check again? Thanks |
Still investigating, will give an update today |
@dukenv0307 I think this is expected behavior, as in App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 357 to 360 in ae47166
and App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 373 to 385 in ae47166
When the policy is not found, then any RHP Flow will be dismissed. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Details
Fixed Issues
$ #47946
PROPOSAL: #47946 (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
Screen.Recording.2024-09-02.at.14.43.43.mov
Android: mWeb Chrome
Screen.Recording.2024-09-02.at.14.39.43.mov
iOS: Native
Screen.Recording.2024-09-02.at.14.55.24.mov
iOS: mWeb Safari
Screen.Recording.2024-09-02.at.14.53.23.mov
MacOS: Chrome / Safari
Screen.Recording.2024-09-02.at.14.36.09.mov
MacOS: Desktop
Screen.Recording.2024-09-02.at.15.01.14.mov