Skip to content

feat: adopt shared dashboard section disclosures and slogan order - #49

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/dashboard-section-disclosures
Oct 7, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/dashboard-section-disclosures

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The slogan/check-in panel now appears above the navigation cards, and the organ rows sit in one collapsed "Organ dashboards" section that opens by its heading or a direct link. The "where to work next" verdict stays visible outside the section.

Scripts Changed

  • scripts/organism_board.py: the rendered page goes through Brain's section_layout. The rows are wrapped in a titled section (#dashboards). Each organ row has a stable fragment (#board-brain, #board-heart, …). section_summaries() computes the header badges in this repo:
    • count: N of M reporting, so a board with no headline shows up as a gap, not as zero.
    • status: the Heart's own word (Heart RED/YELLOW/STALE/GREEN). It shows Heart unknown when the Heart badge can't be read or uses an unfamiliar word, and never shows green for missing evidence.
  • The navigation cards still link straight to each organ's board (no change to routing).
  • tests/test_organism_board.py: 3 new tests covering order (panel, then cards, then verdict, then section), the collapsed default, row fragments, door chips surviving the wrap, header count/status, and the unknown/empty states.

Validation

  • python -m pytest tests: 13 passed, against Brain main (c0dd43a, with #491 merged). Ruff is clean.
  • Chromium: 40 cases. 4 fixtures (yellow/partial, all-unknown, long headline, live snapshot) × 390/768/820/1024/1440 px × light/dark. Checked: panel before cards, collapsed default, no horizontal overflow (open and closed), check-in and door-chip copy, direct #dashboards and nested #board-heart links opening the section, hashchange and repeated hash, and a Tab-reachable summary that opens with Space.

Dependencies and rollout

Part of PyAutoLabs/PyAutoBrain#490. Brain #491 is merged. Scientist was deferred under the community-pages claim and was released by human decision after PyAutoScientist#48 merged. Nothing is committed as a rendered artifact; the six-hourly organism_board.yml publishes the page once this merges. Human merge only.

Note

The live Heart badge now reads Monitoring RED · 38; release STALE. Because of that, the existing heart_word() already routes as "Heart verdict unavailable", and the new header badge honestly shows Heart unknown. Parsing the new Heart headline is left for a follow-up.

🤖 Generated with Claude Code

Pass the rendered board through Brain's section_layout: the slogan panel
now sits above the navigation cards and the organ rows live in a
collapsed 'Organ dashboards' disclosure (id #dashboards, rows #board-<organ>)
whose header shows how many boards reported and the Heart's own word,
unknown when the Heart could not be read. The routing verdict stays visible.

Part of PyAutoLabs/PyAutoBrain#490.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 5838a0c into main Oct 7, 2026
1 check passed
@Jammy2211
Jammy2211 deleted the feature/dashboard-section-disclosures branch October 7, 2026 11:49
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.

1 participant