Repository navigation
feat: the dashboard's mark says what needs attention, and flips to the nut (ADR-0097) - #475
Merged
Merged
Conversation
…e nut (ADR-0097) The hub sends an `attention` event on its stream (the items of /hub/summary, each with a level: error or warn; failed lane starts are now among them). The dashboard puts a red or yellow dot on the mark in its top bar and on the favicon; the mark turns over to the nut of the nuts family on hover, and the favicon with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7schmiede
force-pushed
the
feat/attention-badge
branch
from
November 6, 2026 15:19
4657c42 to
49613c0
Compare
Merged
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.
The dashboard's mark (in the top bar) and the tab's favicon carry a red or yellow dot when something needs attention. On hover the mark turns over to the nut of the nuts family, and the favicon turns with it. The flip is the same effect as in nuts-timetrack.
Review card
The owner approved points 1–4 in the conversation on 2026-11-06.
attentionevent when a dashboard connects and on every change:{type, items: [{stack, lane, service, text, detail, level}]}. These are the items/hub/summarylists, read from the same board./hub/summary, or working it out in the browser, which sees only the stack on screenlevel:error(a service, a build, a stack's start or a lane's start failed) orwarn(a candidate held forpromote)./hub/summaryhas it too; itsstatestays as it is.erroritem or a hub that cannot be reached, otherwise yellow for awarnitem, a pool request waiting for an admin, or a skill set waiting for an answer. With nothing to show there is no dot.Decided by the agent alone: the nut is Lucide's
nut(ISC) in the mark's green on its dark tile. The favicon is made at run time as adata:SVG; the CSP allowsdata:images. A newer release does not get a dot. A failed lane start or move is now in/hub/summarytoo, because point 2 names it; before, it was only notified. See ADR-0097.Checked
cargo test -p devstack-hub,cargo clippy --workspace --all-targets -D warnings,cargo fmt --checknpm run typecheck,vitest(newbrand.test.ts),npm run build?mock=startfailedand?mock=hubdownshow a red one/hub/summary, and unit tests cover the board's change signal and the levels.🤖 Generated with Claude Code