#5660 closed enhancement (fixed)
Redesign of Plugins page
Reported by: | DD32 | Owned by: | DD32 |
---|---|---|---|
Milestone: | 2.5 | Priority: | lowest |
Severity: | normal | Version: | 2.5 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
First up, I'm not sure if theres any redesign for the admin plugin pages in the works or not, But even if there is, I thought i'd get this out there as an idea.
As i mentioned here: http://trac.wordpress.org/ticket/5625#comment:18 It'd be nice for the plugins page to have a single actions column, It should look a bit cleaner, and also allows more links/dynamic number of links to be presented in much the same way.
It would be a clean way to display the Uninstall link(#5625) as well (Screenshot includes a example of adding a 'Configure' link to the actions list)
I've attached a patch, And also a screenshot of the result, The CSS styling will probably need changing, but i'm mainly after input from devs on this. I'm happy for this ticket to remain on ice until after the admin redesign has been completely done, I just wanted to get this out there now.
Attachments (4)
Change History (24)
#2
follow-up:
↓ 5
@
17 years ago
Hmm, I think I like the version in its own column after all.
I hope the devs like this idea as well. It would make adding configure link and uninstall a lot easier/cleaner.
#3
follow-up:
↓ 4
@
17 years ago
How did you get the configure link to show up? I'm not finding the code in the patch. It would be neat if the last column was nowrap
.
#4
in reply to:
↑ 3
@
17 years ago
Replying to darkdragon:
How did you get the configure link to show up? I'm not finding the code in the patch. It would be neat if the last column was
nowrap
.
The column not wrapping would indeed be good.
As for the configure link, I simply used this code in a plugin file: (Mind you, A plugin would call a function to register such a link i would assume, and there'd be a check in the row loop to se if theres a configure link, or an uninstall link available for it)
add_filter('plugin_row_actions','pluginaction_filter'); function pluginaction_filter($actions){ if( rand(1,3) == 1 ) //Only show it 1/3 of the time $actions[] = "<a href='#'>Configure</a>"; return $actions; }
#5
in reply to:
↑ 2
@
17 years ago
Replying to darkdragon:
Hmm, I think I like the version in its own column after all.
I'm still undecided on that as well honestly, The version number isn't something i care for, I dont need to see it all the time, But it doesnt look 'right' there either.
#7
@
17 years ago
Or hidden by default but using JavaScript have the column with the version come up.
#8
in reply to:
↑ 6
@
17 years ago
Replying to darkdragon:
It could be in the title attribute of the Plugin Name?
Thats a possibility, But it also needs to be visible for a quick-look of what the current version is IMO.
Or hidden by default but using JavaScript have the column with the version come up.
Relying on Javascript for basic functionality seems a bad idea to me, But still a possibility.
I'm personally thinking re-instating the Version column, And trying to make the Action column behave nicer with the wrapping. I'm not that great with useable interfaces, So any suggestions are worth trying :)
Devs: Is the Green staying in the redesign? Is the table as we know it staying(aside from this ticket)?
I think i'll just not think about it too much until a dev can confirm if its worth going ahead with at the present time, I think a non-column-for-each-functionality layout is the way to go myself though - the original reason for this ticket.
#11
follow-up:
↓ 13
@
17 years ago
Acutally, although a vertical bar is used a separator, the actions are still justified with each other across rows. See the attached tiff of the wireframe.
#12
@
17 years ago
Let's retain the version column for now. If we need to retain colspan on the actions to get things to line up, we can do a count on the new actions array.
#13
in reply to:
↑ 11
@
17 years ago
Replying to ryan:
Acutally, although a vertical bar is used a separator, the actions are still justified with each other across rows. See the attached tiff of the wireframe.
Looking at that wireframe, it does look nice and slick, And the version column fits in nicely.
As for the actions, It seems they're just right justified to me, Which gives the column view.
Maybe 'Configure'(or any other actions) could be listed underneath Deactivate/Edit, As it seems the Delete button would be used for any uninstall methods.
#14
@
17 years ago
- Milestone changed from 2.5 to 2.6
- Type changed from defect to enhancement
It doesn't seem that the plugins matches the new redesign. The plugins page has been cleaned up to match the new redesign, but hasn't added any of the new features.
I'm bumping this to 2.6, because I think this is a great idea and would like for it to get in soon.
#15
@
17 years ago
- Keywords needs-patch added; dev-feedback 2nd-opinion has-patch removed
resetting to needs-patch, Ticket can be re-used for modifying plugin page in 2.6 to support more flexible functionality(dynamic columns/etc)
#17
@
16 years ago
- Keywords has-patch added; needs-patch removed
attachment 5660.2.diff added.
refresh the patch to allow a customised list of action links
Allows a function to filter the list as such:
add_filter('plugin_action_links', 'plugins_configure'); function plugins_configure($actions){ return array_merge(array('<a href="#">Configure</a>'), $actions); }
which adds a Configure link to the start of the list, simpler to attach a link to the end of the list.
@
16 years ago
refresh the patch to allow a customised list of action links (refreshed again after [7515])
#19
@
16 years ago
- Milestone changed from 2.6 to 2.5
- Resolution set to fixed
- Status changed from new to closed
I like this idea. +1 from me.