-
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
[CP Staging] fix the typo in the property name #23532
Conversation
@aimane-chnaif 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] |
Good catch! I think we should CP this as it's affecting all users every 30 min or so |
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.
Looks good!
I think I need to wait some time to confirm no longer kicked out automatically
Yes, just adding the testing steps now. |
🎯 @aimane-chnaif, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #23534. |
You can delete the authToken in the session key and that should automatically call the |
My VM is completely broken, I am trying to bring it up. Testing might be delayed. |
@aimane-chnaif @cristipaval I have added the recording for the web, can you guys please confirm this and fill the PR checklist? |
I have another test step:
Before fix: Screen.Recording.2023-07-25.at.11.18.46.AM.movAfter fix: Screen.Recording.2023-07-25.at.11.15.18.AM.mov |
Reviewer Checklist
Screenshots/VideosWebFollowed Tests step in PR description ( Screen.Recording.2023-07-25.at.11.26.21.AM.movMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
fix the typo in the property name (cherry picked from commit 88fb2ad)
🚀 Deployed to staging by https://github.com/techievivek in version: 1.3.45-2 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.45-7 🚀
|
🚀 Deployed to staging by https://github.com/techievivek in version: 1.3.47-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀
|
Details
We had a typo in the property name(so undefined is being passed to the backend for renewing the authToken), so users are logged out automatically once they hit the 407 error and the infinite session no longer works for newDot because of that.
More info here: https://expensify.slack.com/archives/C03U7DCU4/p1690273328020489
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/302718
PROPOSAL: N/A
Tests
authToken
in the session key in the Onyx to some random value.Onyx.merge("session", {authToken: "asdfadf"});
Offline tests
N/A
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Screen.Recording.2023-07-25.at.3.48.48.PM.mov
Mobile Web - Chrome
N/A
Mobile Web - Safari
N/A
Desktop
N/A
iOS
N/A
Android
N/A