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

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

Open
pysysops opened this issue Jan 14, 2019 · 0 comments
Open

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

pysysops opened this issue Jan 14, 2019 · 0 comments

Comments

@pysysops
Copy link

pysysops commented Jan 14, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant