-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Fix session expired errors right after login #57420
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 session expired errors right after login #57420
Conversation
@VickyStash please feel free to make this ready for a review |
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
@dominictb kicked off some builds to make it easier for you hopefully |
This comment has been minimized.
This comment has been minimized.
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-03-04.at.15.12.57.movAndroid: mWeb ChromeScreen.Recording.2025-03-04.at.15.05.51.moviOS: NativeScreen.Recording.2025-03-04.at.15.02.45.moviOS: mWeb SafariScreen.Recording.2025-03-04.at.15.08.37.movMacOS: Chrome / SafariScreen.Recording.2025-03-04.at.14.52.14.movMacOS: DesktopScreen.Recording.2025-03-04.at.15.14.13.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.
Thank you! lets give it a go
✋ 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/mountiny in version: 9.1.10-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.10-6 🚀
|
Explanation of Change
Fix session expired errors right after login for the new users, is the user was re-navigated from OD to ND.
Fixed Issues
$ #57083
PROPOSAL: #57083 (comment)
Tests
WEB:
Pre-steps:
Use one browser window and make sure you’re signed-out of any account on New Dot and Old Dot.
Steps:
https://new.expensify.com/transition?...
for transition, you need to copy it quickly and modify to navigate to DEV URL, exhttps://dev.new.expensify.com:8082/transition?...
https://dev.new.expensify.com:8082/transition?...
the user stays logged in, the app re-authenticated with theshortLivedAuthToken
.Note: don't reuse one transition link several times.
Mobile platforms (Hybrid App):
Desktop:
Offline tests
N/A
QA Steps
WEB:
Pre-steps:
Use one browser window and make sure you’re signed-out of any account on New Dot and Old Dot.
Steps:
Mobile platforms (Hybrid App):
Desktop:
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.mp4
Android: mWeb Chrome
android_web.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios_web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4