Commit Graph
830 Commits
Author SHA1 Message Date
Ł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
Łukasz Mierzwa e73c383cbe Merge pull request #12 from prymitive/gopkg-lock
chore(go): generate Gopkg.lock using most recent dep
2018-07-19 12:14:56 +02:00
Łukasz Mierzwa 557f346149 chore(go): generate Gopkg.lock using most recent dep 2018-07-19 11:43:45 +02:00
Łukasz Mierzwa a51c456d87 Merge pull request #9 from prymitive/greenkeeper/markdownlint-cli-0.11.0
Update markdownlint-cli to the latest version 🚀
2018-07-13 09:31:28 +02:00
greenkeeperio-bot 9775919703 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-07-12 05:50:33 +00:00
greenkeeper[bot] 71185105ab chore(package): update markdownlint-cli to version 0.11.0 2018-07-12 05:49:06 +00:00
Łukasz Mierzwa ed0defc28a Merge pull request #7 from prymitive/go-1.10.3
chore(go): use Go 1.10.3
2018-07-06 08:46:23 +02:00
Łukasz Mierzwa d0233d8511 chore(node): update snapshots for jest tests
Those tests should be fixed to not be time depended, but new UI is comming and this code will soon disappear
2018-07-05 23:38:15 +02:00
Łukasz Mierzwa 8715277fd6 chore(go): use Go 1.10.3 2018-07-05 23:19:04 +02:00
Łukasz Mierzwa 30d6db337c Merge pull request #5 from prymitive/greenkeeper/eslint-5.0.0
Update eslint to the latest version 🚀
2018-06-23 11:22:06 +02:00
Łukasz Mierzwa 5d86c7ba86 fix(eslint): update package-lock
greenkeeper didn't update this file, only package.json
2018-06-23 10:49:26 +02:00
Łukasz Mierzwa 7481ff1324 fix(greenkeeper): move greenkeeper calls to a stage
lockfile is uploaded only on first build, so make it a first stage on Travis
2018-06-23 10:44:32 +02:00
greenkeeper[bot] ded561787c chore(package): update eslint to version 5.0.0 2018-06-23 05:23:46 +00:00
Łukasz Mierzwa 75e985ca02 Merge pull request #4 from prymitive/greenkeeper/webpack-4.12.0
Update webpack to the latest version 🚀
2018-06-12 12:49:02 +02:00
Łukasz Mierzwa 441763fd24 chore(config): update webpack config and deps to work with 4.x 2018-06-12 12:06:54 +02:00