Repository navigation
feat(onboarding): the getting-started checklist moves behind a header launcher - #2854
Conversation
… launcher The checklist stays (ruling on ent#581) and its content is untouched. This changes only where it lives, and removes the layout shift rather than timing around it. Inline, the card could not appear without pushing the fleet grid down ~150px. ActivationChecklist fetches in its own onMounted and renders under `v-if="store.visible"`, so the answer deciding whether a card exists arrives one round-trip AFTER the dashboard paints. Neither remedy offered works on its own: gating on overlay-complete moves when it pops, not that it pops, and reserving space unconditionally leaves a permanent gap on every unentitled build, where the endpoint 404s and no card is ever coming. Behind a launcher the question does not arise. The pill sits in the header's controls row, a fixed-height flex line, so a late answer changes nothing below it — stability by construction rather than by timing (contract p.4/6). When the module is unentitled, dismissed or complete, nothing renders and the absence costs no space. A popover, not a modal. ent#238's principle is that this is ambient: never a mandatory tour, dismissible, gating nothing, retiring itself on the last milestone. A blocking dialog would make it the tour it must not be. It follows the Tags dropdown's pattern — right-aligned, click-outside, Escape — so the two read as one family of header controls rather than a new idiom. The meter carries the state when the words are gone: four dots, filled to `completedCount`, so the collapsed control still says how far along you are. The trigger is labelled for screen readers with the same count. Two events close the panel, both cases where leaving it open is wrong: a dismissal retires the control the panel is anchored to, and following an item's action navigates away underneath it. Honest limits: the endpoint 404s on this local stack and on the rc3 droplet, and published images are built without the enterprise submodule, so this could not be rendered before committing. It has no mount test either — vitest runs `environment: node` with no harness (the ent#392 constraint), so the spec pins placement textually: the checklist is no longer in Dashboard.vue at all, and the launcher sits ahead of the Tags dropdown and above the stage. Refs trinity-enterprise#238, trinity-enterprise#581 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The X on the card called `store.dismiss()` — permanent, per-user, persisted server-side, and unrecoverable: nothing in the store or the UI restores a dismissed checklist. So the most innocuous-looking control on the panel was its most destructive one, and a user who meant "later" got "never" with no way back. Two controls now, and they mean different things: X closes the panel. The checklist returns next load. Don't show this again dismisses it for good, and says so. The X keeps the position and the affordance people expect of it; the permanent action is a labelled text button in its own footer row, quiet by default because it is the exit rather than the thing the card is asking for. Its title states the consequence, since there is no undo to fall back on. Both emit `close`, so the launcher's popover shuts either way — the distinction is whether `dismiss()` was called, not what the panel does afterwards. Following an item's action still closes it too. Refs trinity-enterprise#238 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…klist Its own commit, as the ratchet asks. The dismiss footer added six GRAY classes (a border pair and four text states) to a file that was already at 16: raw_gray 16 -> 22, raw_nongray still 0, hardcoded still 0. Only that entry is touched. A wholesale regeneration would also have blessed two hardcoded colours in CanvasDocument.vue that predate this work, which is the quiet way a ratchet stops biting. Refs #2605
… started vybe's call: expand the left rail by default, labelled, and put the checklist there — rather than the header pill the previous commit added. The rail defaulted to collapsed, so a first-time visitor met a 48px strip of unlabelled glyphs: the systems it lists were unreadable, and anything added below them would have been too. It now opens expanded. A saved preference still wins; only the first-visit default moved. The checklist becomes a row in that rail, in the footer above New View. Same reasoning as the header pill it replaces — the entitlement answer lands a round-trip after paint, and in a fixed-width column that adds a row to a scrolling list instead of pushing the fleet grid down ~150px — but it reads as what it is: an item in a menu, beside the other places you can go. The meter takes the icon slot the view rows use, so a collapsed rail still shows progress rather than going mute, and the title carries the count. The panel opens to the RIGHT of the rail, not below it. The rail is 224px and the card is 304px, so downward would either clip or force a second, narrower rendering of a card that already exists. Refs trinity-enterprise#238, trinity-enterprise#581 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…ebar Its own commit, as the ratchet asks. The getting-started row added two GRAY classes (a border pair on its divider): raw_gray 29 -> 31, raw_nongray still 16, hardcoded still 0. Only that entry is touched. Refs #2605
…ngs to the row e2e went red on this branch — `dashboard-list-view` and `agent-detail-request-dedupe` — while `fix/2691-first-run-copy` and two other branches passed the same suite today, one of them after this run. So it is this branch, and the only change here that affects anything outside the rail is opening it by default: that takes 176px from every dashboard pane, and the list view's desktop layout is an eleven-column grid that only just fits at 1280. The dedupe failure fits the same shape — a narrower pane mounting a second, width-conditional copy of a component that fetches. Reverting the default isolates that instead of assuming it. The rail's getting-started row is unaffected either way, so if CI comes back green the conclusion is that the list view has to survive a 1056px pane before the rail can open by default — which is its own change, in its own PR, not a rider on this one. Not reproducible locally: this stack fails the same specs on clean dev, because it has no seeded `trinity-system` agent, so it cannot act as a control. CI is the only instrument that distinguishes them here. Also: the divider was rendering unconditionally. On every unentitled install that is a separator and its padding around a launcher that renders nothing. It is now gated on the same visibility the row is. The placement spec no longer asserts the rail's default — widening the rail is a dashboard-layout question, and that test is about where the checklist lives. Refs trinity-enterprise#238 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…iew labels The checklist renders inline in the rail instead of behind a launcher row and popover. It sits after the last view row, inside the same scrolling list, so it stays under the labels however many there are, and it is not mounted while the rail is collapsed — it goes away with the labels. Its header is a disclosure: expanded on first start, collapse remembered per browser (`trinity-checklist-expanded`). That replaces the X as the "not now" control; "Don't show this again" still retires it for good. The next step's action sits under its title, since the rail is too narrow for both on a line. The rail opens expanded by default again (vybe's call), reversing the previous commit's revert: collapsed by default, the checklist is invisible on first load. The known cost stands — an open rail takes 176px from every dashboard pane, and `dashboard-list-view` / `agent-detail-request-dedupe` e2e went red the last time it was open by default. The placement spec asserts the default again, since the checklist's first-load visibility now depends on it. The divider moves inside the checklist's own root, so it is gated on the same `store.visible` as the content and never renders on an unentitled install. ActivationLauncher.vue is removed — nothing mounts it any more. The raw-colour baseline entries for the two touched components are lowered to their new counts (SystemViewsSidebar 31 -> 29 gray, ActivationChecklist 22 -> 17 gray). Refs trinity-enterprise#238 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
With the systems rail open by default, a 1280 viewport leaves the lg row grid's name track too narrow to show the system agent's name link, so `dashboard-list-view` failed on its visibility assertion. Test-only change. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
5dba7cb to
5938056
Compare
… the rail can open on first launch The systems rail opens expanded by default (bb8cab7). At a 1280 window that leaves the list 992px wide, but the desktop grid's non-name tracks need about 920px. The `1fr` name track fell to ~72px, and the system agent's name shrank to 10px behind its SYSTEM badge. That is the `dashboard-list-view` e2e failure. Running that test at 1440 (5938056) turned CI green but left the list broken for real 1280 screens. It also only passed because CI has two agents: on a ten-agent stack, 1440 with the rail open still squeezed names. The desktop grid now switches on the LIST's width via a `list-wide:` container-query variant (tailwind.config.js, 68rem on the `agent-list` container wrapping the grid), instead of the viewport `lg:`. Below 68rem the existing tablet layout renders. Measured in Chromium against a live stack: | window | rail | layout | name track / link | |---|---|---|---| | 1280 | open | tablet | full name, 95px link | | 1280 | collapsed | grid | 248px | | 1440 | open | grid | 232px | | 900 | open | tablet | full name | | 600 | open | mobile | full name | - The tablet block uses a stacked `md:list-wide:hidden`. Tailwind 3 emits screen variants after custom ones, so a bare `list-wide:hidden` loses to `md:flex`. The tablet block then sat in the desktop row as an extra subgrid item and widened track 1 to 630px (first cut, caught in the browser). - The query container is a wrapper around the grid, not the panel root, so the root's fixed-position toast is unaffected by containment. - 68rem rather than 72rem: 1440 with the rail open leaves 1152px, which must still get the grid even with a classic scrollbar. Tests: - `dashboard-list-view` smoke test runs at the 1280 default again, asserting on the visible name link. The row carries one link per layout. - The #2358 alignment and meter tests seed the rail collapsed, since they measure the desktop grid. - `schedules-toggle-scroll` clicks the visible name link. - `agentName.spec.js` follows the `lg:` to `list-wide:` rename and pins the mechanism: the variant definition, the container on the grid's parent, no viewport `lg:` left in the list, and the stacked tablet class. Verified: frontend unit suite 3074/3074, and `dashboard-list-view` e2e 11/11 against a live stack, including the four label-borrowing tests CI skips. Other dashboard e2e specs pass, except three `@interactive` stats-overflow checks at 640px. Those fail with the rail collapsed too (the enterprise Tags button overlaps the agent count), so they predate this change. Refs abilityai/trinity-enterprise#238 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
merge-train 2026-09-17: one commit pushed, Why not 1440. The fix. The list's desktop grid now switches on the list's own width through a
One trap worth knowing. The tablet block needs the stacked Tests.
Not from this PR. On an entitled install, the |
vybe
left a comment
There was a problem hiding this comment.
merge-train 2026-09-17: the checklist moves to the systems rail, and the rail opens expanded on first launch, as decided. The list layout that broke at 1280 with the rail open is fixed in 50d6124: the desktop grid now switches on the list's width, and it was verified in Chromium at 600, 900, 1280 and 1440 with the rail open and collapsed. frontend-build (3074 unit tests) and e2e are green on this head, and dashboard-list-view passes 11/11 against a live stack. The pytest matrix doesn't apply, since there is no Python in this diff.
Follows the ruling on trinity-enterprise#581 that the checklist stays. Its content is untouched; this changes where it lives and what its controls mean.
Separate from #2848 deliberately — that PR is now copy and docs only.
The shift, and why neither proposed fix closes it
ActivationChecklistfetches in its ownonMountedand renders underv-if="store.visible", wherevisibleneedsavailable, which is false until that same fetch resolves. The component initiates the request it is gated on, so inline it can only ever appear one round-trip after the dashboard paints — pushing the fleet grid down ~150px.Behind a launcher the question doesn't arise. The pill sits in the header's controls row — a fixed-height flex line — so a late answer changes nothing below it. Stability by construction rather than by timing (contract p.4/6). Unentitled, nothing renders and the absence costs no space.
The design
A progress pill, not a question mark: there's already a
?in the NavBar for help, and this is state, not help. Four dots filled tocompletedCount, so the control says how far along you are before you open it; it collapses to dots + count belowmd, as Create Agent does.A popover, not a modal. ent#238's principle is that this is ambient — dismissible, gating nothing, retiring itself on the last milestone. A blocking dialog would make it the tour it must not be. It follows the Tags dropdown's pattern (right-aligned, click-outside, Escape) so the two read as one family of header controls.
The X was destructive
It called
store.dismiss()— permanent, per-user, persisted server-side, and unrecoverable; nothing in the store or UI restores a dismissed checklist. The most innocuous-looking control was the most destructive, and "later" silently became "never".XBoth emit
close, so the popover shuts either way — the distinction is whetherdismiss()ran.Tests
npm run test:unit— 3069 passed. One pre-existing failure,portalAgentsAtCentre.spec.js, which asserts/Aug/againsttoLocaleDateStringand gets21 Αυγon a Greek-locale machine; untouched by this.firstRunSteps.spec.jsnow pins the placement property rather than the old markup: the checklist is not inDashboard.vueat all, and the launcher sits ahead of the Tags dropdown and above the stage.The raw-colour re-freeze is its own commit, as the ratchet asks: the dismiss footer added six gray classes (16 → 22);
raw_nongraystays 0. Only that entry is touched — a wholesale regeneration would also have blessed two hardcoded colours inCanvasDocument.vuethat predate this.What I could not verify
/api/enterprise/onboarding/checklistreturns 404 on the local stack and on the rc3 droplet, and published images are built without the enterprise submodule, so this could not be rendered against real data before committing. It was exercised locally against a seeded store, which is not committed.There is no mount test either — vitest runs
environment: nodewith no harness (the ent#392 constraint), so the specs assert source structure, not behaviour in a DOM.This is a presentation change to an entitled surface, so it wants the same sign-off the earlier removal proposal got.
Refs abilityai/trinity-enterprise#238, abilityai/trinity-enterprise#581
🤖 Generated with Claude Code