Skip to content

[feature] Allow plugins to add JS/CSS to base.html #3835

@opicron

Description

@opicron

Version and OS
v0.52.9 - Docker

Is your feature request related to a problem? Please describe.
I am running 500+ (will be 2000+) watches and each have 2 tags. When I look at the watch table it is very bloated.

Image

Describe the solution you'd like
I wrote some JS/CSS code to hide the tag tabs and add a input field to select the tags I want to evaluate instead of a mega list.
If I am able to queue JS/CSS code we can make plugins to customize certain aspects of the UI.

Image Image Image

Describe the use-case and give concrete real-world examples
I am injecting CSS and JS during the docker build process to hide the tags and generate a tag selector using javascript.
I'd rather write a pluggy plugin which can add extra-stylesheets and extra-javascript so base.html can load them correctly.

So the feature request is:
Allow plugins to queue JS/CSS to base.html using extra-stylesheets and extra-javascript

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions