19 Commits

Author SHA1 Message Date
3c6e0e8ef8 Chore: ESlint import order (#44959)
* Add and configure eslint-plugin-import

* Fix the lint:ts npm command

* Autofix + prettier all the files

* Manually fix remaining files

* Move jquery code in jest-setup to external file to safely reorder imports

* Resolve issue caused by circular dependencies within Prometheus

* Update .betterer.results

* Fix missing // @ts-ignore

* ignore iconBundle.ts

* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
785145c045 Alerting: FGAC bug bash fixes (#47873)
* Improve new alert and new silence buttons permission handling

* Prevent loading alert rules when no sufficient permissions provided

* Improve add and edit rule permissions

* Add new rule CTA button for non-editors

* Update mock

* Fix imports
2022-04-19 18:43:33 +02:00
69e4796504 Alerting: Split legacy and unified routing configuration (#44641)
* Disable add alert menu entry for legacy alerting

* Split legacy and unified routing configuration

* Fix fallback routes configuration
2022-02-02 10:57:43 +01:00
427f75d9b0 Alerting: UI standardization and fixes (#38770)
* Add expand all button for rule list group view

* filter out recording rules by default

* Create rule type filter

* Add placeholder text for inputs

* WIP move Silences to use DynamicTable

* Use dynamic table for silences page

* hide expand all for state list view

* Add placeholders for inputs

* Update selector in receivers test

* Fix strict error for ruleType

* remove redundant placeholder text and cleanup hooks

* add fixed width for schedule

* Rebase with dynamic table for silences

* only show expand/collapse when filters are active
2021-10-01 15:15:55 -07:00
e76848acee Alerting: improve rule list error message (#37734) 2021-08-12 09:57:52 +02:00
eaf964a827 Alerting: misc rule list fixes (#34400)
* misc rule table fixes

* rule stats for all rules

* inactive -> normal

* always show tooltip for rule error
2021-05-19 18:54:03 +03:00
5721019573 Alerting: various rule form fixes (#34272) 2021-05-18 19:14:57 +03:00
098b4fc319 Alerting: wrap top level components in ErrorBoundary (#34040) 2021-05-18 13:56:31 +03:00
8a0dbd0127 Alerting: enforce roles on frontend (#33997) 2021-05-17 11:15:17 +03:00
a26507e9c4 Alerting: update panel alert tab (#33850) 2021-05-17 10:39:42 +03:00
ccc0f7fc22 DataSource: show the uid in edit url, not the local id (#33818) 2021-05-08 18:13:26 +02:00
e8faec5c19 Alerting: create/edit notification templates (#33225) 2021-04-27 16:28:53 +03:00
cf2d557974 Alerts/InfoBox: Replaces all uses of InfoBox & FeatureInfoBox with Alert (#33352)
* Alerts/InfoBox: Replaces all uses of InfoBox & FeatureInfoBox with Alert

* Fixes some more stuff

* fixed border radius
2021-04-26 07:18:46 +02:00
382cab6406 Alerting: misc fixes (#33070) 2021-04-19 12:53:02 +03:00
19c6a02f49 Alerting: alert list state view (#33020) 2021-04-16 12:08:08 +03:00
345d9f93fe Alerting: Filter rules list (#32818) 2021-04-15 14:53:40 +03:00
282c62d8bf Alerting: Rule edit form (#32877) 2021-04-14 15:57:36 +03:00
e6a98ce1e4 Alerting: bootstrap silences page (#32810) 2021-04-09 13:44:26 +03:00
a56293142a Alerting: unified alerting frontend (#32708) 2021-04-07 08:42:43 +03:00