Panel navigation: a left sub-menu per section; playlist tabs for Media and Devices #210

Closed
opened 2026-11-15 09:02:09 +00:00 by vivy · 2 comments
Owner

Product owner, 2026-11-15 (GRI-2051): "A sub menu on the left, used for all things, so you don't have a list of options mixed in one head category. Playlist > 'playlist name' > tabs on the left for assignment of devices or manage media, with manage media as default. Create a playlist can also move to a separate tab."

Layout.

  • The top bar keeps the main sections (Dashboard, Devices, Media, Playlists, Users, Settings).
  • Each section gets a left sub-menu for its own pages, each with its own URL (the router already gives every view a URL).
  • Playlists → list of playlists. Open one → /playlists/{id} with left tabs:
    • Media (default, /playlists/{id}): items, order, durations, per-page settings.
    • Devices (/playlists/{id}/devices): assignment and live rollout status (unassign: see the issue filed with this one).
    • Settings (/playlists/{id}/settings): name, campus, delete.
  • Settings → left menu: Playback defaults, Campuses, Network / IP rules, and later more.

Create a playlist — proposal, not a tab. A New playlist button on the playlist list that opens a small dialog (name, campus) and then goes straight into the new playlist's Media tab. A whole tab for one field and one button adds a click and an empty page; a button where the list is keeps it one step. If the product owner still prefers a tab, the route is /playlists/new.

Acceptance. Every screen that today mixes several tasks on one page is split under a left menu; deep links to each tab work after a reload; keyboard and screen-reader navigation of the sub-menu works (nav with aria-current).

Product owner, 2026-11-15 (GRI-2051): *"A sub menu on the left, used for all things, so you don't have a list of options mixed in one head category. Playlist > 'playlist name' > tabs on the left for assignment of devices or manage media, with manage media as default. Create a playlist can also move to a separate tab."* **Layout.** - The top bar keeps the main sections (Dashboard, Devices, Media, Playlists, Users, Settings). - Each section gets a **left sub-menu** for its own pages, each with its own URL (the router already gives every view a URL). - **Playlists** → list of playlists. Open one → `/playlists/{id}` with left tabs: - **Media** (default, `/playlists/{id}`): items, order, durations, per-page settings. - **Devices** (`/playlists/{id}/devices`): assignment and live rollout status (unassign: see the issue filed with this one). - **Settings** (`/playlists/{id}/settings`): name, campus, delete. - **Settings** → left menu: Playback defaults, Campuses, Network / IP rules, and later more. **Create a playlist — proposal, not a tab.** A **New playlist** button on the playlist list that opens a small dialog (name, campus) and then goes straight into the new playlist's Media tab. A whole tab for one field and one button adds a click and an empty page; a button where the list is keeps it one step. If the product owner still prefers a tab, the route is `/playlists/new`. **Acceptance.** Every screen that today mixes several tasks on one page is split under a left menu; deep links to each tab work after a reload; keyboard and screen-reader navigation of the sub-menu works (`nav` with `aria-current`).
Author
Owner

Devices tab and unassign: #209. Campuses page under Settings: #207. Library picker in the Media tab: #208.

Devices tab and unassign: #209. Campuses page under Settings: #207. Library picker in the Media tab: #208.
Member

Pull request: #218 (feature/GRI-2072-panel-left-submenu-nav → dev). scripts/local-gates.sh --frontend-only passes locally; waiting on the forge's own CI run.

What changed, mapped to the layout above:

  • Settings now has the left sub-menu: Playback defaults (/settings) / Campuses (/settings/campuses, read-only list — adding/editing is #207) / Network / IP rules (/settings/network, merging the old /ip-rules page in). /ip-rules redirects there. A campus-scoped settings_manage holder still gets just their own campus's playback default, no menu.
  • Playlists → /playlists/{id} now has left tabs: Media (default) / Devices / Settings (name — rename via the existing update_playlist PATCH; delete via the existing delete_playlist).
  • New playlist is the dialog you proposed (name, campus for a global admin), landing on the new playlist's Media tab — not the /playlists/new fallback.
  • Top bar gets a Dashboard tab (minimal landing page) and drops the standalone IP rules tab.

Two things I did not build, on purpose:

  1. Campus, in the playlist Settings tab, is read-only. The server's update_playlist route takes name and default_duration_seconds but has no way to move a playlist to a different campus after it's created. Showing it editable would mean guessing at an API shape, so I left it as a label for now — @aetherforge if that's wanted, it needs a route first.
  2. Live rollout status in the Devices tab (applied/downloading/offline) isn't wired into the UI. The server already has it over SSE (GRI-1968), but building that view is a feature in its own right, not part of splitting this page into tabs — happy to take it as a follow-up if that's the intent.
Pull request: #218 (`feature/GRI-2072-panel-left-submenu-nav` → `dev`). `scripts/local-gates.sh --frontend-only` passes locally; waiting on the forge's own CI run. What changed, mapped to the layout above: - **Settings** now has the left sub-menu: Playback defaults (`/settings`) / Campuses (`/settings/campuses`, read-only list — adding/editing is #207) / Network / IP rules (`/settings/network`, merging the old `/ip-rules` page in). `/ip-rules` redirects there. A campus-scoped `settings_manage` holder still gets just their own campus's playback default, no menu. - **Playlists** → `/playlists/{id}` now has left tabs: Media (default) / Devices / Settings (name — rename via the existing `update_playlist` PATCH; delete via the existing `delete_playlist`). - **New playlist** is the dialog you proposed (name, campus for a global admin), landing on the new playlist's Media tab — not the `/playlists/new` fallback. - Top bar gets a **Dashboard** tab (minimal landing page) and drops the standalone **IP rules** tab. Two things I did not build, on purpose: 1. **Campus, in the playlist Settings tab, is read-only.** The server's `update_playlist` route takes `name` and `default_duration_seconds` but has no way to move a playlist to a different campus after it's created. Showing it editable would mean guessing at an API shape, so I left it as a label for now — `@aetherforge` if that's wanted, it needs a route first. 2. **Live rollout status in the Devices tab** (applied/downloading/offline) isn't wired into the UI. The server already has it over SSE (GRI-1968), but building that view is a feature in its own right, not part of splitting this page into tabs — happy to take it as a follow-up if that's the intent.
vivy closed this issue 2026-11-15 11:21:13 +00:00
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoire-of-digital-signage#210
No description provided.