Skip to content

feat(onboarding): ambient activation guidance — checklist surface + schedules empty-state action (ent#238) - #2278

Merged
vybe merged 2 commits into
devfrom
feat/ent238-onboarding-activation
Aug 18, 2026
Merged

vybe merged 2 commits into
devfrom
feat/ent238-onboarding-activation

Conversation

@dolho

@dolho dolho commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The OSS half of the ambient onboarding layer (ent#238, epic ent#54). The setup wizard gets a user to a first agent; nothing afterwards carries them to chat → schedule → channel, and one first-hour view still dead-ended.

Two pieces:

1. Activation checklist — components/onboarding/ActivationChecklist.vue + stores/onboarding.js, mounted on the Dashboard. A dismissible, non-gating card listing the four first-value milestones. It ships in the OSS bundle and reads a server-driven surface: 404 (router not mounted) or 403 (not entitled) leaves it invisible and silent. That silence is the design — ambient guidance that shouts about its own absence is worse than no guidance. Only a genuine failure logs.

The store keeps no progress of its own: milestones are derived server-side from verified rows on every read, so an item unticks when the state behind it goes away. The card hides itself entirely once the last milestone is reached — the reward for finishing is that it stops asking.

2. Schedules empty state gets the primary action its siblings already have. Dashboard ("No agents yet" → Get started), Chat (ChatEmptyState) and Operations ("All caught up") already carried explainer + action; the Schedules panel explained and then dead-ended. Scope stayed the first-hour path the issue specifies, not an app-wide audit.

Design notes

  • Dismissal is optimistic on purpose — it hides before the write lands. A dismissal that waits on the network feels broken, and a failed write costs the user nothing worse than seeing the card again next load.
  • Only the next undone item carries an action, so the card reads as one step to take rather than four competing buttons.
  • Never a mandatory tour (the ent#54 principle): dismissible, gates nothing, self-hiding.

Already satisfied on dev — recorded, not re-done

Two of the issue's acceptance criteria were already true before this branch, verified before planning:

  • Dead-code removal is done. Neither components/OnboardingChecklist.vue nor composables/useOnboarding.js exists on dev, and nothing references either name. Nothing to delete — saying so beats pretending to do work.
  • ent#184 landed, so the milestone signal source the issue requires ("no parallel tracking store") is in place.

Testing

tests/unit/onboardingChecklistStore.spec.js — 10 tests covering the two load-bearing behaviours no structural check can see: silence on OSS/unentitled (404 and 403 log nothing; a 500 logs once and stays unavailable), and visibility going false independently on completion vs dismissal. Plus fetch-once-unless-forced, optimistic hide before the write resolves, hide surviving a failed write, and the restore seam.

$ npx vitest run
Test Files  43 passed (43)
     Tests  910 passed (910)

$ npx vite build
✓ built in 3.40s

Depends on

The gated backend lives in the private repo (trinity-enterprise#412). The submodule pin is deliberately not bumped here — it would pin an unmerged commit. Order: merge the enterprise PR → bump the pin → merge this.

Until the pin moves, this PR is inert by construction: the endpoint 404s, the checklist renders nothing, and only the Schedules empty-state action is user-visible.

Fixes Abilityai/trinity-enterprise#238

…chedules empty-state action (ent#238)

The OSS half of ent#238 (epic ent#54). Two pieces:

* `ActivationChecklist.vue` + `stores/onboarding.js` — a dismissible,
  non-gating card on the Dashboard showing the four first-value milestones
  (agent -> chat -> schedule -> channel). It ships in the OSS bundle and reads
  a server-driven surface: 404 (not mounted) or 403 (not entitled) leaves it
  invisible and silent, which is the only honest behaviour for ambient guidance
  — a nudge that shouts about its own absence is worse than no nudge. The store
  keeps no progress of its own, so an item unticks when the state behind it
  goes away, and the whole card hides once the last milestone is reached.
* Schedules zero-state gets the primary action its siblings already have.
  Dashboard, Chat and Operations already carried explainer + action; the
  Schedules panel explained and then dead-ended.

Dismissal is optimistic on purpose: it hides before the write lands, because a
dismissal that waits on the network feels broken, and a failed write costs the
user nothing worse than seeing the card again next load.

Two of the issue's acceptance criteria were already satisfied on dev and are
recorded rather than re-done: `OnboardingChecklist.vue` / `useOnboarding.js`
(the dead Process-Engine artifacts) no longer exist, and ent#184 landed, so the
milestone signal source this issue requires is in place.

Related to ent#238

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…nt desk + ent#238 checklist)

Both PRs mounted a panel in the same Dashboard region and documented it in
the same architecture.md section; resolution keeps both, front desk first.

Co-Authored-By: Claude Fable 5 <[email protected]>

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

Validated: fail-silent entitlement surface, derivation-only store, non-happy-path store tests; Dashboard.vue/architecture.md conflicts vs ent#319 resolved keeping both panels.

@vybe
vybe enabled auto-merge (squash) August 18, 2026 13:05
vybe pushed a commit that referenced this pull request Aug 18, 2026
… module, ent#323 design doc) (#2286)

Pin 65182c1 -> 9401b75: exactly the two enterprise merges of 2026-08-18 —
the ent#238 per-user activation checklist backend (trinity-enterprise#412)
and the ent#323 zero-commitment-door design doc (trinity-enterprise#414).
Required before the OSS half of ent#238 (#2278) merges, per its stated
order: enterprise PR -> pin bump -> OSS PR.

Co-authored-by: trinity-ability <[email protected]>
@vybe
vybe merged commit 3fab94c into dev Aug 18, 2026
21 of 22 checks passed
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.

3 participants