-
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
Display not found page for invalid magic code #52407
Conversation
@DylanDylann 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] |
const signInHere = useCallback(() => Session.signInWithValidateCode(accountID, code), [accountID, code]); | ||
const {translate} = useLocalize(); | ||
|
||
const isInvalidValidateCode = !ValidationUtils.isValidValidateCode(code); | ||
|
||
if (isInvalidValidateCode) { |
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.
@mkzie2 I prefer to use FullPageNotFoundView as a wrapper for cleaner. Could you help to update it?
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.
@DylanDylann I updated.
@mkzie2 let's hide the back button on the wide screen like this App/src/pages/home/ReportScreen.tsx Line 737 in a6f1348
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-11-15.at.12.20.45.moviOS: NativeiOS: mWeb SafariScreen.Recording.2024-11-15.at.12.19.27.movMacOS: Chrome / SafariScreen.Recording.2024-11-15.at.12.18.09.movMacOS: DesktopScreen.Recording.2024-11-15.at.12.21.51.mov |
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.
great!
✋ 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/dangrous in version: 9.0.64-0 🚀
|
QA mentions that this isn't working on native, posted here |
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.64-4 🚀
|
@mkzie2 Please update step to exclude the native platform |
@DylanDylann Updated. |
Explanation of Change
Display not found page for invalid magic code
Fixed Issues
$ #52124
PROPOSAL: #52124 (comment)
Tests
https://dev.new.expensify.com:8082/v/18364878/6236**93
Offline tests
None
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
https://staging.new.expensify.com/v/18364878/6236**93
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
Android: mWeb Chrome
Screen.Recording.2024-11-12.at.22.30.06.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-11-12.at.22.32.03.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-12.at.22.28.04.mov
MacOS: Desktop
Screen.Recording.2024-11-12.at.22.43.11.mov