848 Commits

Author SHA1 Message Date
Łukasz Mierzwa
1b3c15a8eb fix(tests): add missing test coverage 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
548be9e861 feat(ui): pass sort parameters when fetching alerts 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
6b688d6ebb fix(ui): remove prune alert attributes from models 2019-08-08 15:45:01 +01:00
Łukasz Mierzwa
557e6cc86a feat(ui): pass sort settings to the API 2019-08-08 15:45:00 +01:00
Łukasz Mierzwa
a176138a34 fix(ui): set default settings keys 2019-08-08 15:45:00 +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
Renovate Bot
319e61b444 fix(deps): update dependency mobx-react to v6.1.2 2019-08-08 12:11:36 +00:00
Renovate Bot
69ead1850d fix(deps): update dependency @sentry/browser to v5.6.1 2019-08-08 10:11:17 +00:00
Renovate Bot
105fe7ed49 fix(deps): update dependency @sentry/browser to v5.6.0 2019-08-07 11:33:28 +00:00
Łukasz Mierzwa
a3be6e9a7f fix(ui): cleanup scss variable imports
All scss imports needs to use App.scss, otherwise some overrides won't be present, like font swap Lato -> Open Sans
2019-08-03 18:29:27 +01:00
Renovate Bot
294a11a81b fix(deps): update font awesome 2019-08-02 22:47:51 +00:00
Renovate Bot
58b7d95416 fix(deps): update dependency react-transition-group to v4.2.2 2019-08-02 20:41:37 +00:00
Łukasz Mierzwa
716644494f chore(ui): upgrade all 3rd party dependencies 2019-08-01 21:43:55 +01:00
Łukasz Mierzwa
9548dc705a fix(ui): don't reset scroll lock on hidden modal update 2019-08-01 20:02:39 +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
34a0fa1dc4 fix(ui): disable hotkeys when modal is hidden
HotKeys component needs to be unmounted on hide, otherwise we might have multiple modals responding to key events
2019-07-31 22:19:23 +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
Renovate Bot
e6699ba34b fix(deps): update dependency @fortawesome/fontawesome-svg-core to v1.2.20 2019-07-29 19:11:59 +00:00
Renovate Bot
4cdfc8e0c5 fix(deps): update font awesome to v5.10.0 2019-07-29 16:30:58 +00: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
Renovate Bot
5d734770ec fix(deps): update dependency semver to v6.3.0 2019-07-23 19:29:02 +00:00
Renovate Bot
9feea66e86 fix(deps): update dependency react-idle-timer to v4.2.8 2019-07-20 04:57:32 +00:00
Łukasz Mierzwa
559870b861 chore(ui): switch to column render for navbar icons with only 1 filter 2019-07-19 16:25:46 +01:00
Łukasz Mierzwa
7f42965a84 fix(ui): break words on upstream error messages to avoid overflow 2019-07-18 23:21:49 +01:00
Renovate Bot
157a55fa46 fix(deps): update dependency mobx to v5.13.0 2019-07-18 08:20:33 +00:00
Renovate Bot
ed1cc2447e fix(deps): update dependency typeface-open-sans to v0.0.75 2019-07-17 23:35:20 +00:00
Łukasz Mierzwa
4734c9882c chore(ui): don't focus input on mobile
Focusing input on a mobile browser pulls in the keyboard view, which takes half of the screen. Let user click it manually if needed
2019-07-16 22:35:11 +01:00
Łukasz Mierzwa
d1e1d7fe2f feat(ui): show only common labels in the overview modal by default 2019-07-16 19:39:14 +01:00
Renovate Bot
3d3e81be4b chore(deps): update dependency @commitlint/travis-cli to v8.1.0 2019-07-15 20:38:51 +00:00
Łukasz Mierzwa
8439a56cc9 chore(ui): update snapshots after package-lock upgrades 2019-07-14 23:04:27 +01:00
Łukasz Mierzwa
c1ae2eafa0 chore(ui): upgrade all 3rd party dependencies 2019-07-14 22:42:23 +01:00
Łukasz Mierzwa
b78c47cb93 fix(ui): don't crash when removing last matcher value
Removing last value sets the value that's expected to be a list to null, which breaks some logic, ensure we always have a list there

Fixes #827
2019-07-14 22:15:57 +01:00
Łukasz Mierzwa
6152067ce1 fix(ui): don't crash when removing last Alertmanager instance
Removing last value sets the value that's expected to be a list to null, which breaks some logic, ensure we always have a list there.

Fixes #826
2019-07-14 21:50:00 +01:00
Łukasz Mierzwa
610e08356e chore(ui): disable tooltips on the overview modal
These get triggered too often, blocking view of other labels
2019-07-14 19:32:57 +01:00
Łukasz Mierzwa
d41fbff99e feat(ui): show the number of hidden label on the overview modal
We only render top 9 labels, add a counter showing how many were skipped
2019-07-14 19:09:20 +01:00
Łukasz Mierzwa
2bdbfeb16f chore(ui): user offset and raw filter from the api response 2019-07-14 18:22:55 +01:00
Łukasz Mierzwa
88ba0cc657 feat(ui): allow removing filters from the overview modal 2019-07-14 18:22:55 +01:00
Renovate Bot
3d7fefb8e5 fix(deps): update dependency body-scroll-lock to v2.6.4 2019-07-13 21:35:36 +00: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
9b348c2437 feat(ui): add an offset to overview modal labels
A little nicer and cleaner view of the percent bar below labels
2019-07-11 22:41:31 +01:00
Łukasz Mierzwa
6201133df9 fix(ui): tweak display of labels on the overview modal 2019-07-11 17:42:32 +01:00
Łukasz Mierzwa
ee5efc6023 chore(ui): use xl size for the overview modal 2019-07-11 13:16:12 +01:00
Łukasz Mierzwa
7d7d6d5e93 fix(ui): add missing tests 2019-07-11 10:59:35 +01:00
Łukasz Mierzwa
3b2ed27e25 fix(ui): fix warning progress bar in overview modal 2019-07-11 10:23:15 +01:00
Łukasz Mierzwa
0b7386f777 chore(ui): show navbar button indicator on hover 2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
70e69fda09 feat(ui): add a modal with labels overview
Fixes #766
2019-07-10 22:39:17 +01:00
Łukasz Mierzwa
d9c04616bf feat(ui): add indicators on open modal buttons 2019-07-09 23:03:01 +01:00
Łukasz Mierzwa
f0fee594d9 feat(api): add labels stats to the api response
These will be used by an overview modal, showing top labels.
2019-07-09 23:03:01 +01:00
Renovate Bot
fe7d231ee8 fix(deps): update dependency react-datepicker to v2.8.0 2019-07-09 13:25:07 +00:00