Opened 10 years ago
Closed 10 years ago
#30943 closed defect (bug) (fixed)
Media Library: Duplicate files are confusingly labeled the same on List mode
Reported by: | diegoe | Owned by: | helen |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Media | Keywords: | has-patch |
Focuses: | ui, administration | Cc: |
Description
On Grid mode, elements in your Media Library are labeled by their filename.
On List mode, elements are labeled by their title.
This is confusing if you have uploaded duplicate files.
Possible solutions could be:
- Add the filename beneath the title the List view.
- Always use the filename on both modes.
- Append numbers to the end of the title, like it's done with the filename.
See attached screenshots.
Attachments (7)
Change History (15)
#3
@
10 years ago
- Keywords has-patch ui-feedback added
- Milestone changed from Awaiting Review to 4.2
30943.diff is the best I could come up with, screenshot attached
#4
follow-up:
↓ 5
@
10 years ago
If we're showing the full filename, the extension below seems unnecessary. How does that look with long file names on narrower screens?
#5
in reply to:
↑ 4
@
10 years ago
Replying to helen:
If we're showing the full filename, the extension below seems unnecessary. How does that look with long file names on narrower screens?
Added 30943_before.png and 30943_after.png for a before and after with ridiculously long filenames. Also added 30943_grid.png for grid-view reference.
#6
@
10 years ago
It's somewhat more scrolling, but it seems okay. Going to drop the extension/mimetype though, as it's very redundant.
#7
@
10 years ago
- Keywords ui-feedback removed
Made some changes as I was reviewing for commit, some notes about what's about to go in for reference:
- We just use the GUID instead of going through
get_attached_file()
in some other places in core, so keeping that here for consistency both in code and in output. - Replacing the contents of the paragraph that contained the extension with this instead, and giving that paragraph a class.
Grid view