Fix closing the expensify card bank account page shows a verify animation#59351
Conversation
|
@allgandalf 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-04-01.at.3.15.51.PM.movAndroid: mWeb ChromeScreen.Recording.2025-04-01.at.3.17.15.PM.moviOS: NativeScreen.Recording.2025-04-01.at.3.10.23.PM.moviOS: mWeb SafariScreen.Recording.2025-04-01.at.3.11.29.PM.movMacOS: Chrome / SafariScreen.Recording.2025-04-01.at.3.06.43.PM.movMacOS: DesktopScreen.Recording.2025-04-01.at.3.07.29.PM.mov |
| /** Expensify cards bank account settings */ | ||
| PRIVATE_EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS: 'private_expensifyCardBankAccountSettings_', |
There was a problem hiding this comment.
This key doesn't need to follow this naming convention because it doesn't exist on the BE. So it might confuse other engineers who might think this is directly co-related to a NVP that we store in the BE. Thoughts? Do we have other Onyx keys that are solely used on the FE?
| /** Expensify cards bank account settings */ | |
| PRIVATE_EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS: 'private_expensifyCardBankAccountSettings_', | |
| /** Expensify cards bank account settings */ | |
| EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS: 'expensifyCardBankAccountSettings_', |
…g-expensify-card-ba-page
| /** Model of Expensify card bank account settings for a workspace */ | ||
| type ExpensifyCardBankAccountSettings = { |
There was a problem hiding this comment.
| /** Model of Expensify card bank account settings for a workspace */ | |
| type ExpensifyCardBankAccountSettings = { | |
| /** Model of Expensify card bank account for a workspace */ | |
| type ExpensifyCardBankAccount = { |
| /** Expensify cards bank account settings */ | ||
| EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS: 'expensifyCardBankAccountSettings_', | ||
|
|
There was a problem hiding this comment.
| /** Expensify cards bank account settings */ | |
| EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS: 'expensifyCardBankAccountSettings_', | |
| /** Expensify cards bank account for a given workspace */ | |
| EXPENSIFY_CARD_BANK_ACCOUNT: 'expensifyCardBankAccountSettings_', |
I think EXPENSIFY_CARD_BANK_ACCOUNT_SETTINGS gives the incorrect impression that we are storing bank account settings. But all we're doing is tracking whether the bank account is loading and if it was successfully added.
There was a problem hiding this comment.
Yeah, make sense. Maybe we can use METADATA like REPORT_METADATA?
EXPENSIFY_CARD_BANK_ACCOUNT_METADATA
There was a problem hiding this comment.
Nice, yeah, that would be better! 👍🏼
…g-expensify-card-ba-page
|
✋ 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/MariaHCD in version: 9.1.24-2 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.1.24-10 🚀
|
Explanation of Change
Fixed Issues
$ #59048
PROPOSAL: #59048 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
android.mp4
Android: mWeb Chrome
android.mweb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.mweb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4