Commit Graph

18 Commits

Author SHA1 Message Date
Łukasz Mierzwa
e2be71d458 feat(ui): collapse alert groups on mobile by default 2019-04-01 21:00:51 -07:00
Łukasz Mierzwa
c74d697596 refactor(ui): add background color to the alert group title
Right now the title and the body blends together in the UI, add background color to make it easier to show where title bar ends and where the alert body starts
2019-03-27 19:25:01 -07:00
Łukasz Mierzwa
41cca9e501 feat(ui): deduplicate silences
If all alerts in a group are silenced and the same silence ID is used for all of them then there's no point in rendering silence object for each of the alerts, since they are all identical. Move the silence rendering to the footer if that happens so we save screen space
2019-03-08 17:41:22 +00:00
Łukasz Mierzwa
e20f75e09c fix(ui): use current number of alerts in the count label
alertsToRender can be higher than the number of alerts in a group if the number keeps changing. This means we might end up with 'Showing 30/10', so ensuring that we don't show a number higher than the actual group size will make it more accurate
2019-02-23 11:18:44 +00:00
Łukasz Mierzwa
8bd27f8ff7 feat(ui): add tooltips to clickable components 2018-10-07 13:14:45 +01:00
Łukasz Mierzwa
83aa8b9649 feat(tests): strict validation for props 2018-09-24 15:28:25 +01:00
Łukasz Mierzwa
cff4528567 refactor(ui): move animations to a dedicated component 2018-09-22 12:59:44 +01:00
Łukasz Mierzwa
a4557cfc49 feat(ui): add alert menu with actions specific to that alert 2018-09-08 21:11:15 +01:00
Łukasz Mierzwa
2bb0f2ffb0 fix(ui): fix the logic for deciding when to show @alertmanager labels in the footer, add a test 2018-09-02 17:50:34 +01:00
Łukasz Mierzwa
da945dbe52 fix(ui): tweak css clases so collapsed alert group doesn't have smaller bottom margin 2018-08-17 17:16:41 +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
Łukasz Mierzwa
d8476f389f fix(ui): drop debug logs 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa
78e2108164 feat(ui): allow configuring default number of alerts to display per group 2018-07-20 18:44:51 +02:00
Łukasz Mierzwa
310e5ad1ea refactor(ui): use object-hash for react array keys instead of JSON.stringify
JSON.stringify can produce huge strings, use hashes instead
2018-07-20 11:56:17 +02:00
Łukasz Mierzwa
a9223adbed fix(ui): better rendering and life cycle for annotations 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
eea9f2f5df fix(ui): fix background color on group load more/less buttons 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
542e45e5ac feat(ui): handle outside clicks in dropdowns 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a4a20ea3ef feat(ui): new UI written in React 2018-07-19 23:38:11 +02:00