[wp-trac] [WordPress Trac] #32395: Truncation is not a good strategy for responsive list tables

WordPress Trac noreply at wordpress.org
Wed Jul 1 01:30:24 UTC 2015


#32395: Truncation is not a good strategy for responsive list tables
-------------------------------------+--------------------------------
 Reporter:  helen                    |       Owner:
     Type:  task (blessed)           |      Status:  new
 Priority:  normal                   |   Milestone:  4.3
Component:  Administration           |     Version:  3.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, accessibility
-------------------------------------+--------------------------------

Comment (by helen):

 In [changeset:"33016"]:
 {{{
 #!CommitTicketReference repository="" revision="33016"
 List tables: A better responsive view.

 Instead of truncating columns, the data that's already in the markup can
 now be toggled into view. Only seems appropriate to celebrate four years
 of contributing by finally doing the first thing I ever mocked up.

 Known issues / concerns:
 * Custom list tables that don't define a primary column will show nothing
 at all. These are not extremely common, as `WP_List_Table` isn't really
 recommended for plugin consumption, but it happens. We need to come up
 with some kind of fallback.
 * Some visual elements, particularly whitespace, could use refining.
 * Needs a11y review.
 * Touch performance on iOS feels sluggish - is there anything we can do
 about that?
 * Would this be better accordion-style (only one expanded at a time)?
 * Is `wp_strip_all_tags()` good enough for column titles that have HTML in
 them? It's essentially a workaround for the fact that core's comments
 column does that for the icon, which maybe it shouldn't. Perhaps worth
 another ticket, as a markup change would be fairly independent.
 * Visual hierarchy is not great when expanded (also worthy of another
 ticket).
 * Quick edit now becomes noticeably more annoying to cancel out of, as you
 have to scroll all the way down and you lose your position from before it
 was opened. Again, worthy of another ticket.

 props Michael Arestad, helen.
 see #32395.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32395#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list