grafana/public/app/features/alerting
Sonia Aguilar 99725bf9d4
Alerting: Improve UI for making more clear that evaluation interval belongs to the group (#56397)
* In GrafanaEvaluationBehaviour component : Split evaluation interval from for duration and add button to edit to allow editing it and warning

* Move folder and group fields to the evaluation section in the alert form

* Include 'Group behaviour' info in a card and fix 'Edit group behaviour' button onClick.

* Create hook for  getting groups for a particular folder

* Use dropdown in group instead of input and fill it with groups that belong to the selected folder

* Add evaluation interval for each group in dropdown , and show warning in case user wants to update it

* Avoid saving evaluation interval when some rules in the same group would have invalid For with this change

* Clear group value when reseting the drop down

* Remove evaluationEvery from form values, show this as a label and add a button to edit the group

* Open EditRuleGroupModal for editing evaluation interval form the alert rule form

* Fix aligment in group behaviour card

* compact space in evaluation behaviour card and change group drop down label

* In EditgroupModal, in case of grafana managed group, show folder instead of namespcace label and disable the folder name input

* Add edge case in rulesInSameGroupHaveInvalidFor method when For value is zero

* Vertically align annotations input to the evaluation section in alert rule form

* Fix width when editing new group

* Add placeholder for group input

* Make folder and group in modal readonly from alert form and disable edit group button when new group

* Update texts

* Don't show evaluation behaviour section until folder and group are selected

* Update texts

* Fix merge conflits

* Fix wrong margin in evaluation label

* Remove non-used isRulerGrafanaRuleDTO method

* Remove negative margin to avoid overlaping on Firefox
2022-11-21 17:59:19 +01:00
..
components Chore: Migrate more usage of v1 themes to v2 (#57680) 2022-11-02 10:25:08 +00:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
state Alerting: Fix alert panel instance-based rules filtering (#52583) 2022-07-22 12:52:56 +02:00
unified Alerting: Improve UI for making more clear that evaluation interval belongs to the group (#56397) 2022-11-21 17:59:19 +01:00
utils Alerting: Add relativeTimeRange from dataSource when using Resample expresions (#56652) 2022-10-17 12:29:05 +02:00
AlertHowToModal.tsx enable img-redundant-alt rule (#55833) 2022-09-27 10:26:32 -04:00
AlertRuleItem.test.tsx Chore: Remove remaining IconName type assertions (#54658) 2022-09-06 09:15:36 +01:00
AlertRuleItem.tsx React18: Update useCallback arg types where needed (#57084) 2022-10-17 14:52:12 +01:00
AlertRuleList.test.tsx Navigation: Use navid and pagnav in alert rules pages (#55722) 2022-10-04 14:36:36 +02:00
AlertRuleList.tsx any/type assertion fixes (#57009) 2022-10-17 10:10:10 +01:00
AlertTab.tsx Chore: Remove remaining IconName type assertions (#54658) 2022-09-06 09:15:36 +01:00
AlertTabCtrl.test.ts Alerting: Fixes so notification channels are properly deleted (#31040) 2021-02-09 15:29:50 +01:00
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 Update a few more pages to use navId instead of navModel from store (#55342) 2022-09-19 13:21:41 +02:00
FeatureTogglePage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
getAlertingValidationMessage.test.ts Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
getAlertingValidationMessage.ts Dashboard: replace datasource name with a reference object (#33817) 2021-10-29 10:57:24 -07:00
NewNotificationChannelPage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
NotificationsListPage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
routes.tsx Navigation: use navId and pageNav on Alerting - Contact Points page (#54451) 2022-09-06 16:25:07 +02:00
StateHistory.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TestRuleResult.test.tsx convert TestRuleResult to RTL (#53953) 2022-08-19 15:00:53 +01:00
TestRuleResult.tsx GrafanaUI: Add success state to ClipboardButton (#52069) 2022-07-20 10:33:46 +01:00