Skip to content

Show employee size sub-selection (1-4, 5-10) for VSB qualifier users - #91748

Merged
luacmartins merged 26 commits into
mainfrom
claude-vsbEmployeeSizeSubselection
Jun 3, 2026
Merged

luacmartins merged 26 commits into
mainfrom
claude-vsbEmployeeSizeSubselection

Conversation

@MelvinBot

@MelvinBot MelvinBot commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Explanation of Change

When users select the "1-9 employees" option on the Web-Expensify landing page (which sets the vsb signup qualifier), the onboarding flow previously skipped the employee count step entirely and auto-assigned MICRO (1-10) as their company size. This meant we couldn't distinguish between 1-4 and 5-10 employee teams for guide assignment purposes.

This PR changes the VSB flow so that instead of skipping the employee count step, users are shown a filtered employee size selection page with only two options: 1-4 and 5-10. This gives us the granularity needed for proper guide assignment (1-4 → Concierge, 5-10 → human Guide) without requiring any changes to the Web-Expensify landing page.

Changes:

  • OnboardingFlow.ts: Stop auto-setting companySize to MICRO for VSB users; route them to the EMPLOYEES page instead of ACCOUNTING
  • BaseOnboardingEmployees.tsx: Filter company size options to only show 1-4 and 5-10 for VSB-qualified users
  • getOnboardingStepCounter.ts: Add EMPLOYEES to the VSB step counter sequence so progress bar is accurate
  • BaseOnboardingAccounting.tsx: Show back button on accounting page for VSB users (since they now go through EMPLOYEES first); remove unused isVsb variable

Fixed Issues

$ https://github.com/Expensify/Expensify/issues/613539

Tests

  1. Ensure you are signed out of New and Classic Expensify
  2. Go to expensify.com.dev, enter a new email, and choose the 1-9 employees option on the landing page, then sign up
  3. Verify you are redirected to New Expensify
  4. Verify the onboarding modal appears
  5. Proceed until you reach the company size page
  6. Verify the only two options are 1-4 and 5-10
  7. Select one
  8. Verify the accounting page is shown next
2026-05-27_07-23-06.mp4
  • Verify that no errors appear in the JS console

Offline tests

No offline-specific behavior changes — signup qualifiers are written during online signup and read from the locally-cached onboarding NVP afterwards.

QA Steps

Same as tests but on staging

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

The changes are platform independent. Please see the testing video above.

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari

When users select the 1-9 employee bracket on the Web-Expensify
landing page (VSB signup qualifier), instead of skipping the
employee count step, route them to a filtered employees page
showing only 1-4 and 5-10 options.

Changes:
- Stop auto-setting companySize to MICRO for VSB users
- Route VSB users to EMPLOYEES page instead of ACCOUNTING
- Filter company size options to only 1-4 and 5-10 for VSB
- Add EMPLOYEES to VSB step counter sequence
- Show back button on accounting page for VSB users
- Hide back button on employees page for VSB users (first step)

Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team May 26, 2026 18:28
Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Fixed the failing checks. The tests in OnboardingFlowTest.ts and getOnboardingStepCounterTest.ts were still expecting the old VSB flow (without the EMPLOYEES step). Updated them to include EMPLOYEES in the VSB onboarding sequence, matching the implementation changes in this PR.

Both test files now pass locally (71 tests total).

Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Fixed the failing ESLint check: removed the unused onboarding variable from BaseOnboardingAccounting.tsx (it was left behind after isVsb was removed).

@MelvinBot

Copy link
Copy Markdown
Contributor Author

The two failing checks (ESLint + Jest) were already fixed in the latest commits:

  • e2bb0d8: Updated test expectations to include the EMPLOYEES step in VSB onboarding flows (fixes 5 Jest failures)
  • c160a67: Removed unused onboarding variable from BaseOnboardingAccounting.tsx (fixes ESLint error)

ESLint is already passing on the latest run. Jest tests are still in progress and should pass with the updated expectations.

@codecov

codecov Bot commented May 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
...Navigation/helpers/getOnboardingRouteFromScreen.ts 100.00% <100.00%> (ø)
src/libs/actions/Welcome/OnboardingFlow.ts 81.08% <100.00%> (-0.17%) ⬇️
.../OnboardingAccounting/BaseOnboardingAccounting.tsx 1.81% <ø> (+0.09%) ⬆️
...rdingPrivateDomain/BaseOnboardingPrivateDomain.tsx 50.00% <100.00%> (-1.32%) ⬇️
...es/OnboardingWorkEmail/BaseOnboardingWorkEmail.tsx 81.48% <100.00%> (+0.75%) ⬆️
...ilValidation/BaseOnboardingWorkEmailValidation.tsx 95.23% <100.00%> (+2.05%) ⬆️
.../OnboardingWorkspaces/BaseOnboardingWorkspaces.tsx 97.36% <100.00%> (-0.07%) ⬇️
src/libs/getOnboardingStepCounter.ts 96.72% <83.33%> (-3.28%) ⬇️
...es/OnboardingEmployees/BaseOnboardingEmployees.tsx 90.74% <86.36%> (-3.20%) ⬇️
... and 11 files with indirect coverage changes

