Repository navigation
feat: adopt shared dashboard section disclosures and slogan order - #49
Merged
Merged
Conversation
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>
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 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'ssection_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:N of M reporting, so a board with no headline shows up as a gap, not as zero.Heart RED/YELLOW/STALE/GREEN). It showsHeart unknownwhen the Heart badge can't be read or uses an unfamiliar word, and never shows green for missing evidence.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.#dashboardsand nested#board-heartlinks 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-pagesclaim and was released by human decision after PyAutoScientist#48 merged. Nothing is committed as a rendered artifact; the six-hourlyorganism_board.ymlpublishes the page once this merges. Human merge only.Note
The live Heart badge now reads
Monitoring RED · 38; release STALE. Because of that, the existingheart_word()already routes as "Heart verdict unavailable", and the new header badge honestly showsHeart unknown. Parsing the new Heart headline is left for a follow-up.🤖 Generated with Claude Code