Lukasz Mierzwa
dcec2cc457
fix(ci): use knip instead of depcheck
2026-03-23 11:00:11 +00:00
Lukasz Mierzwa
638531901a
fix(ui): update eslint
2026-03-09 15:41:44 +00:00
Lukasz Mierzwa
33ce78b8f0
fix(ui): code fixes
2026-02-24 17:42:57 +00:00
Lukasz Mierzwa
e372b7da64
fix(ui): upgrade react to v19
2026-02-24 12:54:05 +00:00
Lukasz Mierzwa
dc5a640bb7
fix(ui): update fetch
2026-02-23 12:44:36 +00:00
Łukasz Mierzwa
afbd81feb0
chore(deps): update jest monorepo to v30.2.0
2026-02-23 11:49:38 +00:00
Lukasz Mierzwa
aa0e3dd68e
fix(tests): get rid of enzyme
2026-02-19 10:53:16 +00:00
Łukasz Mierzwa
4cf6864174
fix(ui): use new import style
2024-01-01 17:48:44 +00:00
Łukasz Mierzwa
c10ac05e49
fix(ui): migrate to vite
2023-12-01 09:53:56 +00:00
Łukasz Mierzwa
92496d5fc0
fix(tests): reformat code
2023-07-25 19:16:46 +01:00
Łukasz Mierzwa
e36acbd97d
fix(tests): update jest tests
2022-06-02 10:20:58 +01:00
Łukasz Mierzwa
22e416dd0b
fix(ui): don't resize navbar on hover
2022-02-10 12:14:39 +00:00
Łukasz Mierzwa
f9aa757101
fix(ui): resolve lint errors
2021-12-15 17:02:38 +00:00
Łukasz Mierzwa
8663e94c0b
feat(ui): support group limits
2021-07-14 18:00:07 +01:00
Łukasz Mierzwa
822f550393
fix(ui): use POST requests for /alerts.json endpoint
2021-07-12 22:09:11 +01:00
Łukasz Mierzwa
04379fc3cc
feat(ui): paginate api
2021-06-28 12:28:40 +01:00
Łukasz Mierzwa
504a44d135
fix(ci): enable more checks in tsconfig
2021-05-25 12:46:10 +01:00
Łukasz Mierzwa
9e28da96d1
chore(ui): migrate styles to bootstrap v5
2021-05-18 21:28:28 +01:00
Łukasz Mierzwa
e45debed58
fix(ui): enable mobx strict mode in tests
2021-05-03 19:29:05 +01:00
Łukasz Mierzwa
7638d655a7
fix(ui): fix typescript warnings
2021-04-07 14:17:48 +01:00
Łukasz Mierzwa
db0aa0bab9
fix(ui): migrate to cra v4
2020-11-23 19:04:14 +00:00
Łukasz Mierzwa
c3bfc77734
fix(tests): fix tests for react v17
2020-11-09 20:54:59 +00:00
Łukasz Mierzwa
836cf67fe8
fix(tests): move fixtures to a dedicated folder
2020-10-28 12:26:51 +00:00
Łukasz Mierzwa
fd155db464
fix(ui): migrate to mobx-react-lite v3
2020-10-02 17:28:34 +01:00
Łukasz Mierzwa
632a111056
fix(ui): migrate code to mobx v6
2020-10-02 14:08:11 +01:00
Łukasz Mierzwa
ef908e300a
feat(ui): add a countdown indicator for refresh timer
2020-08-24 17:15:50 +01:00
Łukasz Mierzwa
6d961fa09d
fix(ui): always pass type to useRef & useState
2020-07-22 21:39:43 +01:00
Łukasz Mierzwa
aa022796b4
fix(ui): resolve eslint reported issues
2020-07-21 17:58:08 +01:00
Łukasz Mierzwa
fcc795b7c9
chore(tests): migrate jest tests to typescript
2020-07-21 17:58:08 +01:00
Łukasz Mierzwa
4d4dd111c1
chore(ui): migrate more code to typescript
2020-07-17 11:58:41 +01:00
Łukasz Mierzwa
6a7cc1c72f
feat(ui): drop moment.js to reduce bundle size
2020-06-17 18:57:13 +01:00
Łukasz Mierzwa
50b7b848ca
feat(ui): add @alertmanager & @receiver as multi-grid options
2020-06-12 19:14:17 +01:00
Łukasz Mierzwa
508e47f5c4
fix(ui): drop mobx-react
2020-06-10 18:15:51 +01:00
Łukasz Mierzwa
ca7a8fceaf
fix(ui): rewrite Fetcher with hooks
2020-06-10 18:15:51 +01:00
Łukasz Mierzwa
0f3dabb517
fix(tests): use fetch-mock instead of jest-fetch-mock
2020-05-12 18:01:47 +01:00
Łukasz Mierzwa
55463e9ef5
fix(tests): avoid using instance() in tests
2020-05-01 17:57:42 +01:00
Łukasz Mierzwa
a178a6bed8
fix(ui): add multi-grid label options to settingsStore
2020-03-31 09:16:55 +01:00
Łukasz Mierzwa
c12f218b4e
fix(ui): reformat code using prettier v2
2020-03-25 21:43:39 +00:00
Łukasz Mierzwa
2e57e4af49
chore(ui): only fetch updates if seconds passed since last fetch
...
Right now fetcher will always trigger fetch if enough time passes, make it aware of the last fetch timestamp so the timer resets after each fetch
2019-10-31 22:39:38 +00:00
Łukasz Mierzwa
49325fcca5
fix(tests): always use UTC timestamps in UI tests
2019-10-05 11:31:18 +01:00
Ł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
9b6273595d
chore: move sorting to the backend
2019-08-08 15:45:00 +01:00
Łukasz Mierzwa
c298a6cd69
fix(ui): delay initial fetch until browser is idle
...
Right now the very fist fetch() happens right after Fetcher instance is created, which might be while a lot of other components are still being created. Wrap it inside requestAnimationFrame so it's executed once the browser is (fairly) idle
2019-05-04 22:48:40 +01:00
Łukasz Mierzwa
4e3635bc98
fix(tests): reset mocks between tests
...
Ensures that tests don't rely on previous tests mocking things
2018-10-03 10:16:31 +01:00
Łukasz Mierzwa
9ba495bbe7
feat(ui): pause fetching when alert/group menu is open
...
This will prevent whack-a-mole when user clicks on an action menu and then grid re-renders moving it around
2018-09-20 14:25:13 +01:00
Łukasz Mierzwa
08f7e6a9fa
refactor(ui): prevent concurrent fetches
...
Refactor the timer so instead of calling fetch directly every seconds we call it every 1 second, check if we could & should fetch (fetch isn't already/still in progress and seconds passed since last fetch) and if needed call fetch.
This will also allow us to pause fetches when user is interacting with alerts so there's no whack-a-mole with buttons
2018-09-20 11:34:13 +01:00
Łukasz Mierzwa
4d64b0b3ea
chore(tests): drop console mock, fix all tests that throw console errors
2018-09-08 21:11:15 +01:00
Łukasz Mierzwa
096b3985a4
chore(tests): migrate tests to enzyme
2018-09-06 22:37:05 +01:00
Łukasz Mierzwa
99f5f3999e
refactor(tests): use jest-fetch-mock for mocking fetch() calls
2018-08-22 15:34:58 +01:00