Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.
This repository was archived by the owner on Jan 7, 2020. It is now read-only.

Feature (Discussion): Set theme-color meta tag according to events #810

@pysysops

Description

@pysysops

Expected Behavior

Some mobile browsers support the theme-color meta tag to set the task / address bar UI colour from. This could be useful for using a mobile device as a monitoring indicator.

Current Behavior

Currently, no theme-color is set. The browser / device default is used.

Possible Solution

Create a theme-color factory or service to set the meta tag according to the current status of events. I have a proof of concept on my own Uchiwa install which results in dynamic updates according to event status:

No Issues (silenced) Warning Critical
screenshot_20190104-192124 screenshot_20190104-192102 screenshot_20190104-192028

Depending on how the community feels about this I'd be willing to open up a PR and improve it with help / feedback?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions