grafana/public/app
Sonia Aguilar 10f0d094ad
Alerting: Visualize autogenerated policy tree for simplified routing. (#79509)
* WIP

* WIP: disable some actions when is autogenerated policy

* WIP

* Wip: add checks for group by in auto-generated policy

* Make autogenerated policy readOnly and enable Readonly modal for it

* Use real check for autogenerated root

* Fix test

* Refactor: rename consts

* Add test for policy form being read only

* Add tests

* Update some code comments

* Fix Switch component not being styled as disabled

* Rename isAutogeneratedChunkOpen property to isBranchOpen and fix test

* Revert fix for Switch as it has moved to another separate PR

* Split Policy component in smaller sub components

* use useAlertmanagerAbility form for checking autogenerated tree visibility and fix container for autogenerated policy being rendered when it's not supported

* Update useAbilities test and dont use toAbility for ViewAutogeneratedPolicyTree

* Fix Policy being unmounted every 10 secs and move the collapsed/expanded state to each Policy component

* remove permissions from createDropdownMenuActions method parameters and convert the method to a hook

* Revert using PolicyItem

* Add test for createDropdownMenuActions

* Revert having a read only view form for the policy

* Remove readonly from default policy form

* Only show collapsible when node has children

* Split DefaultPolicyIndicator

* use hidehideCurrentPolicy instead of showCurrentPolicy

* Address some review suggestions
2024-01-15 13:36:26 +01:00
..
angular Bug: Fix broken ui components when angular is disabled (#78208) 2023-11-27 10:43:55 +01:00
core NestedFolderPicker: separate toggle to force enable picker without nestedFolders (#80461) 2024-01-15 11:43:19 +00:00
features Alerting: Visualize autogenerated policy tree for simplified routing. (#79509) 2024-01-15 13:36:26 +01:00
partials Chore: Migrates remaining Angular modals to React (#33476) 2021-04-28 15:22:28 +02:00
plugins Jaeger: Add service dependency graph support (#72200) 2024-01-15 13:02:00 +01:00
routes Scenes: Remove old scenes stuff (#79760) 2024-01-04 15:44:41 +01:00
store Feat: Feature toggle admin page frontend interface (#72164) 2023-08-03 14:17:00 -04:00
types Anonymous Access: Pagination for devices (#80028) 2024-01-15 12:13:38 +00:00
app.ts Frontend: Reload the browser when backend configuration/assets change (#79057) 2024-01-04 08:00:07 +01:00
AppWrapper.tsx React Router: start migrating to v6 (#66921) 2023-04-27 07:18:38 +02:00
dev.ts Chore: Make "why-did-you-render" a dynamic import (#53121) 2022-08-08 15:33:49 +01:00
index.ts Feature: Trusted Types support (#64975) 2023-04-27 18:20:37 +02:00