Ł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
791219b152
fix(ci): test long string wrapping on storybook
2019-10-27 08:03:52 +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
93f9add875
chore(ci): move upstream error storybook to the AlertGrid view
2019-10-16 10:34:23 +01:00
Łukasz Mierzwa
540d6c4264
chore(ui): fade grid placeholder on first render
2019-10-14 21:33:26 +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
48b906b887
chore(ui): use mug-hot icon for empty grid
2019-10-08 21:24:41 +01:00
Łukasz Mierzwa
010449c2b3
feat(ui): show an icon when the grid is empty
...
Makes it clear that there are no alerts, especially with hidden navbar
2019-10-07 23:26:03 +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
77ea39afcc
chore(ui): pass upgrade screen reload timer as props
...
Makes it easier to test
2019-09-18 12:12:19 +01:00
Łukasz Mierzwa
465373ab2d
fix(ci): force default font for percy
2019-09-13 12:35:11 +01:00
Łukasz Mierzwa
6200328afc
chore(ci): set different alert start for storybook snapshots
2019-09-10 18:35:31 +01:00
Łukasz Mierzwa
f16676f283
fix(ui): revert style changes for upgrade screen
...
It's more noisy with the background
2019-09-10 12:07:54 +01:00
Łukasz Mierzwa
f8b233ae33
feat(ui): more storybooks
2019-09-10 10:25:43 +01:00
Łukasz Mierzwa
f781af3165
fix(ui): improve readability of error / upgrade messages
2019-09-09 20:33:35 +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
7f42965a84
fix(ui): break words on upstream error messages to avoid overflow
2019-07-18 23:21:49 +01:00
Łukasz Mierzwa
39b6c1105c
fix(ui): add margin to upstream alerts
2019-06-22 20:07:08 +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
Łukasz Mierzwa
adc9ccc95c
fix(ui): use label class for silence matchers to prevent overflow
2019-05-07 08:05:40 +01:00
Łukasz Mierzwa
d75ad0434e
feat(ui): flash annotation text on changes
2019-05-05 19:34:20 +01:00
Łukasz Mierzwa
7aee212dc9
fix(ui): fix fallback sorting by timestamps
...
Sorting by timestaps should be reversed - most recent timestamps first
2019-05-04 23:34:27 +01:00
Łukasz Mierzwa
80338927f7
feat(ui): use alerts timestamp as secondary sort key
2019-05-04 22:05:31 +01:00
Łukasz Mierzwa
e94f66f881
feat(ui): speed up animations with translateZ and translate3d
2019-05-04 20:43:58 +01:00
Łukasz Mierzwa
9bf7746273
fix(ui): add missing class to the inhibition icon
2019-05-04 00:30:02 +01:00
Łukasz Mierzwa
dc00ef86c8
fix(ui): cleanup css classes for labels
2019-05-03 19:14:29 +01:00
Ł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