mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
* 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 |
||
---|---|---|
.. | ||
database | ||
service | ||
accesscontrol_test.go | ||
accesscontrol.go | ||
dashboard_provisioning_mock.go | ||
dashboard_service_mock.go | ||
dashboard.go | ||
errors.go | ||
folder_store_mock.go | ||
models.go | ||
store_mock.go |