Onboarding: capture accounting system name for Other#96160
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 |
885b7d8 to
62a15bd
Compare
|
FYI :- Failing jest tests are unrelated to this PR. Thanks! |
|
@ahmedGaber93 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62a15bd735
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Explanation of Change
Adds an optional accounting-software name input when an onboarding user selects
Other. The name is stored separately from the existinguserReportedIntegration: 'other'value, trimmed, and sent asuserReportedIntegrationNamewithCreateWorkspaceandCompleteGuidedSetuponly when Connections remains enabled and the name is non-empty.The accounting screen reveals the input without automatically focusing it or forcing the options viewport to scroll. The option grid remains stationary, the top row stays visible, and the responsive card layout does not shift when the content becomes scrollable.
Fixed Issues
$ #93290
PROPOSAL: #93290 (comment)
Tests
Other.Your accounting softwareinput appears below the option grid without automatically receiving focus, moving the cards, clipping the first row, or being hidden behind the fixed Continue footer.Acme Booksand press Continue.CreateWorkspaceandCompleteGuidedSetuprequests keepuserReportedIntegration: 'other'and includeuserReportedIntegrationName: 'Acme Books'.userReportedIntegrationName.Otherand a blank/whitespace-only input. Verify onboarding can continue and neither request includesuserReportedIntegrationName.Otherdoes not jump or force-scroll the options viewport, the first row remains visible, the input remains reachable above the footer, and the option cards retain their widths and spacing. On a genuinely constrained viewport, verify the screen can still be scrolled manually to the input.Offline tests
Other, enterAcme Books, and press Continue.userReportedIntegration: 'other'withuserReportedIntegrationName: 'Acme Books'.QA Steps
Otherand verify theYour accounting softwareinput is fully visible above the footer.Acme Books, continue with Connections enabled, and complete onboarding.userReportedIntegration: 'other'anduserReportedIntegrationName: 'Acme Books'.None, and a blankOtherinput; verifyuserReportedIntegrationNameis omitted in all three cases.Otherdoes not automatically focus the input, jump or force-scroll the options viewport, clip the first row, change the card spacing, or hide the input behind the footer. On a genuinely constrained viewport, verify the input remains reachable through manual scrolling.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified)Designlabel and/or tagged@Expensify/designso the design team can review the changes.Teststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
1784110647273871-compressed.mp4