neil-marcellini and others added 6 commits May 27, 2026 06:58
Force VSB/SMB users back to the employees step when they resume without
a valid company size, and surface an error on More Features instead of
silently ignoring Continue.

Co-authored-by: Cursor <cursoragent@cursor.com>
Private domain and workspaces flows still sent VSB users directly to
accounting after the name step, skipping the new 1-4 / 5-10 selection.

Co-authored-by: Cursor <cursoragent@cursor.com>
Navigation fixes in upstream onboarding pages already route VSB/SMB
users through the employees step, so page-level redirects and error UI
are unnecessary.

Co-authored-by: Cursor <cursoragent@cursor.com>
Only redirect to the employees step when resuming at accounting or
interested-features without a valid company size, or on a fresh start
without accessible domain policies.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

The TypeScript and ESLint failures were already fixed by commits after 78d3ddd6. CI just didn't re-run those checks. I pushed an empty commit to retrigger all CI checks.

The iOS build failure was unrelated (CocoaPods CDN rate limiting — 429 Too Many Requests).

neil-marcellini and others added 6 commits May 27, 2026 07:28
Replace nested redirect helpers with small named checks for company size
need, fresh start, and steps past employees.

Co-authored-by: Cursor <cursoragent@cursor.com>
Revert to main's simple initial path logic; VSB now routes to employees
instead of accounting since company size is no longer auto-assigned.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
Use the onboarding step counter instead of the VSB signup qualifier so
users with a domain prefix still see the back button.

Co-authored-by: Cursor <cursoragent@cursor.com>
…B users

The test expected VSB skip to navigate to onboarding/accounting, but the
PR intentionally changed this flow to navigate to onboarding/employees
(matching the SMB behavior) for employee size sub-selection.

Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
…om/Expensify/App into claude-vsbEmployeeSizeSubselection

Co-authored-by: Neil Marcellini <neil-marcellini@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai.

Run details

neil-marcellini and others added 2 commits May 27, 2026 08:11
Cover the VSB-only company size options and back button visibility when
employees is or is not the first step in the onboarding flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
@neil-marcellini
neil-marcellini marked this pull request as ready for review May 27, 2026 15:25
@neil-marcellini
neil-marcellini requested a review from a team as a code owner May 27, 2026 15:25
@melvin-bot
melvin-bot Bot requested review from jjcoffee and trjExpensify and removed request for a team May 27, 2026 15:25
…DING directly

Import OnboardingScreen from getOnboardingStepCounter instead of duplicating it,
and remove the ONBOARDING alias from tests in favor of SCREENS.ONBOARDING.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

I analyzed the failing checks. Neither requires a code change — this PR's diff is correct as-is.

test (job 4) — flaky timeout, not caused by this PR

The failure is in tests/ui/PaginationTest.tsx, which is not in this PR's diff. This PR only touches onboarding files (OnboardingEmployees, OnboardingWorkEmail, navigation helpers, and their tests) — nothing related to chat message pagination.

The failure signature: the first test (opens a chat and load initial messages) exceeded the 120s timeout, and the next two cascaded — the standard symptom of a prior test in the suite timing out and tearing down the renderer. All 2454 other tests passed; only these 3 in a single suite failed.

