Opened 6 weeks ago
Last modified 5 weeks ago
#64475 new enhancement
Make dependencies / states more clear
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | 6.5 |
| Component: | Upgrade/Install | Keywords: | has-screenshots has-patch |
| Focuses: | ui | Cc: |
Description
Coming from wp-admin/plugin-install.php, when viewing a plugin that depends on another plugin, the UI currently only states “Additional plugins are required.”
It does not indicate whether the required plugin is already installed, active, or missing. The same lack of information exists on the Plugins screen.
This makes it unnecessarily hard to understand what action is actually required.
I have created a small starter patch to illustrate how this information could be exposed more clearly. The patch is only affecting the plugins list so far. Also CSS is missing.
Attachments (2)
Change History (13)
This ticket was mentioned in PR #10686 on WordPress/wordpress-develop by @Presskopp.
6 weeks ago
#1
- Keywords has-patch added
#2
@
6 weeks ago
missing CSS could look like:
.plugins .dependency-icon {
margin-left: 2px;
vertical-align: text-bottom;
}
.plugins .dependency-icon--active {
color: #46b450; /* WP success green */
}
.plugins .dependency-icon--installed {
color: #1d2327; /* Default admin text */
}
.plugins .dependency-state {
margin-left: 2px;
font-style: italic;
}
.plugins .dependency-state--missing {
color: #b32d2e; /* WP error red (optional) */
}
#3
@
6 weeks ago
- Component changed from Plugins to Upgrade/Install
- Milestone changed from Awaiting Review to Future Release
- Version set to 6.5
Plugin Dependencies were introduced in #22316.
This ticket was mentioned in PR #10695 on WordPress/wordpress-develop by @Presskopp.
5 weeks ago
#4
This follow-up fixes inconsistent whitespace in the plugin dependency list output
introduced during the dependency link refactor.
It ensures consistent spacing and avoids unintended whitespace in the rendered
dependency status markup.
@Presskopp commented on PR #10695:
5 weeks ago
#5
Follow-up fix for whitespace issues is in #10695
@Presskopp commented on PR #10695:
5 weeks ago
#6
I'm so sorry, when I try to tidy up, I just make more mess. This should be only 1 commit
This ticket was mentioned in PR #10697 on WordPress/wordpress-develop by @Presskopp.
5 weeks ago
#7
@westonruter commented on PR #10695:
5 weeks ago
#8
Don't worry about it only being 1 commit. It will be 1 commit in SVN regardless.
#9
@
5 weeks ago
@Presskopp I understand that plugins.png shows the difference after the change. Can you add a screenshot that shows the before state as well?
#10
@
5 weeks ago
The 'before' state doesn't show the detailed states like "not installed", "installed", "active" and of course there are no checkmarks either.
In the first screenshot (patch applied) the view under plugin-install.php is showing "not installed" but this has been "photoshopped". It should be part of the final patch, that's why I added it to the image.
make dependencies and states more clear
Trac ticket: 64475