#29993 closed defect (bug) (fixed)
Media action links are cramped on small screens
Reported by: | pento | Owned by: | bradt |
---|---|---|---|
Milestone: | 4.3 | Priority: | high |
Severity: | minor | Version: | |
Component: | Media | Keywords: | make-flow has-patch good-first-bug |
Focuses: | ui, administration | Cc: |
Description
In the Media Library list view, the action links are quite cramped on small screens.
Attachments (10)
Change History (38)
#3
@
10 years ago
- Keywords has-patch needs-testing added
When the screen size is < 450px:
- Hide the thumb and comment columns.
- Show the hidden thumb in the File column.
#4
@
10 years ago
- Keywords good-first-bug added
- Milestone changed from Awaiting Review to 4.2
- Owner set to bradt
- Priority changed from normal to high
- Status changed from new to assigned
#5
@
10 years ago
- Priority changed from high to normal
@ryan: What's your take on 29993.diff? What's left here?
#7
@
10 years ago
Throwing this out there knowing that there could be side effects - what if the thumbnail were just in the title column all the time, narrow screen or not? We could probably catch if the column is removed and hide the thumbnail (it's not in screen options), not sure what other things people are doing with the media list table that would break/stop applying.
#8
@
10 years ago
I'm certainly not an authority on the media list table, but I'd be surprised if removing the icon column didn't break some plugins/themes that assume it will be there.
Our company is doing a WP Contrib Day this Friday, so I can certainly update the patch then.
#9
@
10 years ago
I'm not too concerned if something is non-destructively broken (e.g. images start showing when somebody had previously removed the column), but I don't like breaking things without knowing what they are first :)
#10
@
10 years ago
Seeing double images on iPhone 6+ and 5 with 29993.1.diff. Looks fine on desktop with Macnchrome.
#11
@
10 years ago
Just tested again on Safari/iPhone 5 and Chrome/Android and don't see double images. Cached stylesheet on iOS maybe?
#12
follow-up:
↓ 13
@
10 years ago
I'd still like to know what exactly would or could break by removing that column. I can't see it being anything destructive. It's not sortable, it can't be toggled in screen options - I'd really rather just bring the thumbnail into the main title/actions column if we're going this route.
#13
in reply to:
↑ 12
@
10 years ago
Replying to helen:
I'd still like to know what exactly would or could break by removing that column. I can't see it being anything destructive.
I can't see it being destructive either. Go for it and find out during beta?
This ticket was mentioned in Slack in #core-flow by boren. View the logs.
10 years ago
#18
@
10 years ago
- Milestone changed from 4.2 to Future Release
At this point in the cycle, we're two days shy of beta 4 and the changes being discussed here are under-tested and lacking consensus. "Go for it and find out during beta" is a perfectly valid approach, however I think it's too late to do that in 4.2. Punting.
This ticket was mentioned in Slack in #core by helen. View the logs.
10 years ago
This ticket was mentioned in Slack in #core-flow by helen. View the logs.
10 years ago
#22
@
10 years ago
- Keywords needs-testing removed
- Milestone changed from Future Release to 4.3
Lots of changes in list tables happening, so I refreshed/riffed on @bradt's patch to get us moving again. I didn't add a breakpoint in 29993.4.diff, which we can do. Before we go there though, here's where the patch puts us at 320px wide in English. Note that there are more changes needed for accessibility (see related tickets) and more will come for better responsive list tables, which conveniently this better enables.
#23
follow-up:
↓ 25
@
10 years ago
Tested a bit and noticed cropped images (created with the Image editor or setting them as Theme headers) can be displayed with a different thumbnail size. Looks like cropped images don't get the right image size and they are big, scaled images? For example, the background1.jpg in the screenshot below is 1024x643 and then scaled in-browser with CSS.
Anyway, if I'm not wrong, the max width set with CSS should be 80px + 2px border, see in common.css
the rules with td.media-icon ...
as selector that should be updated. Can provide a refreshed patch if needed.
#25
in reply to:
↑ 23
@
10 years ago
Replying to afercia:
Ah, that's my fault, all of mine are cropped square so I didn't notice. I'm going to restrict it down to 60px wide instead of the old 80px (which, yes, will make some images smaller when not square thumbnails) and additionally apply some CSS to make sure nothing goes wrong with images of other sizes.
Working on a patch to hide the comments and thumb columns and show the thumb in the file column.