-
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
Refactor LogInWithShortLivedAuthTokenPage
to a functional component
#20112
Refactor LogInWithShortLivedAuthTokenPage
to a functional component
#20112
Conversation
@abdulrahuman5196 @srikarparsi One of you needs to 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/VideosWebUntitled.1.mp4Mobile Web - Chromeaz_recorder_20230604_214635.mp4Mobile Web - SafariN/A DesktopN/A iOSN/A AndroidN/A |
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.
Changes looks good and works well. Reviewers checklist also complete.
All yours @srikarparsi
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 to me
✋ 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/srikarparsi in version: 1.3.24-0 🚀
|
@francoisl we found this issue on mWeb (Android Chrome browser) #20275, added the deploy blocker label since I'm unsure if this should qualify as a DB or not since the same flow cannot be reproduced in production. |
I think it's the behaviour even without this change. I think the time delay is for the api to return information about the workspaces present. Even during c+ review same behaviour was observed. |
Yep thanks for checking. Commented on the issue and commenting here as well for visibility - this is not a blocker. |
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.24-5 🚀
|
Details
Refactor
LogInWithShortLivedAuthTokenPage
into a function component.Fixed Issues
$ #16237
Tests
1. Desktop Web
2. mWeb Android
localhost:8080/transition?...
, manually update the URL to10.0.2.2:8080/transition?...
Offline tests
N/A, must be online to sign in
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-06-02.at.5.22.18.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-06-02.at.5.00.35.PM.mov
Mobile Web - Safari
N/A, flow not supported for mWeb Safari
Desktop
N/A, transition not supported
iOS
N/A, transition not supported
Android
N/A, transition not supported