style: move offline indicator closer to form in wider screens - #17705
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
recheck |
| "diff-so-fancy": "^1.3.0", | ||
| "dotenv": "^16.0.3", | ||
| "electron": "^22.3.6", | ||
| "electron": "22.3.6", |
There was a problem hiding this comment.
What's the reason for this change?
There was a problem hiding this comment.
@fabioh8010 Not me, apparently snyk-bot changed the electron dependency to avoid a vulnerability 2 days ago (cb259bc) and package-lock might not have been updated
|
LGTM 👍 |
|
RETESTS SUMMARY This fix is verified on Branch PR Draft thiagobrez:offline-feedback-position Tests are conducted on the following devices: The above tests are executed with a 100% pass value examples in video below: offline.indicator.on.desktop.mp4offline.indicator.on.native.android.mp4offiline.indicator.native.iOS.mp4Chrome 101.0.4951.74, Operating system Android13; Build/TRA4.221021.001.B1 -will be tested soon web.on.iOs.and.Android.mp4 |
|
@cristipaval @fedirjh 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/Videos |
|
Why is CLA failing here? |
|
All good now. |
|
✋ 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/cristipaval in version: 1.3.5-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.5-6 🚀
|







Details
There were 2 separate conditionals rendering
OfflineIndicatorinSignInPageContent. IfisSmallScreenWidthwas truthy, it would render the offline indicator plus the sign in hero image close to the form. If falsy, it would render only the offline indicator, pushed at the bottom of the page.I simply merged the 2 conditions into one, closer to the form, and conditionally rendered only the sign in hero image when
isSmallScreenWidthis truthy.Fixed Issues
$ #17581
PROPOSAL: #17581 (comment)
Tests
Offline tests
Same as above, since you need to go offline to test this feature.
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android