feat 22876 allow users to update the card address via update address link#28907
Conversation
This reverts commit 356f371.
Is there something wrong with translations? I havent noticed |
You changed translation key from 'homeAddress' to just 'address' - but you forgot to change it in one more place - which now cause a crash on that page #28907 (comment) |
|
@narefyev91 |
marcaaron
left a comment
There was a problem hiding this comment.
code LGTM, but we have conflicts.
|
I don't think these QA steps as written are something that QA can do. I will update them for you and mark this as |
marcaaron
left a comment
There was a problem hiding this comment.
Found a small thing while testing.
src/ROUTES.ts
Outdated
| SETTINGS_ADD_BANK_ACCOUNT: 'settings/wallet/add-bank-account', | ||
| SETTINGS_ENABLE_PAYMENTS: 'settings/wallet/enable-payments', | ||
| SETTINGS_WALLET_CARDS_DIGITAL_DETAILS_UPDATE_ADDRESS: { | ||
| route: 'settings/wallet/cards/:domain/digital-details/update-address', |
There was a problem hiding this comment.
Actually I think it should be card and not cards. Maybe it would help to use the prefix here for consistency:
Lines 74 to 75 in cb883e8
There was a problem hiding this comment.
@marcaaron @grgia
looking at the codebase we actually have more cases of /cards than /card ATM. Should I change all of them to /card?
There was a problem hiding this comment.
I'd go head and update them. Would be good to be consistent about this one.
…sers-to-update-the-card-address-via-update-address-link
|
@marcaaron could you review/merge? |
|
✋ 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/marcaaron in version: 1.3.85-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.85-4 🚀
|
|
🚀 Deployed to staging by https://github.com/marcaaron in version: 1.3.86-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.86-5 🚀
|
| SETTINGS_APP_DOWNLOAD_LINKS: 'settings/about/app-download-links', | ||
| SETTINGS_WALLET: 'settings/wallet', | ||
| SETTINGS_WALLET_DOMAINCARDS: { | ||
| SETTINGS_WALLET_DOMAINCARD: { |
There was a problem hiding this comment.
Hey, shouldn't the line below also be changed? I think you might forget changing that.
cc @MrMuzyk, @narefyev91



Details
Added
Update addresslink to allow users updating their card addressFixed Issues
$ #22876
PROPOSAL:
Tests
Add mocked data in
IntialSettingsPage.jsOffline tests
QA Steps
/settings/wallet/card/expensify.comPR 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
web.mov
Mobile Web - Chrome
android.chrome.mov
Mobile Web - Safari
ios.safari.mov
Desktop
desktop.mov
iOS
ios.native.mov
Android
android.native.mov