GRI-2144: playlist page sub-list, Own time badge and Reset #331
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!331
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-2144-playlist-page-sublist-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the two UI pieces pinned down on forge #278 (comment 14538), against the fail-first tests in PR #300:
aria-expandedinteractionMediaLibraryScreenuses for its document groups), with a thumbnail (loading="lazy"), page number, own-time field and "Skip this page" inline per page row — no separate "⚙ Page overrides" button/panel.gx-tag) and a Reset button; a page that inherits shows neither, and its field carries the inherited (file) time as a placeholder. Reset clears the override outright (falls back page → file → playlist → campus → global) — it does not restore a prior value.Everything else in forge #278 (file time cascading to pages with no own value, a page override winning, resolution order page → item → playlist default) was already shipped and tested (GRI-1961/GRI-2010) — no change needed there.
No server changes: the file-level time field, page overrides and push-time resolution (
expand_items,Playlist::duration_of) already existed and are already covered bycrates/server/tests/playlist_integration.rs.Test plan
frontend-web:scripts/local-gates.sh --frontend-only— prettier, oxlint, tsc, vitest (220 tests, including the two previously fail-first tests from PR #300), and the production build all pass.CI verdict:
fj ciApproved. Inline expand/collapse sub-list, Own time badge + Reset, lazy thumbnails, tests from #300 included. Nit for a follow-up (not blocking): expandedIndices is keyed by row index, so after Move up/down or Remove the open state stays on the position, not on the item.