feat: admin adopts the dashboard's segmented tabs — five views, no scroll - #51
Merged
Merged
Conversation
…roll Port the dashboard's sticky pilled segmented control (ADR-0005) into ak x admin, keeping admin's amber editorial identity. The nine stacked sections become five tabs — Overview (reach + momentum), Review (since you last looked + waiting on you), Humans, Activity (feed + referrers), Gaps — each fitting a viewport with no page scroll; long lists (feed, todo) scroll inside their own card. Attention never hides behind a tab: Review/Humans/Activity carry count badges (red = open items waiting on you, amber = new since baseline). Arrow-key roving focus, #tab deep links (safe beside the #token= bootstrap, which strips first), and the last tab remembered in localStorage.
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.
What
Ports the dashboard's sticky pilled segmented control (ADR-0005) into
ak x admin, keeping admin's amber editorial identity rather than cloning the dashboard's Apple-blue look. The nine stacked sections (~3,100px of scroll) become five tabs, each fitting a 1440×900 viewport with zero page scroll (verified per-tab with Playwright: scrollHeight = 900 on every tab):Details
#review-style deep links (safe beside the#token=bootstrap, which is stripped first), last tab remembered in localStorage.Verification
node tests/admin-model.test.cjs— 33 passednode tests/admin.test.cjs— 22 passednode tests/dashboard.test.cjs— 10 passed🤖 Generated with Claude Code