GRI-1972: playlist editor shows assigned screens, assigns several at once #169

Merged
vivy merged 3 commits from feature/GRI-1972-playlist-editor-assign-multi into dev 2026-11-13 21:24:03 +00:00
Member

Closes #156.

Summary

  • GET /playlists/{id} now returns assigned_devices (the screens currently showing this playlist).
  • New GET /device-playlist-assignments endpoint returns the full device → playlist mapping, used by the devices screen.
  • Playlist editor: multi-select checkboxes to assign the playlist to several screens at once, plus a "Shown on" list of currently assigned screens.
  • Devices screen: a playlist column showing which playlist (if any) each device is currently showing.

Test plan

  • Backend: cargo test — 24 tests incl. 2 new, green against Postgres.
  • Frontend: npm run check — 37 tests, green.
  • cargo fmt --check, cargo clippy clean.
  • Full scripts/local-gates.sh run, every gate green (fmt, clippy, deny, backend tests, frontend check, frontend build).
Closes #156. ## Summary - `GET /playlists/{id}` now returns `assigned_devices` (the screens currently showing this playlist). - New `GET /device-playlist-assignments` endpoint returns the full device → playlist mapping, used by the devices screen. - Playlist editor: multi-select checkboxes to assign the playlist to several screens at once, plus a "Shown on" list of currently assigned screens. - Devices screen: a playlist column showing which playlist (if any) each device is currently showing. ## Test plan - [x] Backend: `cargo test` — 24 tests incl. 2 new, green against Postgres. - [x] Frontend: `npm run check` — 37 tests, green. - [x] `cargo fmt --check`, `cargo clippy` clean. - [x] Full `scripts/local-gates.sh` run, every gate green (fmt, clippy, deny, backend tests, frontend check, frontend build).
GRI-1972: show which screens a playlist is assigned to, and assign several at once
Some checks failed
CI / the pre-push hook (pull_request) Successful in 46s
CI / cargo fmt (pull_request) Successful in 51s
CI / cargo deny advisories (pull_request) Failing after 2m57s
CI / cargo deny (pull_request) Successful in 3m18s
CI / cargo clippy (pull_request) Successful in 4m29s
CI / repository boundary (pull_request) Successful in 54s
CI / frontend-web (pull_request) Successful in 2m7s
CI / cargo test (pull_request) Successful in 11m24s
CI / CI (pull_request) Successful in 26s
CI / Notify gate failed (pull_request) Has been skipped
b5576e2515
Backend: GET /playlists/{id} now returns assigned_devices; new
GET /device-playlist-assignments endpoint.
Frontend: multi-select assign checkboxes in the playlist editor, a
'Shown on' list, and a playlist column on the devices screen.
# Conflicts:
#	crates/server/src/playlists/handlers.rs
GRI-1972: fix merge fallout — push_to_assigned_devices used the renamed store function
Some checks failed
CI / the pre-push hook (pull_request) Successful in 10s
CI / cargo fmt (pull_request) Successful in 12s
CI / cargo deny (pull_request) Successful in 1m26s
CI / cargo clippy (pull_request) Successful in 2m55s
CI / cargo deny advisories (pull_request) Failing after 1m38s
CI / repository boundary (pull_request) Successful in 49s
CI / frontend-web (pull_request) Successful in 2m28s
CI / cargo test (pull_request) Successful in 10m49s
CI / Notify gate failed (pull_request) Has been skipped
CI / CI (pull_request) Successful in 31s
3472cc1ec4
vivy merged commit 90052c834c into dev 2026-11-13 21:24:03 +00:00
vivy deleted branch feature/GRI-1972-playlist-editor-assign-multi 2026-11-13 21:24:05 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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!169
No description provided.