Łukasz Mierzwa
be3c8ef0c0
feat(ui): allow saving custom filter set as default
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
ded8c77912
chore(package): update node-sass-chokidar
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
763605f7b9
chore(package): update react-resize-detector
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c9b269b5e1
chore(package): update fontawesome
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
56f0848236
fix(build): ensure that scss->css file is up to date when building
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
299b6f436c
chore(node): pass extra envs to npm start
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
7993606f95
feat(test): benchmark memory when running Go tests
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
f3f7863623
chore(build): update default filters for demo mode
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
99a3671e9b
feat(ui): read config from index.html and use it to setup Sentry & default filters
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
32e3f946ab
refactor(backend): turn index.html back into Go template
...
There are a few config keys that needs to be passed to ui code before react app starts, we'll render them in the index.html as template
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
2ee239a74c
refactor(api): 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
f7dd1c2d82
chore(package): update markdown linter
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
be8806c22f
feat(ui): remove old /help view, this is now fully managed by the ui
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
0581295f8b
fix(ui): why-did-you-update should be only a dev dependency
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
Łukasz Mierzwa
5fdb9d1a57
fix(ui): use const for loops
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
e8fcaf1e27
feat(ui): filter history menu
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a8116dfcf5
fix(ui): correct upstream error handling
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a3ba2d8041
fix(ui): more readable fetch errors
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
0cac9a30e6
refactor(travis): use the ui directory for caching node modules
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
15a943d564
refactor(travis): use the ui directory for greenkeeper
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
875a4f5217
feat(api): summarize alertmanager counts in group API
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
6c7ba5551c
refactor(api): move silences into a dedicated key in API response
...
A single silence can supress multiple alerts so to reduce response size and the amount of data react UI needs to track move it out of alert instance (which will deduplicate it) and on each alert only store a reference. In the API return all silences as a global dict and each alert only contains the ID of silences suppressing it.
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
79ff668019
refactor(api): deduplicate lables & annotations in API responses
...
Each alert in a group holds only keys that are unique to that alert instance, everything shared by the entire group is moved to group.shared ns
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
e1530e01cd
refactor(api): provide configured list of static labels in the API response
...
DOM data-* attributes are no longer used for this, feed react data store with this config so it can (re)render labels correctly
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
8b060054d7
refactor(api): expect filter query args as an array instead of a single string
...
Using a single string separated by ',' means that we cannot use ',' in labels. Use arrays instead to fix that
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
4fe19c3d73
feat(api): extra fields with parsed filter data in the API response
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
8f733e0694
fix(nodejs): use a recursive wildcard to find all ui source files when building
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
a4a20ea3ef
feat(ui): new UI written in React
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
c0fdb71276
feat(api): expose total alerts counter in the api response
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
b7d274c93b
refactor(api): return alert groups as a mapping id->group
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
5a51898e43
fix(filters): don't return empty filters in the API response
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
56a983f31d
chore(ui): update eslint config to target react apps
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
5de0efd7b4
feat(backend): Add CORS headers to API responses
2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
24cac4bfd8
Merge pull request #13 from prymitive/am-0.15
...
Alertmanager 0.15 mock files
2018-07-19 23:37:34 +02:00
Łukasz Mierzwa
c69f9875ec
chore(mock): add mock files for 0.15.0 & 0.15.1
2018-07-19 23:09:10 +02:00
Łukasz Mierzwa
2ffc926cf8
chore(mock): show progress of mock steps, add most recent Alertmanager releases
2018-07-19 22:49:49 +02:00
Łukasz Mierzwa
06c2706e24
fix(mock): refactor livemock.py so it doesn't depend on requests
2018-07-19 22:49:08 +02:00