alerta / angular-alerta-webui

Alerta Web UI 6.0 (DEPRECATED) - See latest version Web UI 7.0
https://github.com/alerta/alerta-webui
MIT License
69 stars 52 forks source link

alerta ui kiosk mode #175

Closed abenaguev closed 5 years ago

abenaguev commented 6 years ago

Hi, Nick. It's me again. It's would be nice to have UI kiosk mode, when all elements except table are hided. Useful for wall-panels and so on. What your think?

satterly commented 6 years ago

I think it's a good idea. Is this something you are suggesting you could do? Or is this an enhancement request?

abenaguev commented 6 years ago

Mostly request, I think. My knowledge of frontend (especially angular) is near zero. Seems to be it's can be done with this "ng" things? I can try, but I need your advice

satterly commented 6 years ago

Add something like ng-hide="isKioskMode()" to the menu and other elements that you don't want shown in kiosk mode.

Then in the "menu" controller we'll need to add a hotkey listener that can toggle the "kiosk mode" flag if the user hits "k" or something.

Let me know if you need more help. 👍

abenaguev commented 6 years ago

Great, will try in the evening. Hotkeys is good, but for wallpanels we must have &kiosk url parameter

abenaguev commented 6 years ago

Ok, seems to be working with help of my boss) I'll make PR later