grafana/public/app/features/alerting/unified
Yuriy Tseretyan 4d02f73e5f
Alerting: Persist rule position in the group (#50051)
Migrations:
* add a new column alert_group_idx to alert_rule table
* add a new column alert_group_idx to alert_rule_version table
* re-index existing rules during migration

API:
* set group index on update. Use the natural order of items in  the array as group index
* sort rules in the group on GET
* update the version of all rules of all affected groups. This will make optimistic lock work in the case of multiple concurrent request touching the same groups.

UI:
* update UI to keep the order of alerts in a group
2022-06-22 10:52:46 -04:00
..
api Alerting: Provisioning UI (#50776) 2022-06-20 10:55:12 -04:00
components Alerting: Alert rules pagination (#50612) 2022-06-22 11:33:39 +02:00
hooks Alerting: Alert rules pagination (#50612) 2022-06-22 11:33:39 +02:00
mocks Alerting: Add validation to slack contact point (#45618) 2022-02-25 15:10:21 +01:00
state Alerting: Provisioning UI (#50776) 2022-06-20 10:55:12 -04:00
styles Alerting: Alert rules pagination (#50612) 2022-06-22 11:33:39 +02:00
types Alerting: Provisioning UI (#50776) 2022-06-20 10:55:12 -04:00
utils Alerting: Persist rule position in the group (#50051) 2022-06-22 10:52:46 -04:00
Admin.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertGroups.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertGroups.tsx Alerting: Improved RBAC for Alert managers (#48344) 2022-05-05 13:34:58 +02:00
AlertsFolderView.test.tsx Alerting: correctly show all alerts in a folder (#48684) 2022-05-04 11:35:08 +02:00
AlertsFolderView.tsx Alerting: correctly show all alerts in a folder (#48684) 2022-05-04 11:35:08 +02:00
AmRoutes.test.tsx Alerting: Fix removal of notification policy without labels matchers (#50678) 2022-06-15 10:59:37 +02:00
AmRoutes.tsx Alerting: Provisioning UI (#50776) 2022-06-20 10:55:12 -04:00
mocks.ts AccessControl: Enable RBAC by default (#48813) 2022-05-16 12:45:41 +02:00
MuteTimings.test.tsx AccessControl: Enable RBAC by default (#48813) 2022-05-16 12:45:41 +02:00
MuteTimings.tsx Alerting: Provisioning UI (#50776) 2022-06-20 10:55:12 -04:00
PanelAlertTab.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
PanelAlertTabContent.test.tsx Alerting: Re-render panel's tabs on variables change (#49893) 2022-06-01 13:03:33 +02:00
PanelAlertTabContent.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
Receivers.test.tsx Chore: Remove react-testing-lib from bundles (#50442) 2022-06-09 11:10:48 +02:00
Receivers.tsx Alerting: Improved RBAC for Alert managers (#48344) 2022-05-05 13:34:58 +02:00
RedirectToRuleViewer.test.tsx Remove as any from requireActual usage (#51182) 2022-06-21 17:48:38 +01:00
RedirectToRuleViewer.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
RuleEditor.test.tsx Alerting: use "find" to wait for expression editor to load (#50602) 2022-06-10 14:58:15 +02:00
RuleEditor.tsx Alerting: Improved RBAC for Alert managers (#48344) 2022-05-05 13:34:58 +02:00
RuleList.test.tsx Alerting: Fix access to alerts for viewer with editor permissions when RBAC is disabled (#49270) 2022-05-23 09:58:20 -04:00
RuleList.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
RuleViewer.test.tsx Remove as any from requireActual usage (#51182) 2022-06-21 17:48:38 +01:00
RuleViewer.tsx Alerting: Alert rules pagination (#50612) 2022-06-22 11:33:39 +02:00
Silences.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
Silences.tsx Alerting: Improved RBAC for Alert managers (#48344) 2022-05-05 13:34:58 +02:00