Give each TableRow in search results a CSS class that corresponds to the column information. #6210

Open
opened 2026-02-19 23:02:53 -05:00 by deekerman · 2 comments
Owner

Originally created by @RomanySaad on GitHub (Dec 11, 2021).

Is there an existing issue for this?

  • I have searched the existing issues

I would like to create custom Stylus styles for certain search result TableRows. (and TableCells, if possibel) For instance, highlight Bluray-2160p rows or make certain custom formats slightly faded. It would aid in finding the exact release I want at a glance.

Describe the solution you'd like

Can we give each TableRow in the search results a CSS class that corresponds to the column information: source, indexer, flagged, etc. Also include classes for custom formats ("Custom-Scene" for a custom format named "Scene", for instance).

Describe alternatives you've considered

I tried using Tampermonkey to create a jQuery solution since it can query cell text but couldn't easily find where to hijack the function/callback that occurs when the search completes. Turthfully, I didn't search for long.

Anything else?

None, really. This would be custom CSS classes added on the TableRow (and, possibly, TableCell) to help facilitate custom style injection.

AB#2128

Originally created by @RomanySaad on GitHub (Dec 11, 2021). ### Is there an existing issue for this? - [X] I have searched the existing issues ### Is your feature request related to a problem? Please describe I would like to create custom Stylus styles for certain search result TableRows. (and TableCells, if possibel) For instance, highlight Bluray-2160p rows or make certain custom formats slightly faded. It would aid in finding the exact release I want at a glance. ### Describe the solution you'd like Can we give each TableRow in the search results a CSS class that corresponds to the column information: source, indexer, flagged, etc. Also include classes for custom formats ("Custom-Scene" for a custom format named "Scene", for instance). ### Describe alternatives you've considered I tried using Tampermonkey to create a jQuery solution since it can query cell text but couldn't easily find where to hijack the function/callback that occurs when the search completes. Turthfully, I didn't search for long. ### Anything else? None, really. This would be custom CSS classes added on the TableRow (and, possibly, TableCell) to help facilitate custom style injection. [AB#2128](https://dev.azure.com/Servarr/7ab38f4e-5a57-4d70-84f4-94dd9bc5d6df/_workitems/edit/2128)
Author
Owner

@ta264 commented on GitHub (Dec 12, 2021):

I don't think this is going to happen. Certainly not the custom format suggestion - the front-end classes are generated before any custom formats are set up.

Adding classes for all possible values for other items seems like dead weight code to me.

PS let's see what the other Devs think, I'm not a CSS expert.

@ta264 commented on GitHub (Dec 12, 2021): I don't think this is going to happen. Certainly not the custom format suggestion - the front-end classes are generated before any custom formats are set up. Adding classes for all possible values for other items seems like dead weight code to me. PS let's see what the other Devs think, I'm not a CSS expert.
Author
Owner

@RomanySaad commented on GitHub (Dec 12, 2021):

I understand this isn’t exactly high priority. However, just to clarify, the custom css classes would be added by Radarr but it would be up to the user to style them accordingly via a browser extension such as Stylus.

@RomanySaad commented on GitHub (Dec 12, 2021): I understand this isn’t exactly high priority. However, just to clarify, the custom css classes would be added by Radarr but it would be up to the user to style them accordingly via a browser extension such as [Stylus](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Radarr#6210
No description provided.