Łukasz Mierzwa
e3596dfbf4
feat(ui): truncate silences with long comments
...
Only show first 2 lines of a silence comment by default, the rest should be visible only when silence details are visible
2019-03-07 23:01:11 +00:00
Renovate Bot
2f4f686d49
fix(deps): update dependency react-scripts to v2.1.8
2019-03-07 01:01:39 +00:00
Renovate Bot
69cf07130b
fix(deps): update react monorepo to v16.8.4
2019-03-05 23:43:20 +00:00
Renovate Bot
3624aa67af
fix(deps): update dependency react-resize-detector to v4.0.2
2019-03-05 19:36:54 +00:00
Łukasz Mierzwa
95ef07bb25
chore(ui): upgrade all 3rd party dependencies
2019-03-05 14:44:48 +00:00
Łukasz Mierzwa
f099ccc0ea
feat(ui): render an indicator icon when alert is inhibited
...
Right now we don't mark inhibted alerts in any way, so they look like silenced alerts with no silence details. Add an icon with tooltip so inhibited alerts can be easily distinguished from silenced onces
2019-03-05 11:02:08 +00:00
Renovate Bot
bfb07eae54
fix(deps): update dependency react-resize-detector to v4
2019-03-04 14:41:18 +00:00
Łukasz Mierzwa
a41c07bcee
fix(ui): pass credentials when sending silences to alertmanager
...
Fixes #484
2019-03-01 20:47:36 +00:00
Łukasz Mierzwa
1093b38164
feat(ui): use not-equal operator when user alt+clicks on a label
...
When user clicks on a label we apply a foo=bar filter, this change allows to add a foo!=bar filter by holding Alt key when clicking.
Fixes #485
2019-03-01 19:44:08 +00:00
Renovate Bot
3d6b8d32ed
fix(deps): update dependency react-transition-group to v2.6.0
2019-02-26 14:48:15 +00:00
Renovate Bot
e0e7eacd40
fix(deps): update dependency @sentry/browser to v4.6.4
2019-02-26 12:05:03 +00:00
Renovate Bot
c5f97f80b9
chore(deps): update dependency enzyme-adapter-react-16 to v1.10.0
2019-02-26 08:59:35 +00:00
Renovate Bot
40c2310cc8
chore(deps): update dependency markdownlint-cli to v0.14.0
2019-02-25 06:52:43 +00:00
Łukasz Mierzwa
6ac1d17c18
refactor(ui): use bootstrap utilities for word breaks
...
Using bootstrap means that we don't need to worry about browser compatibility, which in this case means Edge where this wasn't enough
2019-02-24 22:35:39 +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
56a4150b86
chore(ui): upgrade all 3rd party dependencies
2019-02-22 22:47:12 +00:00
Renovate Bot
63fb461b01
fix(deps): update react monorepo to v16.8.3
2019-02-21 23:27:18 +00:00
Łukasz Mierzwa
3bd6ebbf3a
feat(ui): use grid sorting settings from the API as defaults
2019-02-20 22:24:54 +00:00
Renovate Bot
76709f4d3f
fix(deps): update dependency react-onclickoutside to v6.8.0
2019-02-20 20:32:45 +00:00
Renovate Bot
ff33045fcb
fix(deps): update dependency @sentry/browser to v4.6.3
2019-02-20 14:19:06 +00:00
Renovate Bot
624577cd61
fix(deps): update dependency @sentry/browser to v4.6.2
2019-02-19 15:43:04 +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
Renovate Bot
7993c39442
fix(deps): update dependency react-select to v2.4.1
2019-02-18 02:16:34 +00:00
Łukasz Mierzwa
15f8af9a4a
fix(tests): update snapshot after upgrading enzyme
...
Those extra lines are 2 buttons that should be present: Back and Submit. Not sure why those were missing before, but looks like new enzyme fixes this snapshot test as those are expected.
2019-02-17 09:50:40 +00:00
Renovate Bot
ff3afef036
chore(deps): update dependency enzyme to v3.9.0
2019-02-17 07:44:16 +00:00
Łukasz Mierzwa
c40be083bd
fix(ui): revert react-select to 2.3.0
...
2.4.0 doesn't work on mobile, revert to 2.3.0 until the issue is fixed upstream
2019-02-16 11:21:37 +00:00
Renovate Bot
d649b7b158
chore(deps): update dependency jest-fetch-mock to v2.1.1
2019-02-15 18:22:01 +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
4100486127
fix(tests): add css classes to react-select components
...
react-select 2.4 drops role['option'] from Option components, which makes it harder to find those in the DOM while testing. Set classNamePrefix so that all components get extra react-select-* css classes, which allows to easily reference them in tests via enzyme selectors.
2019-02-15 09:51:19 +00:00
Renovate Bot
e6bdeba028
fix(deps): update dependency react-select to v2.4.0
2019-02-15 04:57:53 +00:00
Renovate Bot
59f071e656
fix(deps): update react monorepo to v16.8.2
2019-02-14 19:20:15 +00:00
Renovate Bot
5fd08940f2
fix(deps): update dependency @sentry/browser to v4.6.1
2019-02-14 16:25:50 +00:00
Renovate Bot
4997523b8b
fix(deps): update dependency @sentry/browser to v4.6.0
2019-02-14 14:13:48 +00:00
Renovate Bot
d2db8e8776
fix(deps): update dependency bootswatch to v4.3.1
2019-02-14 10:42:54 +00:00
Renovate Bot
3a551acc69
fix(deps): update dependency bootstrap to v4.3.1
2019-02-14 08:27:33 +00:00
Renovate Bot
0a5593f5ce
fix(deps): update dependency prop-types to v15.7.2
2019-02-13 20:20:46 +00:00
Renovate Bot
d4dcc4ddff
fix(deps): update font awesome
2019-02-12 17:20:42 +00:00
Renovate Bot
be516777d3
chore(deps): update dependency @commitlint/travis-cli to v7.5.2
2019-02-12 08:18:20 +00:00
Łukasz Mierzwa
17628fec8e
feat(ui): set font-display swap policy
...
This tells the browser to use a fallback font until Leto is loaded, which speeds up initial rendering, especially on slow clients
2019-02-11 19:23:09 +00:00
Renovate Bot
c2f148e329
fix(deps): update dependency react-scripts to v2.1.5
2019-02-11 16:50:21 +00:00
Renovate Bot
8d89b3200a
fix(deps): update dependency @sentry/browser to v4.5.4
2019-02-11 14:56:33 +00:00
Renovate Bot
536221c9e4
fix(deps): update dependency prop-types to v15.7.1
2019-02-11 04:06:03 +00:00
Łukasz Mierzwa
6b3dac473a
chore(ui): upgrade all 3rd party dependencies
2019-02-10 22:38:59 +00:00
Renovate Bot
0017b1e1f2
fix(deps): update dependency react-scripts to v2.1.4
2019-02-10 21:59:00 +00:00
Łukasz Mierzwa
10897b2f93
chore(ui): use thinner fonts
2019-02-10 16:02:14 +00:00
Renovate Bot
8621d5ff74
chore(deps): update dependency @commitlint/travis-cli to v7.5.1
2019-02-09 13:37:19 +00:00
Łukasz Mierzwa
9ee15fa9cc
feat(ui): bundle Lato fonts
...
With this change the browser won't need to make any external requests to render the page.
Fixes #425
2019-02-08 20:33:36 +00:00
Renovate Bot
335e9c4aa2
fix(deps): update react monorepo to v16.8.1
2019-02-06 18:27:40 +00:00
Renovate Bot
f3561141c0
fix(deps): update react monorepo to v16.8.0
2019-02-06 08:42:25 +00:00
Łukasz Mierzwa
f013ec321a
fix(tests): trigger click on the right element
2019-02-06 08:07:10 +00:00