WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 4 days ago

#49715 assigned enhancement

Alternate views for WP List Tables

Reported by: joedolson Owned by: audrasjb
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch needs-testing dev-feedback 2nd-opinion
Focuses: ui, accessibility Cc:

Description

Currently, the WP List Table supports two views: default and "excerpts". This distinction is confusing and doesn't easily allow for other differences between the two views.

As a way to create more flexibility in WP List Tables, we'd like to implement mechanisms for users to choose different views, similar to what's found in Gmail, e.g.: Compact, Default, Comfortable.

This would give us a lot more flexibility in being able to resolve issues where conflicts arise between design, space, and accessibility, because we could offer views where everything is spelled out in a spacious way and also views where information is more compact. As long as the user is able to choose a persistent view that gives them all the information they need, the alternate views can use designs that disclose less detail.

Example tickets that would be impacted include:

#48751
#32170
#35391

Attachments (4)

49715.diff (5.8 KB) - added by audrasjb 11 days ago.
First pass: Allow user to switch between Compact (default) and Extended modes for posts types list tables
Capture d’écran 2020-05-15 à 01.28.29.png (183.1 KB) - added by audrasjb 11 days ago.
49715.diff – "extended" mode displays excerpt (proposal) and row actions (not hidden for better accessibility)
49715.1.diff (8.0 KB) - added by audrasjb 5 days ago.
Add compact/extended view support for comments
49715.2.diff (8.7 KB) - added by audrasjb 5 days ago.
Provide alternate table views (compact/extended) for Posts, users, media and comments screens

Download all attachments as: .zip

Change History (16)

This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.


2 months ago

This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.


7 weeks ago

This ticket was mentioned in Slack in #core by audrasjb. View the logs.


6 weeks ago

This ticket was mentioned in Slack in #accessibility by nrqsnchz. View the logs.


6 weeks ago

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


5 weeks ago

#6 @afercia
5 weeks ago

  • Milestone changed from Awaiting Review to 5.5
  • Owner set to audrasjb

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


3 weeks ago

@audrasjb
11 days ago

First pass: Allow user to switch between Compact (default) and Extended modes for posts types list tables

@audrasjb
11 days ago

49715.diff – "extended" mode displays excerpt (proposal) and row actions (not hidden for better accessibility)

#8 @audrasjb
11 days ago

  • Keywords has-patch needs-refresh needs-testing dev-feedback 2nd-opinion needs-design-feedback added

49715.diff is a first pass:

  • it replaces default list mode with compact mode. I didn't change list value for better backward compatibility, so it's only a wording change.
  • it replaces optional excerpt mode with extended mode. I added some code to handle user settings migration.
  • when selected, extended mode displays post excerpt (it's a proposal, I'm not sure we want to display excerpts at all) and row actions (not hidden for better accessibility).

Todo:

  • Same for taxonomy terms
  • Same for users
  • Same for media
  • Check multisite/network related screens

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


11 days ago

@audrasjb
5 days ago

Add compact/extended view support for comments

@audrasjb
5 days ago

Provide alternate table views (compact/extended) for Posts, users, media and comments screens

#10 @audrasjb
5 days ago

  • Keywords needs-refresh needs-design-feedback removed

49715.2.diff provides alternate table views (compact/extended) for Posts, users, media and comments screens.

Former list (default) and excerpt views are replaced with compact (by default) and extended views. Users can switch from one view to another using screen options.

#11 @audrasjb
5 days ago

Note: we still need to add multisite support, but I'd like to get a review of the current workaround before moving forward on this :)

This ticket was mentioned in Slack in #accessibility by audrasjb. View the logs.


4 days ago

Note: See TracTickets for help on using tickets.