Commit Graph
54 Commits
Author SHA1 Message Date
Łukasz Mierzwa 2e36eff52e fix(ui): all components should use alertStore.fetchWithThrottle() 2018-08-21 20:39:32 +01:00
Łukasz Mierzwa 86815c95dd feat(test): more test coverage for labels 2018-08-21 20:22:08 +01:00
Łukasz Mierzwa da945dbe52 fix(ui): tweak css clases so collapsed alert group doesn't have smaller bottom margin 2018-08-17 17:16:41 +01:00
Łukasz Mierzwa 3e47879744 refactor(ui): render main modal window under document.body via a portal 2018-08-16 19:31:41 +01:00
Łukasz Mierzwa 4427e77684 feat(ui): better autocomplete settings on silence form 2018-08-16 18:02:02 +01:00
Łukasz Mierzwa a010dba7d0 refactor(ui): tweak style of the back button on silence form 2018-08-16 17:50:59 +01:00
Łukasz Mierzwa b2dccf5021 fix(ui): fix missing observer decorator on silence modal 2018-08-16 17:46:56 +01:00
Łukasz Mierzwa 2eceda44b6 fix(ui): try to fix silence duration layout on small screens 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa b71612b9a9 feat(ui): add badges with start/end/duration overviews so user doesn't need to click between tabs 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa 4c7706aeba fix(ui): tweak duration minute change buttons logic 2018-08-15 20:47:34 +01:00
Łukasz Mierzwa ee545f9500 fix(ui): render silence modal on the body using portal
This way modal isn't nested under navbar and doesn't get classes from it
2018-08-15 19:20:31 +01:00
Łukasz Mierzwa f1ac471a9c refactor(ui): refactor silence form
Style silence start & end input to better match old ui, which should improve UX
2018-08-15 11:15:39 +01:00
Łukasz Mierzwa cb421737dd feat(ui): add favicon.js support
Alert count will be displayed in the favicon, backported feature from old UI
2018-08-12 19:57:48 +01:00
Łukasz Mierzwa e7b7c8154d fix(ui): group dropdown item should copy rather than open new tab 2018-08-10 19:54:28 +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
Łukasz Mierzwa 9d1f15e85c refactor(ui): use new style method definition to avoid bind() calls in constructor 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa 5d1084b8e7 fix(ui): better close button align on filters 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa f674fe27ee feat(ui): grow input when focused
When input is not in use (user not typing) reduce input size to minimum, only expand it when it's focused
2018-08-10 17:36:00 +01:00
Łukasz Mierzwa 9baeab3d53 fix(ui): fix rendering fuzzy filter rendering in the history 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa d8476f389f fix(ui): drop debug logs 2018-08-10 17:36:00 +01:00
Łukasz Mierzwa cbe90557bb fix(ui): fix history menu after popper update 2018-08-10 15:49:04 +01:00
Łukasz Mierzwa 9f96918c14 fix(ui): fix group menu after popper update 2018-08-10 15:48:48 +01:00
Łukasz Mierzwa 1a9d13f6a5 fix(ui): fix navbar layout after bootstrap 4.1.3 upgrade
Bootstrap 4.1.3 introduced some changes that caused issues with browser rendering of the input bar, drop autosize component as it's not needed and add classes to ensure that we order elements correctly and that the input can grow correctly if needed
2018-07-28 18:58:48 +02:00
Łukasz Mierzwa fcd7ac63b1 feat(ui): reduce vertical padding on filter input icons 2018-07-26 17:21:52 +02:00
Łukasz Mierzwa 1fc661e593 fix(ui): don't enforce min-height on filter input 2018-07-26 17:21:52 +02:00
Łukasz Mierzwa bc3bc4f930 feat(ui): show version information in the settings modal 2018-07-24 18:02:19 +02:00
Łukasz Mierzwa 4ecf43582d feat(ui): Tweak history dropdown UI 2018-07-24 17:04:25 +02:00
Łukasz Mierzwa 6a23edf579 fix(ui): use correct paths for imports 2018-07-24 10:32:30 +02:00
Łukasz Mierzwa 78e2108164 feat(ui): allow configuring default number of alerts to display per group 2018-07-20 18:44:51 +02:00
Łukasz Mierzwa 310e5ad1ea refactor(ui): use object-hash for react array keys instead of JSON.stringify
JSON.stringify can produce huge strings, use hashes instead
2018-07-20 11:56:17 +02:00
Łukasz Mierzwa fbda7d1f73 fix(ui): make annotation text smaller to better match labels 2018-07-20 11:34:26 +02:00
Łukasz Mierzwa 0f2ebbcbc7 refactor(ui): split settings into dedicated classes 2018-07-20 11:30:40 +02:00
Łukasz Mierzwa a9223adbed fix(ui): better rendering and life cycle for annotations 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 19b0fe2190 fix(ui): fix fetch indicator margin 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 3aa1d868c8 feat(ui): configurable refresh interval 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa b1d9a9c34c feat(ui): respect annotation visibility settings in the UI 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa be3c8ef0c0 feat(ui): allow saving custom filter set as default 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa ad87e56bdd feat(ui): allow editing filters in place 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa e94a9ca846 feat(ui): link silences to Alertmanager details view 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa c9de37bdf2 fix(ui): only call focus on form clicks, avoid focus on filter badge clicks 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 801e76f9ae refactor(ui): move settings keys in the API response to a namespace 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 39c1050715 fix(ui): dropdown width should depend on screen size
To better fit on small screens
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa fe621443b7 feat(ui): add tabs to the modal 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa c3fbb1a6e8 feat(ui): modal window with filters help 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 2b213ada8d fix(ui): cleanup css clases used 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 2b1a9cd601 fix(ui): tweak margins and padding for navbar elements 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa cec210ae2b fix(ui): use an icon instead of a TODO for main menu 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa e0bcae50dd fix(ui): correct clases used for navbar 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa eea9f2f5df fix(ui): fix background color on group load more/less buttons 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa 542e45e5ac feat(ui): handle outside clicks in dropdowns 2018-07-19 23:38:11 +02:00