Event Icons
#1338
Replies: 1 comment
-
|
Yes that would be very cool if it was dynamic, i am not sure how to do it tho. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the UI the events page shows icons for detect objects:

If the application does not have a mapping from the detect object label to an icon it uses a generic icon.
It would be great if the mapping can be extended to include additional labels. I see in code where this is done (frontend/src/components/events/utils.tsx). However, the current approach requires changing application and re-building/deploying to add/change the mapping.
It would be great if Viseron configuration file could do this mapping. For example, object detector
labelssection hadicon:support.Related to this, I did browse carbon icons and there did not see to be a lot of icons appropriate for events so some other icon library might be needed as well. Alternately, maybe the config could include the svg data or link to it.
Clearly this would be a pretty big change. Any thoughts on how this would be accomplished? Does anyone else see the value in something like this?
Beta Was this translation helpful? Give feedback.
All reactions