Skip to content

fix(super-admin): clarify the LLM step and suggest the organization name in the install wizard (OHE-3906) - #1189

Merged
hieptl merged 3 commits into
mainfrom
hiep/ohe-3906-onboarding-ux-clarify-first-time-setup-controls-on-the
Nov 5, 2026
Merged

hieptl merged 3 commits into
mainfrom
hiep/ohe-3906-onboarding-ux-clarify-first-time-setup-controls-on-the

Conversation

@hieptl

@hieptl hieptl commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

HUMAN:

  • A human has tested these changes.

AGENT:


Why

On a fresh OHE install the first Super Admin finishes the install wizard on /settings/org-defaults, where the "Let's get you started" modal asks for the organization's LLM. Testers in the OHE 2.0 session got stuck there (OHE-3906):

  • The modal listed "1 Add an LLM", "2 Test Automations" and "3 Finish setup" as accordion rows with chevrons that opened on hover or click. Only the first row held controls, and the "Get started" button saved the LLM, closed the modal and sent the admin to the Canvas automation templates. The rows read as steps to complete inside the modal, and the button did not say it saves and leaves.
  • The wizard asked for a company name (the instance brand) and then an organization name (the first team workspace), prefilled with "My Organization". A single-team install typed the same name twice. The copy from fix(super-admin): tell the company brand and organizations apart in the install wizard (OHE-3556) #738 explained the difference, but it still felt redundant.

Summary

  • Starter modal: the three steps are now a static list whose notes are always visible, the LLM fields stay open, and the primary button reads "Save and continue". The modal scrolls when the viewport is shorter than it.
  • Organization step: the name defaults to the company name entered on the previous step, and the page says so.
  • Copy only in SA_NUX$STARTER_CONFIRM, SA_NUX$STARTER_AUTOMATION_DETAIL, SA_NUX$STARTER_OTHERS_DETAIL and SA_NUX$ORG_BODY, kept as English copies in every locale as before.

Issue Number

Fixes OHE-3906. There is no GitHub issue for it.

How to Test

From frontend:

npx vitest run __tests__/components/features/super-admin/super-admin-group-setup-modal.test.tsx __tests__/routes/super-admin-install-org.test.tsx __tests__/routes/super-admin-install-company.test.tsx __tests__/utils/org/super-admin-nux.test.ts
npm run check-translation-completeness
npm run typecheck
npx eslint src/components/features/super-admin/super-admin-group-setup-modal.tsx src/routes/super-admin-install-org.tsx __tests__/components/features/super-admin/super-admin-group-setup-modal.test.tsx __tests__/routes/super-admin-install-org.test.tsx

The four new tests and the two adjusted ones fail on main and pass on this branch.

In the browser, run npm run dev:mock:saas and, in the console:

localStorage.setItem("oh-sa-nux", JSON.stringify({ welcomeDone: true, companyDone: true, orgDone: false, starterModalPending: false, company: { name: "Acme Robotics", hasLogo: false } }));

Open /install/org: the Organization name field shows "Acme Robotics" and the text says the company name is suggested. Then set orgDone: true, starterModalPending: true and open /settings/org-defaults: the modal lists the three steps with their notes, the LLM fields are open, and "Save and continue" is disabled until a provider and model are picked. Hovering or clicking a step changes nothing. In a 1280×720 window the modal scrolls and the buttons stay reachable.

On an instance with ENABLE_SUPER_ADMIN on: finish /install as the first Super Admin and check the same two screens.

Video/Screenshots

Before (main) After
Starter modal Before: accordion rows and Get started After: static steps and Save and continue
Starter modal with a model chosen After: model chosen, Save and continue enabled
Organization step Before: My Organization After: company name suggested

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes


Enterprise server image for this PR:

ghcr.io/openhands/enterprise-server:sha-02654d7

…ame in the install wizard (OHE-3906)

The starter modal on /settings/org-defaults listed its three steps as
accordion rows with chevrons, but only "Add an LLM" had controls, and
"Get started" saved the LLM, closed the modal and left for the automation
templates. Testers read the other rows as steps to finish inside the
modal and did not expect the button to leave the page. The wizard also
asked for a company name and then an organization name prefilled with
"My Organization", so a single-team install typed the same name twice.

- Render the starter steps as a static list with every note visible,
  keep the LLM fields open, and label the primary button "Save and
  continue". Let the modal scroll when the viewport is shorter than it.
- Prefill the organization name on /install/org with the company name
  from the previous step, and say so on the page.
- Adjust the modal and org-step tests to the new behaviour and cover the
  static steps, the button label, the suggested name and its fallback.
- Add before/after screenshots under .pr/ohe-3906 for review.
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Artifacts Cleaned Up

The .pr/ directory has been automatically removed.

@github-actions github-actions Bot added the type: fix A bug fix label Nov 4, 2026
@hieptl
hieptl marked this pull request as ready for review November 4, 2026 19:27
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Coverage report

This PR does not seem to contain any modification to coverable code.

@tofarr tofarr 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.

🍰

@hieptl
hieptl merged commit 0efe42a into main Nov 5, 2026
22 checks passed
@hieptl
hieptl deleted the hiep/ohe-3906-onboarding-ux-clarify-first-time-setup-controls-on-the branch November 5, 2026 15:16
@openhands-release-bot openhands-release-bot Bot added the released: 1.87.0 Shipped in 1.87.0 label Nov 5, 2026
@openhands-release-bot

Copy link
Copy Markdown
Contributor

🚀 Released in 1.87.0.

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

Labels

released: 1.87.0 Shipped in 1.87.0 type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants