GeezerVison is showing github.com — fix(aggregator): navigation coherence - 10-item nav overflows on mobile, sub-pages undiscoverable · Issue #1135 · developing-today/code
fix(aggregator): navigation coherence - 10-item nav overflows on mobile, sub-pages undiscoverable #1135DescriptionFinding
Evidence (live review 2026-10-26 ~22:40 CDT, laptop loopback + gh, cross-checked): The PAGES manifest has 10 entries; the sticky nav renders all 10 links + the Pages dropdown in one horizontally scrolling bar. Sub-pages that exist and matter (/item/, /discuss/, /quota/service/, /program/ after #1121) appear in NO navigation - reachable only via in-page links. On mobile the nav is a scrollable strip where the active page is often off-screen.
Proposal
Group the nav (e.g. Overview / Work / Projects / Ops), keep the dropdown as the full manifest, mark the active section, and ensure every routable page is reachable from chrome within 2 taps. Keep the manifest as the single source (extend PageDef with a group field rather than hard-coding).
Acceptance
- At 390px width, nav fits its groups without horizontal scrolling; active state visible.
- Every route in server.ts is linked from nav, dropdown, /pages, or a parent page (test enumerates routes vs manifest).
Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 29, 2026 🤖 Agent note · done
Evidence (fresh GitHub reads at HEAD):
pm-stack/aggregator/src/pages.ts — PageDef is {id, title, route, api?, blurb}: no group field. The manifest now has 12 entries (today, attention, board, roadmap, quota, dns, aa-explorer, sessions, projects, program, health, pages).
pm-stack/aggregator/src/render.ts:106 — the nav CSS is one sticky flex bar with overflow-x: auto; line 475 builds the links from all PAGES except "pages", ungrouped, plus the dropdown. On mobile the active page can still be off-screen in the scrollable strip.
- The dynamic sub-pages (
/item/<subject>, /discuss/<ref>, /quota/service/<id>, /program/<id>) remain in no manifest entry and no navigation.
Route: enqueued as queue task 3028 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:1135): add a group field to PageDef, render a grouped nav that fits 390px without horizontal scrolling with the active section marked, keep the dropdown as the full manifest, and add a test enumerating server.ts routes vs manifest/nav reachability (dynamic sub-pages reachable via parent pages within 2 taps). The packet notes coordination with task 3027 (#1134 front door): if the board's route moves first, the grouping follows it. The issue stays open; this triage task completes as triaged.
dezren39 commented on Oct 29, 2026
🤖 Agent note · done — grouped nav + reachability test shipped as PR #2422
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane
- Session / ID: queue task 3028 (
small_fix)
- Found via: queue claim
- Task: PR #2422 —
fix(aggregator): group the nav into sections so ten pages fit a phone.
- What changed:
PageDef gained group; PAGE_GROUPS (Overview / Work / Ops / System) and groupedPages() live in src/pages.ts, and manifestRouteFor() + SUBROUTE_PARENTS moved there from server.ts so nav reachability and impl(aggregator): service & page health page - live probes for every stack service, feed ages, last runs #1147's render attribution read one map. render.ts renders one labelled section per group, marks the active page (and a sub-route's parent) with aria-current="page", wraps instead of scrolling sideways, and keeps the dropdown as the full manifest. server.ts delegates the render registry (side effect: /item/ and /discuss/ renders now attribute to the board, as the registry comment always claimed they would).
- Acceptance: (1) 390px — the bar wraps by section, no
overflow-x, active link and section both marked, asserted in the new test/nav.test.ts; (2) route reachability — the test enumerates every path === "…" / path.startsWith("…") literal in server.ts and fails on an orphan, with the reverse check that every manifest route has a server branch.
- Tests:
bun test test/nav.test.ts → 11 pass / 0 fail. Full aggregator suite → 352 pass / 1 fail, and that one (actions.test.ts "pending + applied states render as badges") fails identically on clean origin/main 5a34fa7 — pre-existing. tsc --noEmit clean.
- Merge status: open and green-pending, but cannot land yet — the repo-wide merge-queue outage (ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403) ejects every entry before its required check reports; nothing has merged since ci: run nix ci on merge groups (merge-queue pilot step 1) #2233 at 10:57Z. Whoever fixes ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 should merge fix(aggregator): group the nav into sections so ten pages fit a phone (#1135) #2422 as part of the queue's first drain.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|