grafana/public/app/features
Tom Ratcliffe e4a1243948
Alerting: Consume k8s API for notification policies tree (#96147)
* Add basic usage of K8s API for notification policies

* Add permissions checks for navtree for routes

* Add and update permissions for routing tree logic

* Add capability to skip calling contact points hook

* Conditionally show list of mute timings depending on permissions

* Conditionally link to mute timings if user can see at least one

* Add work in progress k8s handlers for routing tree

* Update notification policy hooks

* Wire up policies to permissions better (conditionally calling APIs)

* Add additional checks for whether to show grafana AM

* Add permission checks to access control

* Remove accidental permissions after rebase

* Update types and const for k8s routes

* Improve statefulness and reset routing tree in tests

* Update notif policy tests to check k8s and config API

* Fix type assertion

* Move non-grafana test out of .each

* Make failure case safer

* Override tag invalidation for notification policies API

* Pass in error and add new error alert component

* Add basic mock server conflict check

* Add test to check user can save after a conflict

* Add logic to allow reloading policies if changed by another user

* Fix test

* Update translations in Modals

* Add ViewAlertGroups ability

* Tweak provisioning logic and memoize AM config response

* Update snapshots for useAbilities

* Update result destructure

* Use enums for provenance in routingtrees

* Use consistent memoisation

* Fix _metadata for vanilla AM

* useAsync for error / update state

* move k8s api error handling to separate file

* use cause for error codes

* Use `supported` bools from Alertmanager abilities and clarify default policy

---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-26 13:46:39 +00:00
..
actions Chore: Mark up some content for translations (#96716) 2024-11-21 12:59:14 +00:00
admin UserTable: fix issue when search query contains "." (#94389) 2024-11-25 16:00:48 +01:00
alerting Alerting: Consume k8s API for notification policies tree (#96147) 2024-11-26 13:46:39 +00:00
annotations React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
api-keys APIKeys: Update text on API keys deprecation (#97022) 2024-11-26 14:22:23 +02:00
apiserver Provisioning: Rename k8s origin metadata to repo (#96524) 2024-11-15 17:26:14 +03:00
auth-config Switch: Improve screen reader behaviour (#95178) 2024-10-24 11:26:04 +01:00
bookmarks Bookmarks: Lazy loading page (#96455) 2024-11-14 14:24:03 +00:00
browse-dashboards Alerting: Use NestedFolderPicker (#96398) 2024-11-19 11:41:31 +01:00
canvas Canvas: Fix data links target (#95113) 2024-10-22 09:36:48 -05:00
commandPalette SingleTopNav: Fix positioning of command palette (#95041) 2024-10-21 14:06:44 +03:00
connections Ref: datasource picker rudderstack events (#95074) 2024-10-24 12:03:17 -04:00
correlations Correlation: Fix loki dataplane field change (#94088) 2024-11-19 09:06:16 -06:00
dashboard Snapshots: Add RBAC roles for creating and deleting (#96126) 2024-11-26 09:13:17 -03:00
dashboard-scene Dashboard: Edit pane in edit mode (#96971) 2024-11-26 14:39:09 +01:00
dataframe-import
datasources MySQL: Datasource health check error message improvements (#96906) 2024-11-22 21:58:35 +00:00
dimensions Canvas: Fix references for ResourcePicker (#95580) 2024-11-07 11:37:49 -06:00
explore NodeGraph: Use target if in link (#95733) 2024-11-21 10:15:27 -06:00
expressions Alerting: Create reusable components for threshold (#94045) 2024-11-08 18:15:29 +02:00
folders/state BrowseDashboards: Limit the type for folder parents to just a few fields (#94244) 2024-10-04 17:32:50 +03:00
geo Chore: Convert styles to use emotion object syntax (#94989) 2024-10-23 15:25:28 +01:00
gops/configuration-tracker Alerting: Config tracker - update link for default contact point (#94384) 2024-10-10 10:18:36 +01:00
inspector Chore: Convert styles to use emotion object syntax (#94989) 2024-10-23 15:25:28 +01:00
invites SignupInvitedPage: Show `orgName` (#94940) 2024-10-23 16:49:27 +03:00
library-panels DashboardScene: Move DashboardGridItem (#95768) 2024-11-05 08:05:09 +01:00
live Navigation: Move scroll behaviour to body (#89921) 2024-07-17 13:48:47 +01:00
logs Logs: Allow scroll to reach the bottom of the log list before loading more (#96668) 2024-11-19 19:12:41 +02:00
manage-dashboards Snapshots: Add RBAC roles for creating and deleting (#96126) 2024-11-26 09:13:17 -03:00
migrate-to-cloud CloudMigrations: handle provisioned data source error (#95473) 2024-10-28 12:02:46 +01:00
notifications React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
org React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
panel NodeGraph: Use target if in link (#95733) 2024-11-21 10:15:27 -06:00
playlist SingleTopNav: Add `kiosk mode` tracking events (#95397) 2024-10-25 14:40:34 +02:00
plugins XYChart: Remove old implementation (#96416) 2024-11-14 10:36:18 -06:00
preferences/api Bookmarks: Store URLs instead of ids (#91121) 2024-07-31 13:56:39 +01:00
profile Users: Allow specifying user UIDs in params (#95424) 2024-10-30 14:14:42 +01:00
query Revert "PanelQueryRunner: Use rxjs merge, not lodash merge (#96881)" (#96999) 2024-11-25 18:12:37 +00:00
query-library Query Library: Notifications and query counter (#94444) 2024-10-09 06:54:11 -06:00
runtime Dashboard: Fixes save drawer always comparing changes against first loaded version (#76506) 2023-10-13 16:23:23 +02:00
sandbox PluginExtension: Added debug log (#94146) 2024-10-10 09:27:57 +03:00
scopes Scopes: Change icon for suggested dashboards (#96902) 2024-11-22 14:30:14 +02:00
search search: list and filter tags (#96130) 2024-11-08 16:39:08 -05:00
serviceaccounts Serviceaccounts: FIX nul for field for `toString` (#96267) 2024-11-12 11:10:37 +00:00
support-bundles React: Use new JSX transform (#88802) 2024-06-25 12:43:47 +01:00
teams Users: Add numerical indentifiers to detail pages (#95620) 2024-10-31 14:05:18 +00:00
templating TemplateSrv: Add test case for SafeSerializableSceneObject (#90808) 2024-08-01 09:38:15 +02:00
trails Explore metrics: Fix default datasource bug, add test coverage (#97008) 2024-11-26 00:36:58 +02:00
transformers Docs: Add example image to RegExp extract fields option (#97007) 2024-11-25 15:34:07 -05:00
users GAS: Show mapped roles in role picker (#96681) 2024-11-20 17:37:12 +00:00
variables Frontend: Enable TS IsolatedModules (#95586) 2024-10-31 14:00:32 +01:00
visualization/data-hover Chore: Finish converting emotion styles to object syntax (#95399) 2024-10-25 14:50:28 +01:00