grafana/public
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
..
app Alerting: Visualize autogenerated policy tree for simplified routing. (#79509) 2024-01-15 13:36:26 +01:00
dashboards Elasticsearch: Add error source for DataQuery (#77386) 2023-11-06 11:36:39 +01:00
emails Grafana UI: Use correct path to 'online.svg', 'warn-tiny.svg', 'critical.svg' and 'background_tease.jpg' (#78273) 2024-01-02 10:28:11 +00:00
fonts Theme: Use Inter font by default (#59544) 2022-12-01 11:59:37 +00:00
gazetteer Geomap: Add more countries ISO 3166 Alpha-3-code to the gazetteer/countries.json (#75311) 2023-11-06 10:08:33 -08:00
img Navigation: Rearrange IA based on tree test (#78804) 2023-11-30 15:18:05 +00:00
lib Kusto: Move loading @kusto/language-service off the main thread (#72006) 2023-07-20 12:36:39 +02:00
locales Frontend: Migrate Drawer.tsx from aria-label e2e selectors to data-testid (#79616) 2024-01-10 11:20:51 +00:00
maps
sass Grafana UI: Use correct path to 'online.svg', 'warn-tiny.svg', 'critical.svg' and 'background_tease.jpg' (#78273) 2024-01-02 10:28:11 +00:00
test Chore: some type fixes (#80094) 2024-01-09 10:00:00 +00:00
vendor Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00
views Themes: Fixes system theme asset paths (#80019) 2024-01-04 14:33:19 +01:00
api-enterprise-spec.json fix(swagger): Add new access control endpoints (#80053) 2024-01-05 08:12:01 -05:00
api-merged.json Anonymous Access: Pagination for devices (#80028) 2024-01-15 12:13:38 +00:00
openapi3.json Anonymous Access: Pagination for devices (#80028) 2024-01-15 12:13:38 +00:00
robots.txt