When there are no results to show, the tab currently shows up as "View (0)". We received a good suggestion to alter the appearance of the tab in this situation to show up as disabled, to better visually convey there are no results. I think we should do this whether or not we keep the result counts.
Description
Description
Related Objects
Related Objects
- Mentioned In
- T315895: Suppress button when no results
Event Timeline
Comment Actions
I've got this working with Vector (the old version), though it's not pushed live yet. I may tune the gradient and text color.
It works by using JavaScript to replace the anchor (link) tag inside the portlet with a span that just says "View (0)", along with CSS to modify the appearance of the portlet and text.
Since each skin styles portlet links differently, I'll have to come up with the CSS for the other skins we plan to support, which I assume is at least Vector Legacy, Vector 2022, and Timeless.
Comment Actions
This has been launched for Vector Legacy, Vector 2022, and Timeless.
Vector Legacy:
Vector 2022:
Timeless: