Library Panels: Remove dashboards table dependency when getting all library panels (#99160)

* Remove dashboards table dependency when getting all library panels
* Filter library elements a user can see using the folder service
* Stop using folder name as UID in get all elements tests
* Set actual folder name not UID when getting all elements
* Stop selecting folder name in the get all elements sql query
* Introduce a library elements param selector without where clause
* Include empty string as general folder UID when getting all library elements

---------

Co-authored-by: suntala <arati.rana@grafana.com>
This commit is contained in:
Leonor Oliveira
2025-01-27 10:51:41 +01:00
committed by GitHub
parent 25bb210ca3
commit 0003efa285
7 changed files with 73 additions and 37 deletions

View File

@ -214,6 +214,7 @@ type GetLibraryElementCommand struct {
// Deprecated: use FolderUID instead
FolderID int64
UID string
Name string
}
// SearchLibraryElementsQuery is the query used for searching for Elements