grafana/public/app/features
Sofia Papagiannaki d1dab5828d
Alerting: Update rule API to address folders by UID (#74600)
* Change ruler API to expect the folder UID as namespace

* Update example requests

* Fix tests

* Update swagger

* Modify FIle field in /api/prometheus/grafana/api/v1/rules

* Fix ruler export

* Modify folder in responses to be formatted as <parent UID>/<title>

* Add alerting test with nested folders

* Apply suggestion from code review

* Alerting: use folder UID instead of title in rule API (#77166)

Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>

* Drop a few more latent uses of namespace_id

* move getNamespaceKey to models package

* switch GetAlertRulesForScheduling to use folder table

* update GetAlertRulesForScheduling to return folder titles in format `parent_uid/title`.

* fi tests

* add tests for GetAlertRulesForScheduling when parent uid

* fix integration tests after merge

* fix test after merge

* change format of the namespace to JSON array

this is needed for forward compatibility, when we migrate to full paths

* update EF code to decode nested folder

---------

Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Alex Weaver <weaver.alex.d@gmail.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-01-17 11:07:39 +02:00
..
admin Anonymous Access: Pagination for devices (#80028) 2024-01-15 12:13:38 +00:00
alerting Alerting: Update rule API to address folders by UID (#74600) 2024-01-17 11:07:39 +02:00
annotations Plugins: Unset annotation editor variables (#74519) 2023-09-14 14:23:17 +02:00
api-keys Chore: remove legacy AC fallback from frontend access control checks (#74385) 2023-09-06 16:07:49 +01:00
auth-config Auth: Include missing SSO settings from system settings on read paths (#80421) 2024-01-12 15:20:50 +01:00
browse-dashboards NestedFolders: Support Shared with me folder for showing items you've been granted access to (#80141) 2024-01-15 10:56:31 +00:00
canvas Canvas: Support context menu in panel edit mode (#80335) 2024-01-11 19:41:19 +02:00
commandPalette Connections: Pass keywords from the backend to CommandPalette (#80276) 2024-01-15 11:30:55 +00:00
connections Connections: hook up search to url params to match cloud behaviour (#80166) 2024-01-10 09:57:17 +00:00
correlations React Hook Form: Update to v 7.49.2 (#79493) 2024-01-05 12:41:49 +02:00
dashboard Scenes: Show transformations when editing scene dashboard (#80372) 2024-01-16 18:59:32 +01:00
dashboard-scene Scenes: Show transformations when editing scene dashboard (#80372) 2024-01-16 18:59:32 +01:00
dataframe-import Drag&Drop: Dynamically load sheets module (#69536) 2023-06-08 10:24:49 +02:00
datasources Chore: removing folderId from plugindashboard service (#80570) 2024-01-16 11:08:39 +01:00
dimensions XYChart: Config cleanup and refactoring (#79915) 2023-12-31 16:50:53 -08:00
explore Logs Panel: Table UI - Reordering table columns via drag-and-drop (#79536) 2024-01-16 14:27:29 -06:00
expressions Alerting: Support hysteresis command expression (#75189) 2024-01-04 11:47:13 -05:00
folders/state Chore: Remove newBrowseDashboards feature toggle (#78190) 2023-11-22 15:22:00 +00:00
geo Chore: Clean up usage of deprecated stylesFactory function (#78419) 2023-11-21 14:01:53 +00:00
inspector Explore: Format data in Data tab in Query Inspector (#80004) 2024-01-16 07:04:31 -07:00
invites Chore: improve types (#78126) 2023-11-16 12:39:12 +00:00
library-panels Skeleton: Abstract out attach/animation logic (#79309) 2023-12-12 11:05:36 +00:00
live Chore: Clean up usage of deprecated stylesFactory function (#78419) 2023-11-21 14:01:53 +00:00
logs Logs: add infinite scrolling to Explore (#76348) 2024-01-12 13:22:03 +02:00
manage-dashboards Task: Add i18n support for public dashboards (#79659) 2024-01-08 13:30:01 -05:00
notifications Chore: Replace deprecated usage of shape.borderRadius() (#72672) 2023-08-01 14:46:07 +01:00
org Chore: improve types (#78126) 2023-11-16 12:39:12 +00:00
panel Skeleton: Abstract out attach/animation logic (#79309) 2023-12-12 11:05:36 +00:00
playlist Skeleton: Abstract out attach/animation logic (#79309) 2023-12-12 11:05:36 +00:00
plugins Pyroscope: Add standalone build (#80222) 2024-01-16 12:46:15 +00:00
profile Profile: Use Stack so the profile tabs span the full width of the page (#80353) 2024-01-11 12:54:19 +00:00
query Tempo: Decouple Tempo from Grafana core (#79888) 2024-01-16 11:36:40 +01:00
runtime Dashboard: Fixes save drawer always comparing changes against first loaded version (#76506) 2023-10-13 16:23:23 +02:00
sandbox Chore: type improvements (#80464) 2024-01-15 14:29:39 +00:00
search NestedFolders: Support Shared with me folder for showing items you've been granted access to (#80141) 2024-01-15 10:56:31 +00:00
serviceaccounts React Hook Form: Update to v 7.49.2 (#79493) 2024-01-05 12:41:49 +02:00
storage Chore: type improvements (#80464) 2024-01-15 14:29:39 +00:00
support-bundles Chore: remove legacy AC fallback from frontend access control checks (#74385) 2023-09-06 16:07:49 +01:00
teams RBAC: Render team, service account and user list when a user can see entities but not roles attached to them (#79642) 2023-12-18 15:55:02 +01:00
templating Chore: some type fixes (#80094) 2024-01-09 10:00:00 +00:00
trails Data trails: Move and rename to explore metrics (#80649) 2024-01-17 00:05:44 +02:00
transformers Chore: type improvements (#80464) 2024-01-15 14:29:39 +00:00
users RBAC: Render team, service account and user list when a user can see entities but not roles attached to them (#79642) 2023-12-18 15:55:02 +01:00
variables Dashboard: Migration - EditVariable Settings: Implement TextBox Variable (#80293) 2024-01-16 12:38:34 +01:00
visualization/data-hover Exemplars: Update UX to match new tooltips (#79916) 2024-01-03 06:27:34 -06:00
all.ts Chore: Remove empty and leftover files (#55757) 2022-09-26 11:33:07 -04:00