Commit Graph

165 Commits

Author SHA1 Message Date
Łukasz Mierzwa
96f9df7e50 fix(ui): tweak dark theme css 2019-12-25 19:58:02 +00:00
Łukasz Mierzwa
5b64a4699a fix(ui): margin should only be set between elements
Right now margin is set after each element rather than to enfore space between two elements
2019-12-23 14:56:23 +00:00
Łukasz Mierzwa
e7d6edc163 chore(ui): change default label color to gray
Orange color isn't very readable and stands out on the page, use
more neutral and more readable gray
2019-12-16 21:42:17 +00:00
Łukasz Mierzwa
a7b409e661 fix(ui): reduce bundle size 2019-11-29 15:58:16 +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
aab5b29eb6 fix(ui): avoid duplicating bootstrap styles
bootstrap css gets injected multiple time due to how imports are structured, only import variables in component scss
2019-11-21 22:28:26 +00:00
Łukasz Mierzwa
da66604864 fix(ui): reformat js code 2019-11-09 14:57:50 +00:00
Łukasz Mierzwa
63a3d2a30b feat(ui): allow acknowledging alerts using short lived silences 2019-11-05 14:11:23 +00:00
Łukasz Mierzwa
3e9b5f6152 chore(ui): tweak silence css for better readability 2019-11-01 19:29:12 +00:00
Łukasz Mierzwa
013499388f fix(ui): reset lazy loader limit if group count changes 2019-10-31 23:33:47 +00:00
Łukasz Mierzwa
560e1e2cf3 fix(ui): cleanup colors on silence comments 2019-10-31 19:24:11 +00:00
Łukasz Mierzwa
a6a9ab494d fix(ui): tweak margins for the collapse toggle on silence view 2019-10-30 17:25:12 +00:00
Łukasz Mierzwa
96822e7f66 feat(ui): show matched alert count on silence browser 2019-10-30 17:25:11 +00:00
Łukasz Mierzwa
acae2cb2a5 chore(ui): remove all usage of Provider component 2019-10-30 13:44:18 +00:00
Łukasz Mierzwa
c31917d0b7 chore(ui): avoid using inject in FilteringLabel 2019-10-30 13:35:58 +00:00
Łukasz Mierzwa
f57041988a chore(ui): avoid using inject in RenderNonLinkAnnotation 2019-10-30 13:31:44 +00:00
Łukasz Mierzwa
0bf5ec1b72 chore(ui): avoid using inject in FilteringCounterBadge 2019-10-30 13:29:17 +00:00
Łukasz Mierzwa
2d4e2640b2 chore(ui): avoid using inject in FetchPauser 2019-10-30 13:24:48 +00:00
Łukasz Mierzwa
794607919a feat(ui): experimental dark theme
Very ugly, might be buggy, but need to start somewhere
2019-10-28 18:38:12 +00:00
Łukasz Mierzwa
2c8db31fe5 fix(ui): fix matcher overflowing parent of silence details 2019-10-28 10:38:59 +00:00
Łukasz Mierzwa
a5255d5d16 chore(ui): use pure css instead of react-truncate 2019-10-27 15:27:04 +00:00
Łukasz Mierzwa
3ef58930ad fix(ui): set silence modal tab on edit 2019-10-27 12:35:17 +00:00
Łukasz Mierzwa
16f2d74603 fix(ui): avoid overflows on silence collapse toggle 2019-10-27 11:59:13 +00:00
Łukasz Mierzwa
490e0f43de fix(ui): avoid overflows on silence component 2019-10-27 09:00:03 +00:00
Łukasz Mierzwa
f3572dba61 fix(ui): tweak silence display 2019-10-26 17:46:02 +01:00
Łukasz Mierzwa
96cd8a856b chore(ui): replace Silence usage with ManagedSilence 2019-10-26 17:36:31 +01: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
1266458505 chore(ui): change alert background on hover 2019-10-22 22:40:22 +01:00
Łukasz Mierzwa
1346237777 fix(project): refactor proxy & external_uri handling
Fixes #1024
2019-10-11 00:10:58 +01:00
Łukasz Mierzwa
16cb976e81 fix(ci): update snapshots after font-awesome upgrade 2019-10-10 16:08:22 +01:00
Łukasz Mierzwa
49325fcca5 fix(tests): always use UTC timestamps in UI tests 2019-10-05 11:31:18 +01:00
Łukasz Mierzwa
68b3793ef3 fix(ui): add a test for react-moment 2019-10-05 11:16:47 +01:00
Łukasz Mierzwa
ff7d83c211 fix(ui): reset grid size on settings change 2019-10-02 21:15:23 +01:00
Łukasz Mierzwa
9b78c96e1e fix(ui): better handling of window resize events 2019-10-02 19:32:22 +01:00
Łukasz Mierzwa
2b86aaaedb chore(tests): update snapshots after font-awesome upgrade 2019-09-29 15:37:05 +01:00
Łukasz Mierzwa
80c30f1879 fix(ui): pass configured alertmanager headers when making requests from the browser
Right now configured headers are only set on requests made from the backend to alertmanager API.
With this change fetch() calls in the browser will use those headers if proxy mode is not enabled.
2019-09-26 20:37:23 +01:00
Łukasz Mierzwa
456cbf0904 fix(ui): prevent grid resize loops
Fixes #721
2019-09-23 22:40:52 +01:00
Łukasz Mierzwa
c24ebe1124 fix(tests): update snapshots after font-awesome bump 2019-09-19 14:00:32 +01:00
Łukasz Mierzwa
a36fd55627 fix(ui): generate correct group URL
current filters got appended to the group url, fix it by stripping query args away
2019-08-14 19:18:12 +01:00
Łukasz Mierzwa
548be9e861 feat(ui): pass sort parameters when fetching alerts 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
6b497217d9 fix(backend): remove endsAt from alerts
This is unused but keeps changing
2019-08-08 15:45:00 +01:00
Łukasz Mierzwa
9b6273595d chore: move sorting to the backend 2019-08-08 15:45:00 +01:00
Łukasz Mierzwa
443dfc02be Revert "feat(ui): lazy render alert group content"
This reverts commit 42a9998f14.

Lazy render conflicts with grid packing and alert groups being move around, this is because it only listens to scroll events.
Need a visibility sensor for this feature to work properly.
2019-07-31 23:22:53 +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
42a9998f14 feat(ui): lazy render alert group content
This is to avoid rendering lots of expensive components while they're not in the viewport.
Should provide some performance improvements when there's plenty of alerts.
2019-07-26 22:03:05 +01:00
Łukasz Mierzwa
32463d6435 chore(ui): switch from Lato to Open Sans fonts 2019-06-20 18:52:23 +01:00
Łukasz Mierzwa
f343d450df feat(ui): show a spinner while silence is being deleted
Makes it obvious that the UI didn't freeze on slow connections
2019-06-12 20:37:13 +01:00
Łukasz Mierzwa
685a0220e0 fix(ui): use width passed by ReactResizeDetector instead of body width
Trying to fix #721.
2019-05-27 11:39:35 +01:00
Łukasz Mierzwa
f50ac75363 fix(ui): fix alert menu content being under other alert groups
Because every alert group uses 'position: absolute' our menu content rendered after clicking on group header or each alert dropdown is hidden under neighbour groups. To fix this we'll add 'z-index: 100' to the group with currently open menu.
2019-05-10 20:06:02 +01:00
Łukasz Mierzwa
884bbe8398 feat(ui): add shadows to dropdown menus 2019-05-09 22:56:27 +01:00