View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037144 | mantisbt | ui | public | 2026-05-20 11:59 | 2026-05-25 11:54 |
| Reporter | raspopov | Assigned To | dregad | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 2.28.3 | ||||
| Summary | 0037144: Optional plugin dependencies are not displayed | ||||
| Description | The | ||||
| Steps To Reproduce | Please see the attached file. | ||||
| Additional Information | Currently, the site interface only displays dependencies from the plugin's | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
It's a good idea, but I don't really like the the repeated I believe it would be better to display dependencies in 2 groups, with a small label to distinguish Optional ones, e.g. something like
What do you think ? |
|
|
This option isn't very attractive either, and it takes up a lot of space, since neighboring plugins need to be spaced apart so their dependencies don't appear to be clustered together... |
|
|
This is what the version with labels looks like: |
|
Agreed.
The proposed variant with tags is not bad, but it does not look right due to the tag's arrowhead not being vertically centered with the span containing the plugin name. Could you align them, and maybe reduce a bit the font size in the tag ? Also, to reduce clutter, I would just completely remove the "required" tag - it's implied - and only show an indicator for optional dependencies. |
|
|
PR updated. |
|
|
Much better, almost there I think. Strangely, the vertical alignment looks good on Chrome, but not on Safari (label seems shifted down), but I don't think it's worth the effort to fiddle with that. Minor tweaks:
To ensure consistent display, I'd suggest adding a line-height: 22px; attribute (or any other tweak you deem more appropriate). |
|
|
In the new commit, I made the classes for the plugin name and its label the same, and I also increased the line height of the container (table cell). |
|
That makes the font smaller (13px -> 11px), which is fine for the optional label but I'd rather keep the bigger font for the plugin name if possible - keep consistency with the rest of the table -- and also, I have old eyes ;-) Otherwise, it looks good on Safari, Chrome and Firefox too. |
|
|
Unfortunately, despite the vast number of existing styles, I couldn't find one that would space out the lines or increase their size in the desired proportion. I had to add a “multiline” style with the necessary margin as a child of “label”. :-| |
|