-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Added shouldShowOfflineIndicator default props #20467
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
Conversation
|
@flodnv @thesahindia 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] |
| <ScreenWrapper | ||
| includeSafeAreaPaddingBottom={shouldShowSuccess} | ||
| shouldEnablePickerAvoiding={false} | ||
| shouldShowOfflineIndicator={false} |
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 like we will need the offline indicator here
Screen.Recording.2023-06-09.at.10.00.34.PM.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.
@thesahindia Even if I remove the props still there is no offline indicator, this bug exists on the main as well un-related to PR

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.
@thesahindia I agree we should add <FullPageOfflineBlockingView> to plaid and I found that initially this might be missed to add <FullPageOfflineBlockingView> here AddPlaidBankAccount.js but I believe this should be treated as a separate bug and treated into another PR since this PR is just about to remove the duplicate indicator
let me know if this sounds fine
Changes to add OfflineBlockingView to AddPlaidBankAccount when we have account's
App/src/components/AddPlaidBankAccount.js
Line 200 in d91fe14
| <View> |
+ <FullPageOfflineBlockingView>- Later this was found to be regression here Payments - Error message is missing after setting the only bank account as default #20565 but the above suggestion is to add
<FullPageOfflineBlockingView>which I think we need to rectify first whether this is removed or any other issue on regression
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.
I am not sure about it. I think we should handle it here. It's a simple change.
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.
cc: @flodnv for thoughts.
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.
Yes please let's just make this change here @dhairyasenjaliya
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.
- Later this was found to be regression here Payments - Error message is missing after setting the only bank account as default #20565 but the above suggestion is to add
<FullPageOfflineBlockingView>which I think we need to rectify first whether this is removed or any other issue on regression
Please always add a new comment instead of editing an existing comment, as it can often go unnoticed.
@dhairyasenjaliya, can you please add some more details? I am not sure I understand how this is related to FullPageOfflineBlockingView.
|
@thesahindia I have added FullPageOfflineBlockingView to |
Reviewer Checklist
Screenshots/Videos |
thesahindia
left a comment
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!
cc: @flodnv
flodnv
left a comment
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.
Thanks! @dhairyasenjaliya Can you please update your tests and screenshots to test all the pages you have modified in this PR? 🙏
…into offlineIndicator
|
@flodnv @thesahindia the position of the message is expected or not since the rest all have at the bottom this one is not ? |
|
I am not sure, maybe not? Maybe ask in Slack? What is causing this different behavior? 😕 |
|
@flodnv we have just missed to add
|
|
Oh, if it's easy to fix it then let's also fix it here please |
|
yeah just came in while testing all the steps again :) |
|
@flodnv @thesahindia |
thesahindia
left a comment
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.
The changes looks good to me!
cc: @flodnv
|
You have conflicts 😬 |
|
looks like position of indicator is being fixed somewhere else but conflict solved @flodnv |
b10d746 to
142b835
Compare
|
Your last commit is still not verified 😬 |
0fdf2cc to
92a82e5
Compare
|
yeah something is off im looking into |
b995581 to
ef63157
Compare
|
@flodnv conflict resolved ready to merge pr:) |
|
✋ 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/flodnv in version: 1.3.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.30-5 🚀
|










Details
Fixed Issues
$ #20004
PROPOSAL: #20004 (comment)
Tests
Test 2 (Add personal bank account)
You appears to be offlinesince here we can’t perform any step on offline modeTest 3 (Bank account plaid step)
Test 4 (Code page )
Test 5 (Verify page )
Test 6 (Success page )
Test 7 (bank account)
Offline tests
Same as above
QA Steps
Same as above steps
Verify that no errors appear in the JS console
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android
Test 2-6