Media library: show the name of a website item, address small under it #322
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage#322
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Product owner, panel test on 10.4.80.205 (dev
56dd99c), 2026-11-18 — screenshot on GRI-2051.What he sees: a website item in the media library reads
The name, the kind, an empty size
(—)and the full address all run together on one line.Cause:
MediaLibraryScreen.tsx:360renders every non-document item as{name} — {kind} ({formatSize(size)}) {describe(item)}, anddescribe()returns the whole URL forkind === 'url'(line 40). A URL item has no size, so it shows(—).Wanted (same shape as #320 for the playlist):
rel="noopener noreferrer"), long addresses wrap or are cut with an ellipsis and the full one intitle.url (—): a website has no file size, so the size part is left out forurlitems. A small "Website" tag may replace the kind word.Scope: panel only, no server or database change. Keep the other kinds as they are, except that they may use the same two-line layout if that is simpler.
Done when: a Vitest test renders a
urlitem and finds the name, the address as a link with the righthref, and no(—).Related: #320 (same problem in the playlist).
Landed in dev with PR #324 (name on line 1, address as a link on line 2, no url (—)).