Show a warning when a user attempts to logout when offline#12596
Conversation
f00240c to
cbfb5cf
Compare
…-warning # Conflicts: # src/languages/en.js # src/languages/es.js
|
@Santhosh-Sellavel @techievivek 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] |
|
Reviewing this now! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2022-11-24.at.11.12.09.PM.movMobile Web - ChromeScreen.Recording.2022-11-24.at.11.38.17.PM.movMobile Web - SafariRPReplay_Final1669313277.MP4DesktopScreen.Recording.2022-11-24.at.11.17.05.PM.moviOSIgnore flicker its because unable to keep simulator offlineSimulator.Screen.Recording.-.iPhone.14.-.2022-11-24.at.23.32.13.mp4AndroidScreen.Recording.2022-11-24.at.11.33.43.PM.mov |
Santhosh-Sellavel
left a comment
There was a problem hiding this comment.
Looks good, and tests well!
|
@MariaHCD While testing this I noticed after going offline that If I switched to a chat I never opened recently (In a new session i.e after signout & sign-in) I find those reports are loading forever is this a bug that should be reported or is it expected? As this issue is not introduced or related to this approved this one. |
Oh, interesting. I'm not sure if that's expected or a bug. Probably best to report in slack. |
techievivek
left a comment
There was a problem hiding this comment.
Just tested this and works well. I also looked into what @Santhosh-Sellavel experienced and that does seem like a bug(for an unopened chat if we try opening them after going offline it loads forever). We should bring this to the discussion.
|
✋ 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 @techievivek in version: 1.2.32-0 🚀
|
|
🚀 Deployed to production by @luacmartins in version: 1.2.32-2 🚀
|
|
🚀 Deployed to production by @luacmartins in version: 1.2.32-2 🚀
|
Details
Fixed Issues
$ #11850
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Sign outon the confirmation dialogQA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarhave been tested & I retested again)/** 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)Screenshots
Web
Screen.Recording.2022-11-21.at.6.23.01.PM.mov
Mobile Web - Chrome
XRecorder_23112022_161522.mp4
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.-.2022-11-23.at.18.14.25.mp4
Desktop
Screen.Recording.2022-11-21.at.6.44.21.PM.mov
iOS
Simulator.Screen.Recording.-.iPhone.14.-.2022-11-23.at.17.54.01.mp4
Android
XRecorder_23112022_164052.mp4