Skip to content

admin-ui: grouped nav, Live and Wardrobe retired, About page (PR-5) - #838

Merged
genwave-radio merged 5 commits into
mainfrom
admin-ui/grouped-nav-471
Sep 23, 2026
Merged

genwave-radio merged 5 commits into
mainfrom
admin-ui/grouped-nav-471

Conversation

@genwave-radio

Copy link
Copy Markdown
Collaborator

🧭 What

PR-5 of the launch-polish epic (STORY-471 + STORY-474), shipping in v5.13.0.

  • Grouped nav (T558–T559): Dashboard · Station · Media · Tools · Status · Settings. The group holding the current route opens on load, and a manual toggle is remembered per browser. The footer holds About · Sign out.
  • Live and Wardrobe retired (T560): /live redirects to / and /wardrobe to /persona-catalog, and their components and specs are deleted. "Station Imaging" is now labelled Station sounds.
  • About (T561): GET /api/about (Curation policy, admin surface) returns the version, station name, tagline, ready music track count, uptime and the F169 credit list. /about renders it. There is a new optional Station:Tagline setting (blank by default, up to 120 characters).

✅ Verified

  • dotnet test GenWave.sln --filter "Category!=Integration": all 9 projects green. admin-ui tsc, typecheck:specs and jest are green (129 suites, 1321 passed).
  • Built images on the dev station:
    • All 15 nav routes return 200 with a session.
    • /live and /wardrobe return 307 to their targets.
    • /api/about returns 401 without a session. Its version equals the GW_VERSION build arg, and its attributions equal /api/attributions.
    • libraryCount is 9137 ready music rows (out of 9157 ready rows).

⚠️ Notes

Closes #779
Closes #16

nav-items.ts now exports NAV_GROUPS (Station, Media, Tools, Status),
NAV_TOP (Dashboard), NAV_BOTTOM (Settings) and NAV_FOOTER (About,
Sign out) per SPEC F203.1. NAV_ITEMS is gone; visibleNavGroups keeps
the catalog gate and drops a group left empty (F203.3). Live and
Wardrobe leave the nav; Station Imaging reads Station sounds and the
editor reads Theme Editor.

Sidebar and MobileNav render the model as today's flat list until
T559 makes the groups collapsible.
Sidebar and MobileNav render NAV_GROUPS through one shared NavSections:
the route's group opens on load, a manual toggle is remembered in
localStorage (try/catch, route rule on failure) through one
useSyncExternalStore store both surfaces share, and the footer carries
About beside Sign out. nav-items.ts aligns to the ARCHITECTURE shape
(id + label, readonly arrays). Story471 AC4-AC8 and Story474 AC5 are
green; one Sidebar snapshot per group shows exactly one open group.
…gh-#707)

/live redirects to / and /wardrobe to /persona-catalog; both folders keep
only the redirect page. The Live and Wardrobe components, their specs and
the code only they used (RatingControls, the NowPlayingCard control slots,
four broadcast-api rating exports) are deleted. The booth log keeps its
pick chips and thumbs. Coverage for surviving components is ported
(station vs taste glyphs, taste vs catalog vote, F50.6 on RecentPlays).
"Station Imaging" reads "Station sounds" in every user-visible string;
Wardrobe pointers in the UI now name the Community Catalog.
Story471 AC11-AC14 are green.
GET /api/about (Curation, admin surface) serves version, station name,
tagline, ready music track count, uptime and the F169 attribution list.
The attribution projection moves into AttributionProjector and the
version read into HostVersion, so /api/attributions and
/spectator/api/about stay byte-identical and cannot drift from it.

New optional Station:Tagline setting (blank default, 120-char show
tagline budget), editable in the Station settings section. /about
renders it only when non-blank; credit source links render only for
http(s) URLs via a guard shared with JinglePackDetailPanel.
@genwave-radio
genwave-radio merged commit d57a6f8 into main Sep 23, 2026
11 checks passed
@genwave-radio
genwave-radio deleted the admin-ui/grouped-nav-471 branch September 23, 2026 19:42
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

1 participant