grafana/public/app/features/alerting
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
..
__snapshots__
components Fixes term Grafana Alerting (#50404) 2022-06-08 13:35:37 +02:00
partials
state Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591) 2022-06-15 08:59:29 +01:00
unified Alerting: Persist rule position in the group (#50051) 2022-06-22 10:52:46 -04:00
utils Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertHowToModal.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertRuleItem.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertRuleItem.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertRuleList.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertRuleList.tsx Alerting: refactor unified alerting promotion to deprecation (#49019) 2022-05-17 17:30:41 +02:00
AlertTab.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertTabCtrl.test.ts
AlertTabCtrl.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
AlertTabIndex.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
EditNotificationChannelPage.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
FeatureTogglePage.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
getAlertingValidationMessage.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
getAlertingValidationMessage.ts Dashboard: replace datasource name with a reference object (#33817) 2021-10-29 10:57:24 -07:00
NewNotificationChannelPage.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
NotificationsListPage.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
routes.tsx Alerting: Fix access to alerts for viewer with editor permissions when RBAC is disabled (#49270) 2022-05-23 09:58:20 -04:00
StateHistory.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TestRuleResult.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TestRuleResult.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00