This is a known CI flake: the exact same PaginationTest 120s timeout just hit an unrelated PR (#92387, which only removed a CSS display property from an anchor renderer), and I confirmed there that the suite passes locally. A timeout in a pagination test cannot be caused by onboarding changes. Per policy I don't push code for unrelated/flaky failures. Re-running test (job 4) should clear it.

Why I couldn't post a fresh local run here

The local node_modules in this environment is stale relative to the branch (missing the newly-added react-native-nitro-fetch dependency), so the suite fails at setup before any test runs, and npm install is blocked in this sandbox. CI installs deps fresh, which is why the suite ran (and timed out) there. The classification rests on: (1) the file isn't in the PR diff, (2) the identical failure on an unrelated PR that I verified passes locally, and (3) the timeout-then-cascade signature.

checklist — PR Reviewer Checklist (expected)

This is the human-only PR Reviewer Checklist, failing only because the boxes aren't ticked. That's expected until a reviewer completes it.

@MelvinBot

Copy link
Copy Markdown
Contributor Author

I analyzed the two failing checks. Neither requires a code change to this PR.

test (job 4) — flaky timeout, not caused by this PR

The failure is in tests/ui/PaginationTest.tsx, which is not part of this PR's diff (this PR only touches onboarding files). The first test exceeded the 120s timeout and the next two cascaded — the standard symptom of an earlier test in the suite timing out and tearing down the renderer:

FAIL tests/ui/PaginationTest.tsx (213.551 s)
  ● Pagination › opens a chat and load initial messages
    thrown: "Exceeded timeout of 120000 ms for a test."
  ● Pagination › opens a chat and load older messages
  ● Pagination › opens a chat and load newer messages
Test Suites: 1 failed, 100 passed, 101 total

Every other suite passed, including this PR's own onboarding tests (OnboardingEmployees, WorkEmailOnboarding, WorkspaceOnboarding, OnboardingFlowTest, etc.). This same PaginationTest timeout is currently flaking across unrelated PRs — I confirmed it passes locally on a clean run (3/3 in ~91s) just earlier today. Per policy I don't push code for unrelated/flaky failures. Re-running test (job 4) should clear it.

checklist — PR Reviewer Checklist (expected)

This is the human-only PR Reviewer Checklist, failing only because the boxes aren't ticked. The reviewer should complete it; nothing to fix in the code.

@luacmartins luacmartins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luacmartins

luacmartins commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
Android: mWeb Chrome
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari

@luacmartins
luacmartins merged commit 6e652d3 into main Jun 3, 2026
36 of 37 checks passed
@luacmartins
luacmartins deleted the claude-vsbEmployeeSizeSubselection branch June 3, 2026 14:31
@MelvinBot

Copy link
Copy Markdown
Contributor Author

No action needed — this PR was already merged (2026-06-03 14:31 UTC) and all checks are currently passing. There are no failing or pending checks on the branch, so there's nothing to fix or push. If a check was red earlier, it has since gone green. Let me know if you intended a different PR.

@OSBotify

OSBotify commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify OSBotify mentioned this pull request Jun 4, 2026
100 tasks done
@OSBotify

OSBotify commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.99-0 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

Bundle Size Analysis (Sentry):

@MelvinBot

Copy link
Copy Markdown
Contributor Author

Help site review: no docs changes required

I reviewed the changes in this PR against the help site files under docs/articles. No help site updates are needed, so I did not open a docs PR.

Why: This PR changes the New Expensify onboarding/signup flow internals — it routes "1-9 employees" (VSB) signups through the company-size step with a filtered 1-4 / 5-10 sub-selection, adjusts the step counter and back-button behavior, and uses that selection for guide-assignment granularity.

The help site does not document any of the surfaces this PR touches:

  • No article walks through the signup wizard's company-size question or its options (searched for "how many employees", "company size", and the size buckets 1-4 / 5-10 / 1-9 — no matches under docs/articles).
  • The guide-assignment routing (which support contact a new account gets) is an internal/operational detail, not documented publicly. The only related public content — Navigating-New-Expensify.md (assigned support contacts / Account Managers for 10+ member subscriptions) and the Concierge articles — describes paid-subscription support assignment, which this PR does not change.

Since nothing in the published docs becomes inaccurate as a result of these changes, there is nothing to update.


@neil-marcellini, please confirm you agree that no help site changes are required for this PR. If you think a specific article should be updated, let me know which one and I'll draft the changes.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #92644 was identified to be related to this PR.

@jponikarchuk

Copy link
Copy Markdown

Deploy Blocker #92644 was identified to be related to the PR #91748 that attempted to fix this issue.

@mitarachim

Copy link
Copy Markdown

We can't check OD in the ad hoc build, so we're unable to determine which PR introduced this issue #92653. Could you please double-check whether it was introduced by #91748 ?

@mitarachim

Copy link
Copy Markdown

Deploy Blocker #92688 was identified to be related to the PR #91748 that attempted to fix this issue.

@OSBotify

OSBotify commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/lakchote in version: 9.3.99-9 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

);

const handleBackButtonPress = useCallback(() => {
const previousRoute = getPreviousOnboardingRoute(SCREENS.ONBOARDING.EMPLOYEES, onboardingFlowContext, route.params?.backTo);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

handleBackButtonPress change caused this issue #93660.

For a private-domain user with accessible policies, getDomainPrefix() always returns [PERSONAL_DETAILS, PRIVATE_DOMAIN, WORKSPACES], so the VSB flow becomes six steps, with Employees at index 3.

Because of that, when navigating back from the Employees step, the flow incorrectly goes to WORKSPACES, which results in a blank page. The expected behavior is to navigate back to PRIVATE_DOMAIN when there are no joinable workspaces.

We fix that here #95001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants