GRI-2210: show the library name for a url playlist item, not its address #321
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!321
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-2210-url-item-library-name"
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
urlplaylist item added from the media library lost itsmedia_idon save, so the panel fell back to showing the raw address forever.replacePlaylistItemsnow keepsmedia_idfor aurlitem when it still resolves to a current library entry.itemFromWire(read side) also heals existing rows with nomedia_idby matching the item'surlagainst libraryurlitems, only when exactly one matches — so old rows like "Am Playlist" resolve a name on load without a migration, then persist the link on the next save.PlaylistMediaTabshows the resolved library name (linked to/media/library) with the address underneath in smaller,--text-subtle-toned text. An item with no library match, or an ambiguous address shared by more than one library item, still shows just the address.Not done, flagged for a follow-up call
media_idon aurlitem actually haskind = urland a matching address — the server already accepts anymedia_idon any item kind, and this change doesn't tighten that.Test plan
scripts/local-gates.sh --frontend-onlypassed locally (prettier, oxlint, tsc, vitest, build)mediaId: '')