Skip to content

feat: share board banner and section navigation - #464

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/board-navigation-core
Oct 5, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/board-navigation-core

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Add shared Ears-style navigation cards directly below each organ's banner, with optional counts and safe section links. Adopt them on Brain, Mind and Cortex; preserve the existing domain actions, unknown counts and content. Other board migrations depend on this reusable base.

Closes #463. Approved phase 1 of the all-board rollout. User explicitly invoked /prm for this execution turn; merge only on all-green CI.

API Changes

hero gains optional keyword-only navigation; existing calls remain valid. New navigation_cards(items, label="Board sections") renders owner-supplied links and optional counts/context. Text is escaped and unsafe destinations rejected. See full details below.

Test Plan

  • 1186 Brain tests passed, including existing renderer contracts and new escaping/count/anchor/header-order checks.
  • 30 Chromium cases: Brain/Mind/Cortex × five widths × light/dark; no page overflow, valid targets, keyboard activation and touch-sized cards.
  • Strict Sphinx HTML build; tenant firewall; Brain/Mind discovery; diff whitespace checks.
  • Heart GREEN 100/100 at 2026-10-05T17:07:28Z. The initially observed Galaxy CI RED cleared on fresh assessment; no override used.
  • Desktop/phone screenshots use synthetic fixtures and are included in docs/board-navigation.md.
Full API Changes (for automation & release notes)

Added

  • board._theme.navigation_cards(items, label="Board sections"); each mapping supplies href, label, optional count and context.
  • Keyword-only navigation=() on board._theme.hero.

Changed Behaviour

  • Brain-owned boards use linked cards in place of static top metrics. Their section anchors remain available and descriptions/freshness follow the cards.

Migration

  • Consumers opt in through hero(..., navigation=items) after this base merges. No data/feed or modelling-workspace API changes. Independent renderers need explicit adoption; source merge alone does not claim live publication.

@Jammy2211
Jammy2211 merged commit 3cdd3c7 into main Oct 5, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/board-navigation-core branch October 5, 2026 17:11
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.

feat: shared board banner and section navigation

1 participant