feat: add legal name step subheader, validate PMB addresses, and update address step subheader copy for VBBA#92289
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@dannymcclain @marufsharifi 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 85a48293b2
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@samranahm, tests failed; could you please check? thanks. |
|
Codex Review: Didn't find any major issues. 🚀 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@marufsharifi all test passing please take a look. |
|
@samranahm, could you please check this. |
ReviewOverall this looks solid: the implementation matches the expanded scope agreed in the issue thread (legal-name subtitle plus the address-copy update and PO box / PMB validation that 1. Changing the shared
|
|
@marufsharifi The Codecov decrease isn't an actual case here The only logic change is in
The |
|
@clarajones-expensify |
|
@samranahm oo that is a great question. can you make it so that if the address only contains an emoji, it will still say |
|
@marufsharifi Done. |
|
Doing a re-test. thanks |
|
@heyjennahay, could you please check this when you get a chance? thanks. |
|
Thanks for confirmation @heyjennahay, I'll update the copy in both locations shortly. |
…der-on-address-and-name-step
…rences in the Beneficial Owner Details forms.
|
Merging main to fix flaky test. |
|
@marufsharifi Could you take another look at this PR please when you get a chance. |
|
I am checking this again. thanks. |
|
LGTM |
|
@marufsharifi PR reviewer checklist check is failing. Maybe the one you used wasn't up to date? Check here https://raw.githubusercontent.com/Expensify/App/main/contributingGuides/REVIEWER_CHECKLIST.md |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 justinpersaud has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/justinpersaud in version: 9.4.19-1 🚀
Bundle Size Analysis (Sentry): |
|
🤖 I reviewed the changes in this PR and confirmed that help site updates are required. This PR changes user-facing copy and validation in the verified business bank account (VBBA) setup flow:
The existing help article Draft help site PR: #94501 It applies the
@samranahm, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
Deploy Blocker #94519 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.4.19-5 🚀
|
Explanation of Change
Fixed Issues
$ #92019
PROPOSAL: #92019 (comment)
Tests
Please enter your full legal name as it appears on your ID.A physical address is required. PO boxes and mail drops are not accepted.PO Box 123) or a PMB address (e.g.PMB #123) and verify the inline error is:A physical address is required. PO boxes and mail drops are not accepted.Please enter a valid street address.Offline tests
QA Steps
Same as test
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))npm run compress-svg)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.Native.mp4
Android: mWeb Chrome
Android.mWeb.Chrome.mp4
iOS: Native
IOS.Native.mp4
iOS: mWeb Safari
IOS.mWeb.Safari.mp4
MacOS: Chrome / Safari
macOS.Chrome.mp4