mirror of
https://github.com/Radarr/Radarr.git
synced 2026-03-02 22:57:34 -05:00
Give each TableRow in search results a CSS class that corresponds to the column information. #6210
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
On Hold: MetadataAPI Blocking
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Help Wanted
Status: In Progress
Status: Indexer - need invite
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
lidarr-pull
no-conflict
not-pulled
readarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Radarr#6210
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RomanySaad on GitHub (Dec 11, 2021).
Is there an existing issue for this?
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
@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.
@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.