-
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: 18183 spinner persists to magic code section #19393
Fix: 18183 spinner persists to magic code section #19393
Conversation
@Julesssss @aimane-chnaif 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] |
@tienifr let me know if it makes sense cc: @Julesssss |
@aimane-chnaif Thanks for your suggestion, but I wonder why the spinner doesn't persist to 2fa section once user enters magic code. isLoading and loadingForm will reset to null in successData/failureData at the same time |
When we click |
You mean my branch is currently wrong but magically works or not working as expected? |
No, I didn't put loading in |
@tienifr btw, you can adjust and fix while testing based on my branch. It may not be perfect but just gave idea. |
changing loadingScreen to loadingForm is good
But if we do:
When resend validation code, the loading indicator isn't shown. Is it OK? Screen.Recording.2023-05-23.at.22.49.02.movAnother problem:
That why I want to create a new function I want to know your thought @aimane-chnaif. Thanks |
@aimane-chnaif No, here's what happens on main Screen.Recording.2023-05-23.at.23.35.53.mov |
@aimane-chnaif Thanks for your suggestion. I've updated my PR. I know the reason why you want to preserve isLoading in optimisticData, because it can be used in other places. I also tested all cases and there's no regressions came from my PR, but please help check and re-test. |
@tienifr please fix conflict |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.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.
@Julesssss LGTM!
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.
Nice work!
✋ 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/Julesssss in version: 1.3.18-0 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.18-0 🚀
|
🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.18-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.18-2 🚀
|
Details
Fixed Issues
$ #18183
PROPOSAL: #18183 (comment)
Tests
Offline tests
Same as above
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-05-22.at.22.49.19.mp4
Mobile Web - Chrome
RPReplay_Final1684770967.mp4
Mobile Web - Safari
RPReplay_Final1684770823.mp4
Desktop
Screen.Recording.2023-05-22.at.23.38.46.mp4
iOS
Screen.Recording.2023-05-22.at.23.35.30.mp4
Android
Screen.Recording.2023-05-22.at.23.20.22.mp4