Fix Issue 24522: User should not access add debit card with no permissions#25652
Conversation
|
@thesahindia Please 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] |
|
@thesahindia Thank you for your comments! I will fix them right now. Would you ne able to advice me how to fix mapbox issues for the tests? Locally, I do generate a token, but for a pull request, I am unable to fix it. PS: I would be very grateful, if we can merge the pull request within three days, ideally tomorrow or today evening! Thank you so much |
Well, I found the linting, tests are failing for everyone not only this PR: https://expensify.slack.com/archives/C01GTK53T8Q/p1692671810391089 I will fix the comments and be back to you! |
Fix tests issues related to mapbox
|
Hey @thesahindia, I have fixed all tests, checks, and your comments. Also, I have received a lint issue, which was triggered that my return statements is written before hooks. I just reorganized the code, and all working fine. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-08-24.at.12.32.08.AM.movMobile Web - ChromeScreen.Recording.2023-08-24.at.12.39.59.AM.movMobile Web - SafariScreen.Recording.2023-08-24.at.12.46.47.AM.movDesktopiOSAndroid |
| return errors; | ||
| }; | ||
|
|
||
| if (!Permissions.canUseWallet(props.betas)) { |
There was a problem hiding this comment.
Not A Blocker, but it would have been nice to add a comment explaining why this block is here. Perhaps you can do that in a followup 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.58-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀
|
|
🚀 Deployed to staging by https://github.com/flodnv in version: 1.3.59-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀
|
Details
Fixed Issues
$ #24522
PROPOSAL: #24522 (comment)
Tests
QA Steps
Same as tests.
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
Screencast.from.21.2023.+01.07.40.37.webm
Mobile Web - Chrome
WhatsApp.Video.2023-08-22.at.04.41.04.mp4
Mobile Web - Safari
WhatsApp.Video.2023-08-22.at.04.41.02.mp4
Desktop
Screencast.from.22.2023.+01.04.02.43.webm
iOS
Screencast.from.22.2023.+01.03.48.36.webm
Android