Repository navigation
fix(super-admin): say how to reach starter modal steps 2 and 3 (OHE-3672) - #897
Merged
Merged
Conversation
…672) In the first-install "Let's get you started" modal, only "Add an LLM" has an action. "Test Automations" and "Finish setup" open to a description with nothing to click, so a new admin cannot tell how to complete them. Both steps already work: Get started saves the LLM and the setup guide then opens the automation templates, and the remaining steps continue from the floating Setup guide in the lower-right corner. The modal never said so. - SA_NUX$STARTER_AUTOMATION_DETAIL adds "Get started saves your LLM and takes you there." in every locale. - SA_NUX$STARTER_OTHERS_DETAIL now ends "from the Setup guide in the lower-right corner." in every locale. - Tests: opening each step shows its description, and the English text says how the step is reached.
Contributor
2 of 6 tasks
Contributor
|
🚀 Released in 1.74.0. |
2 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HUMAN:
AGENT:
Why
In the first-install "Let's get you started" modal, "1. Add an LLM" has an action, but "2. Test Automations" and "3. Finish setup" open to a description with nothing to click, so a new admin cannot tell how to complete them (OHE-3672). Both steps already work. Get started saves the LLM, and the setup guide then opens the automation templates. The remaining steps continue from the floating Setup guide in the lower-right corner, which is also where Skip leaves the admin. The modal never said so.
Summary
SA_NUX$STARTER_AUTOMATION_DETAILadds "Get started saves your LLM and takes you there.", andSA_NUX$STARTER_OTHERS_DETAILnow ends "from the Setup guide in the lower-right corner." Every locale changes, since the other locales already held the English text. The install wizard'sSA_NUX$STEP_AUTOMATION_DETAILshares the old step 2 sentence and is unchanged.Issue Number
Fixes OHE-3672.
How to Test
From
frontend:npm run typecheck npx eslint __tests__/components/features/super-admin/super-admin-group-setup-modal.test.tsx npm run check-translation-completeness npx vitest run __tests__/components/features/super-admin # 17 files, 140 passedThe two new tests fail on
main, where the steps lack this guidance, and pass on this branch.In the browser. Run
npm run dev:mock:saas. In the browser console, runlocalStorage.setItem("oh-sa-nux", JSON.stringify({welcomeDone:true,companyDone:true,orgDone:true,starterModalPending:true})), then open/settings/org-defaults. Open "Test Automations" and "Finish setup" in the starter modal. Each now says how the step is reached.Video/Screenshots
main)Type
Notes
Enterprise server image for this PR: