Commit Graph

19 Commits

Author SHA1 Message Date
Łukasz Mierzwa
de43f1ac4a feat(ui): theme switching
This add "proper" dark mode using darkly bootstrap theme
2019-11-27 12:18:13 +00:00
Łukasz Mierzwa
1fe5ced71c fix(ui): workaround multiple modals conflicting with each other 2019-10-27 07:35:04 +00:00
Łukasz Mierzwa
87efb25cd8 feat(ui): add UI for managing all silences
This change adds a new view mode in the silence modal that allows to browse and edit any silence found in alertmanager upstream.

Fixes #625
2019-10-26 17:36:12 +01:00
Łukasz Mierzwa
f8b233ae33 feat(ui): more storybooks 2019-09-10 10:25:43 +01:00
Łukasz Mierzwa
312b718b7a feat(ui): close modal window when user hits the Escape key
Fixes #842
2019-07-31 19:56:57 +01:00
Łukasz Mierzwa
0b7386f777 chore(ui): show navbar button indicator on hover 2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
d9c04616bf feat(ui): add indicators on open modal buttons 2019-07-09 23:03:01 +01:00
Łukasz Mierzwa
eb1181cd70 feat(ui): lazy load modals
This uses React code splitting to only load modal content components if they are used - all modal components will be loaded the first time user open a modal, rather than on initial page load
2019-05-11 18:38:54 +01:00
Łukasz Mierzwa
96acb5bbfe fix(ui): fix silence form reset callbacks
resetProgress() should only be called *after* form is hidden, doing it before will cause it to re-render with UserInput stage which will trigger autocomplete requests
2018-10-11 10:25:31 +01:00
Łukasz Mierzwa
7adf1bbfd5 refactor(ui): move common modal code to a dedicated component 2018-10-08 21:54:22 +01:00
Łukasz Mierzwa
8bd27f8ff7 feat(ui): add tooltips to clickable components 2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
66588d10d3 chore(ui): better modal animation, based on bootstrap code 2018-10-04 19:39:29 +01:00
Łukasz Mierzwa
7243cfc149 fix(ui): don't use a for elements without href 2018-10-03 11:14:45 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
1b4f611406 feat(ui): animate modals 2018-09-22 15:20:40 +01:00
Łukasz Mierzwa
ebf1dcd43a fix(ui): silence form needs to be reset every time it's hidden 2018-09-09 22:55:21 +01:00
Łukasz Mierzwa
69229c079c feat(ui): save last used silence author to local storage
Silence form should default to last used author email so there's no need to re-type it all the time
2018-09-08 11:03:07 +01:00
Łukasz Mierzwa
ee545f9500 fix(ui): render silence modal on the body using portal
This way modal isn't nested under navbar and doesn't get classes from it
2018-08-15 19:20:31 +01:00
Łukasz Mierzwa
18344959d7 feat(ui): allow silencing alerts
This adds a modal dialog for silencing alerts
2018-08-10 17:38:27 +01:00