fix offline indicator not show in mobile#24164
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@shawnborton @eVoloshchak 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] |
|
@eVoloshchak PR is ready for review. Please have a look, ty 😄 |
There was a problem hiding this comment.
@hungvu193, can we just wrap BaseModal with the screen wrapper? That would add offline indicator to all the modals
There was a problem hiding this comment.
@eVoloshchak I don't think we should, BaseModal is also being used for ConfirmModal as well, that's being said, if we wrapped it with ScreenWrapper, we can also see the OfflineIndicator at the bottom of it.
The best way to do that is wrapping ScreenWrapper with any modal that's full screen modal.
There was a problem hiding this comment.
The best way to do that is wrapping ScreenWrapper with any modal that's full screen modal
Is there a way we could detect that? The current approach is also fine, but I'm wondering if we could have a more universal solution
There was a problem hiding this comment.
I think we can update the document, every time we create a new full screen modal, we should wrap their content inside ScreenWrapper like we're doing that with our normal screens. There are only few full screen modals in our app, so I think the current approach is just fine.
@hungvu193, QA team members aren't developers, they might not know where those components are used and how to get to them.
|
Thanks for reminding me @eVoloshchak 👍 . Updated the steps |
|
@hungvu193 there's a related issue where the offline indicator is not showing on the Profile > Personal Details > Country & State screen (GH issue). Do you know if they are the same root cause and will this PR fix that issue as well? |
@sakluger yes. This pr fixed it as well |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-08-10.at.18.41.51.movMobile Web - Chromescreen-20230810-184505.mp4Mobile Web - SafariScreen.Recording.2023-08-10.at.19.07.51.movDesktopScreen.Recording.2023-08-10.at.19.10.49.moviOSScreen.Recording.2023-08-10.at.19.09.20.movAndroidscreen-20230810-190242.mp4 |
|
@hungvu193, could you resolve the conflicts please? |
Sure, resolving now... |
|
Oh thank you, updated it as well! |
There was a problem hiding this comment.
I think this was a merge that went wrong, we shouldn't change this file here😅
There was a problem hiding this comment.
yeah, right. Let me reset it 😂
|
✋ 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/arosiclair in version: 1.3.54-0 🚀
|
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.3.54-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.54-13 🚀
|
Details
Fix offline indicator not show in mobile
Fixed Issues
$ #23165
PROPOSAL: #23165 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
hfaz.mov
Mobile Web - Chrome
1080.mov
Mobile Web - Safari
477.mov
Desktop
hfaz.mov
iOS
Android
1080.mov