[wp-trac] [WordPress Trac] #25408: Ability to specify that a list table column is "primary"
WordPress Trac
noreply at wordpress.org
Thu May 21 18:42:27 UTC 2015
#25408: Ability to specify that a list table column is "primary"
-----------------------------------------------+-----------------------
Reporter: helen | Owner: stephdau
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.3
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing 4.1-early | Focuses:
-----------------------------------------------+-----------------------
Comment (by stephdau):
@helen: Kept running with [attachment:25408.3.diff], as discussed on
Slack, but it never got to dealing how a primary column is actually
selected/changed. The user-level setting of primary column sounds like it
should be a screen option paired with the current "Show on screen" one
(lists shown/hidden columns when dealing with a list table).
This is where things get a bit complex.
* "Show on screen" is in `wp-admin/includes/screen.php`
* That's JS-enabled so that what the user selects is rendered live
* Assuming the selection of the primary column would be a drop-down
(preferred because of interactions below) or series of radio (meh,
considering we list columns as checkboxes above) underneath that list of
displayed columns
* We have to select the default in initial page load
* Then, if a user hides a column, it should be taken away from the
primary columns list, live, and said list revert to its default (some
special columns can't be hidden).
* Should be added back, live, if unhidden.
* In an ideal world, user shouldn't have to "apply" primary column
change, it should be live too
What's your (and others') perspective on this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25408#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list