grafana/pkg/services/folder
Kristin Laemmert 706b301285
feat(nested folders): add CountDashboardsInFolder (#57847)
* feat(nested folders): add CountDashboardsInFolder

This commit adds a new method to the Dashboard service and stores: CountDashboardsInFolder. The command struct takes a folderUID, but the store implementation still depends on the parent folder ID. This is temporary; eventually we will replace all references to FolderIDs (associated with Dashboards) with folder UIDs.

There are some unfortunate additional test changes that were necessary after generating the service & store mocks; it looks like that hasn't been generated since the last change(s).

* more test updates
* don't forget the service test
* that didn't end up used, so bye for now
* agree to disagree with the linter
2022-11-02 09:15:50 -04:00
..
folderimpl feat(nested folders): add CountDashboardsInFolder (#57847) 2022-11-02 09:15:50 -04:00
foldertest chore: updates to the new folder model (#57776) 2022-10-28 08:23:39 -04:00
model.go Add implementation for Create and GetParents of foder store (#57829) 2022-10-28 20:07:25 +02:00
service.go some file moving and struct renaming (#57686) 2022-10-26 11:52:01 -04:00