Skip to content

dashboard: Goals and Queue as collapsible blocks above Start here (#650) - #651

Merged
Jammy2211 merged 3 commits into
mainfrom
feature/dashboard-goals-queue
Nov 16, 2026
Merged

Jammy2211 merged 3 commits into
mainfrom
feature/dashboard-goals-queue

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #650, a human request (2026-11-16). On the PyAutoMind dashboard, Goals and Queue are now h2 sections folded by the shared section_layout into <details class="board-section">, directly above Start here. They share its markup: closed by default, with a count badge and a source-file icon. The old top "Goals and queue" box (.steer) is removed, so nothing is duplicated. Queue rows keep their ★ #n and 📋 buttons. Everything is read-only, and the CSP is byte-identical.

Merge before the companion PyAutoMind re-render PR.

Test plan

  • Brain suite: 2167 passed (1 environmental failure). Tests pin the order, the shared markup and escaping. Line counts and firewall pass.
  • Independent review: CLEAN.

🤖 Generated with Claude Code

Jammy2211 and others added 3 commits November 16, 2026 15:40
…650)

The Mind dashboard's read-only Goals and Queue box at the top of the page
becomes two plain <h2> sections rendered straight before Start here, so the
shared section_layout folds each into the same details.board-section block
as every other section: closed by default, a count badge (owner-supplied via
section_layout's summaries, since they have no nav card) and the markdown
source icon linking goals.md / queue.md. Queue rows keep their star/rank and
copy button; nothing interactive is added and the CSP is unchanged.

- The old <aside class="steer"> box is removed, not duplicated;
  _steer_first becomes _inbox_first and lifts only the questions inbox.
- One-line empty states: "No goals yet — edit in chat" and
  "Queue is empty — add with /queue", on both pages.
- dashboard.md matches the order: Questions, Goals, Queue, Start here.
- Tests pin the order and adjacency, the shared block markup and class,
  closed-by-default, read-only blocks, empty states and the CSP hash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…le (#650)

Human feedback on the preview: the added elements broke the dashboards'
style. Rebuilt from the family's own conventions (board/_theme.py, the
Mind page's original sections, the Brain board):

- Goals, Queue and Questions are ONE ordinary <h2> section straight above
  Start here, folded by section_layout into the same closed
  details.board-section, with one badge ("N queued · M questions") supplied
  through section_layout's summaries. Inside: Start here's <h3> + facets
  sub-headings, ordinary .task rows with their copy button (queue rows keep
  the star/rank), a nested <details> for deferred questions, and muted
  parenthesised empty states. #inbox, #goals and #queue stay as anchors.
- The standalone .inbox aside, its CSS and _inbox_first are gone, as are the
  ol.steer-queue / ol#steer-goals rules; only the existing span.star stays.
- The batch box is no longer a .verdict banner: _status.render_html/_md
  render an ordinary "Batch <slot>" section with a badge (counts, "idle",
  or a yellow "ready to review"), members as a list with state pills, and
  the watcher's "— status: <url>" as a "shift issue #N" link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Human feedback: fold the batch section into the steering block. The
combined block is titled Autopilot, still an ordinary section_layout
details.board-section straight above Start here, with four <h3> sub-parts
in Start here's form: Goals, Queue (star rank and copy button), Questions,
Shift.

- One badge, the most useful reading (_autopilot_reading): "LIVE · N in
  progress" during a shift, "N to review" after one, else "N queued · M
  questions".
- An Autopilot nav card, first in the row, made by the same hero/
  navigation_cards helper as the others, with the same reading's number; it
  links #autopilot, which the theme's existing section script opens.
- Shift (batch/_status.py render_html/render_md): the running or
  to-be-reviewed shift's detail with a "shift issue #N" link; otherwise one
  muted line, e.g. "(last shift <slot> — reviewed · shift issue #N)", from
  the record's `- issue:` key (new last_shift / issue_url). No standalone
  batch block remains.
- #inbox, #goals and #queue still work; dashboard.md follows the same order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 678dba7 into main Nov 16, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/dashboard-goals-queue branch November 16, 2026 16:42
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.

dashboard: Goals and Queue as collapsible blocks above Start here

1 participant