admin-ui: grouped nav, Live and Wardrobe retired, About page (PR-5) - #838
Merged
Merged
Conversation
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.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
PR-5 of the launch-polish epic (STORY-471 + STORY-474), shipping in v5.13.0.
/liveredirects to/and/wardrobeto/persona-catalog, and their components and specs are deleted. "Station Imaging" is now labelled Station sounds.GET /api/about(Curation policy, admin surface) returns the version, station name, tagline, ready music track count, uptime and the F169 credit list./aboutrenders 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)./liveand/wardrobereturn 307 to their targets./api/aboutreturns 401 without a session. Itsversionequals theGW_VERSIONbuild arg, and itsattributionsequal/api/attributions.libraryCountis 9137 ready music rows (out of 9157 ready rows).live/wardrobeicon names). The leftover lowercase "imaging" copy stays under UI/docs: radio jargon ("bed", "liner", "imaging", "ident", "patter") needs a plain name or a one-line explanation wherever it appears #707, so this PR does not close UI/docs: radio jargon ("bed", "liner", "imaging", "ident", "patter") needs a plain name or a one-line explanation wherever it appears #707.Closes #779
Closes #16