Commit Graph

28 Commits

Author SHA1 Message Date
Łukasz Mierzwa
ca0a0b3077 fix(ui): drop useLocalStore from modals 2020-06-08 17:16:01 +01:00
Łukasz Mierzwa
ba459a08e2 fix(ui): add regex filters to default silence matchers
Fixes #1750
2020-05-18 09:30:15 +01:00
Łukasz Mierzwa
e0ac21e1c6 feat(ui): use current filters as default silence form matchers
Fixes #1750
2020-05-17 22:14:23 +01:00
Łukasz Mierzwa
60bdf96be1 feat(ui): use hooks for fetch requests 2020-05-11 12:49:24 +01:00
Łukasz Mierzwa
5bb3b92a70 feat(ui): animate toggle icon on changes 2020-04-22 11:12:55 +01:00
Łukasz Mierzwa
c12f218b4e fix(ui): reformat code using prettier v2 2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
caded5f465 fix(ui): remove silenceForm.author usage in the UI 2020-02-22 15:50:01 +00:00
Łukasz Mierzwa
541b1ef519 feat(ui): enforce username from credentials if auth is enabled 2020-02-22 15:50:01 +00:00
Łukasz Mierzwa
96f9df7e50 fix(ui): tweak dark theme css 2019-12-25 19:58:02 +00:00
Ł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
072d700b43 fix(ci): expand silence payload preview on storybook 2019-10-12 10:50:54 +01:00
Łukasz Mierzwa
f8b233ae33 feat(ui): more storybooks 2019-09-10 10:25:43 +01:00
Łukasz Mierzwa
36617b2f49 feat(ui): prefer silence author from the API response over local storage 2019-07-12 23:22:08 +01:00
Łukasz Mierzwa
3839d531e4 fix(ui): allow any string as silence author, not just email
Alertmanager doesn't restrict this field, so no need to force an email there.

Fixes #741
2019-05-30 23:08:13 +01:00
Łukasz Mierzwa
8bd27f8ff7 feat(ui): add tooltips to clickable components 2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
6d44e9bb02 feat(ui): preview affected alerts before submitting silence 2018-10-06 17:04:20 +01:00
Łukasz Mierzwa
cfb56c65ea refactor(ui): rename SilencePreview to PayloadPreview 2018-10-06 13:42:19 +01:00
Łukasz Mierzwa
8b8a7fb813 feat(ui): silence match preview should use selected Alertmanagers
Counter should use selected Alertmanager instances, rather than match all alerts from all instances
2018-10-06 13:34:37 +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
af6c166259 feat(ui): allow editing exiting silences
Fixes #87
2018-10-01 21:26:51 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
2fa7c8fab9 fix(ui): reset silence form duration on every mount 2018-09-09 20:51:05 +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
ff25e30121 feat(ui): render validation error as placeholders if form failed to validate 2018-09-04 21:52:44 +01:00
Łukasz Mierzwa
3cb3ed6990 feat(ui): validate silence form data before submiting 2018-09-04 14:22:15 +01:00
Łukasz Mierzwa
4427e77684 feat(ui): better autocomplete settings on silence form 2018-08-16 18:02:02 +01:00
Łukasz Mierzwa
f1ac471a9c refactor(ui): refactor silence form
Style silence start & end input to better match old ui, which should improve UX
2018-08-15 11:15:39 +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