You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d5e36be
Browse filesBrowse the repository at this point in the historyBrowse files
Contributors reach a screen and don't know what to do next; the app knows
which step is pending but never says so, and the control may be scrolled out
of view (#252).
Add a pure resolver, `next-action.cjs`, that folds the setup checklist's own
`current` step together with the post-init state into a single id — the one
block to point at, or null. The renderer tags the matching block with
`data-next-action` and a `.next-action-cue` class (a ring plus a "Start here"
pill), and `useNextActionCue` scrolls it into view when the id changes. The
mark is pure React so it survives re-render; the hook does only the scroll.
The cue is gated on the row being active — every SiteRow stays mounted — and
respects prefers-reduced-motion: the pulse drops to a static ring and the
scroll to an instant jump.
This PR wires the setup checklist only. The post-init panels get their
anchors in a follow-up; the resolver already returns their ids, which no DOM
element carries yet, so the hook harmlessly no-ops for them.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments