Commit Graph

24 Commits

Author SHA1 Message Date
Łukasz Mierzwa
8242ec64f8 feat(ui): use silence form settings exposed via the backend API
Silence form when populating matchers from alerts or alert groups will now ignore labels listed in silenceForm:strip:labels
2019-04-29 20:54:17 +01:00
Łukasz Mierzwa
ed21ee6149 fix(ui): lower repack debounce
50ms is very noticable and one can see groups overlapping each other, 10ms is nicer
2019-04-26 12:01:54 +01:00
Łukasz Mierzwa
97bf34c45d fix(ui): debounce grid updates so that they are batched 2019-04-25 22:02:14 +01:00
Łukasz Mierzwa
b1c89858e8 feat(ui): allow configuring grid size 2019-04-14 23:05:11 +01:00
Łukasz Mierzwa
c2d34cd0eb feat(ui): dynamically calculate grid size
This allows to have dynamic grid size, rather than static with values hardcoded in Constants file
2019-04-14 17:33:06 +01:00
Łukasz Mierzwa
5836d72513 fix(ui): fix grid animations
Fade on mount wasn't working because it was placed at the wrong level.
Animate group moves around the grid.
2019-04-13 10:45:24 +01:00
Łukasz Mierzwa
2f243b8e16 fix(ui): refactor browser window resize handler
bricks.js already handles resize but it needs fixed width on elements to work properly
2019-04-13 10:45:24 +01:00
Łukasz Mierzwa
04f3d6791c fix(ui): don't crash on null grid 2019-04-11 12:50:56 +01:00
Łukasz Mierzwa
8592f6a941 fix(ui): don't error on font load timeout 2019-04-09 14:08:06 +01:00
Łukasz Mierzwa
669f227b23 fix(ui): repack alert grid on font load
When fonts are loaded size of rendered elements might change, which can break the grid display, trigger a repack to fix that
2019-04-05 17:18:36 -07:00
Łukasz Mierzwa
3bd6ebbf3a feat(ui): use grid sorting settings from the API as defaults 2019-02-20 22:24:54 +00:00
Łukasz Mierzwa
397bbe5783 feat(config): allow configuring label value mapping for sorting
This feature solves the problem of sorting by label when values have special meaning and alphabetic sort doesn't make sense for it.
2019-02-18 23:17:47 +00:00
Łukasz Mierzwa
da6368288a feat(ui): allow sorting alert grid
This adds the ability for user to sort the grid of alerts via selected attribute.
UI configuration is provided to setup if timestamps or labels should be used to sort alerts.
2019-02-15 17:23:37 +00:00
Łukasz Mierzwa
ffa446e8f6 chore(ui): update UI to consume cluster list as a dict 2018-11-30 23:59:58 +00:00
Łukasz Mierzwa
0ec81e8427 fix(ui): don't show @alertmanager labels on HA setup
Only show @alertmanager labels when we have more than one cluster present
2018-11-30 19:27:12 +00:00
Łukasz Mierzwa
58779a2404 fix(ui): sort alert groups by id before slicing
This is a short term fix to reduce potential re-ordering of alert groups on the grid. This needs to be controlled by user.
2018-09-16 18:57:27 +01:00
Łukasz Mierzwa
7c55510d63 Revert "chore(ui): use transform positioning for grid elements"
This reverts commit bc72041222.

Breaks alert action menu, it gets hidden under next alert group div.
2018-09-16 18:30:41 +01:00
Łukasz Mierzwa
abdce3bec6 Revert "chore(ui): avoid full grid repack on new alerts"
This reverts commit d896fa72b2.

This causes issues with grid rendering - when alert is removed space it was using is not reclaimed.
2018-09-15 23:29:51 +01:00
Łukasz Mierzwa
d896fa72b2 chore(ui): avoid full grid repack on new alerts 2018-09-12 20:52:41 +01:00
Łukasz Mierzwa
bc72041222 chore(ui): use transform positioning for grid elements 2018-09-12 20:12:32 +01:00
Łukasz Mierzwa
572f58ea04 fix(ui): no need to wrap this 2018-08-31 21:18:51 +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
78e2108164 feat(ui): allow configuring default number of alerts to display per group 2018-07-20 18:44:51 +02:00
Łukasz Mierzwa
a4a20ea3ef feat(ui): new UI written in React 2018-07-19 23:38:11 +02:00