Commit Graph

18 Commits

Author SHA1 Message Date
Ł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
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
Łukasz Mierzwa
b8f15819b8 chore(tests): update snapshots after fontawesome upgrade 2019-01-29 09:03:51 +00:00
Łukasz Mierzwa
168638ae72 chore(tests): update snapshots after upgrading react-select 2019-01-18 08:55:23 +00:00
Łukasz Mierzwa
82108866b2 chore(tests): update failing snapshots after react-select upgrade to 2.2 2018-12-29 21:26:59 +00:00
Łukasz Mierzwa
fa6f4b270a chore(ui): update snapshots for react-select 2.1.1 2018-10-24 18:05:14 +01:00
Łukasz Mierzwa
fb5c38b528 fix(ui): set high z-index on react-select dropdown menu
It's currently 1 which is the same as buttons on the calendar picker used in the silence form, dropdown needs to have higher value
2018-10-05 22:44:17 +01:00
Łukasz Mierzwa
350823c16b chore(tests): update snapshots for react-select 2.1 version bump 2018-10-03 18:19:55 +01:00
Łukasz Mierzwa
af6c166259 feat(ui): allow editing exiting silences
Fixes #87
2018-10-01 21:26:51 +01:00
Łukasz Mierzwa
ff25e30121 feat(ui): render validation error as placeholders if form failed to validate 2018-09-04 21:52:44 +01:00
Łukasz Mierzwa
e0d4917566 fix(ui): remove dead code
isSelected doesn't seem to get trigger in any way
2018-09-02 18:27:36 +01:00
Łukasz Mierzwa
bbbcb497a5 fix(tests): format options correctly 2018-09-02 18:21:22 +01:00
Łukasz Mierzwa
5e0c766f44 fix(tests): use diffable html instead tree snapshots 2018-09-02 18:14:00 +01:00
Łukasz Mierzwa
eac502df49 fix(tests): add missing MultiSelect coverage 2018-08-31 20:16:49 +01:00
Łukasz Mierzwa
a7e900bd63 feat(tests): more test coverage for MultiSelect 2018-08-30 21:58:02 +01:00
Łukasz Mierzwa
d703fb66aa fix(ui): remove dead code
This function isn't used by react-style, it doesn't match any valid function names, there's singleValue but we don't want break-word on that, it default to truncating too long text
2018-08-30 21:58:02 +01:00
Łukasz Mierzwa
74662aed86 refactor(ui): change multi select background color to 'dark' 2018-08-22 21:04:36 +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