grafana/apps/scope
Tobias Skarhed b79ace082c
Scopes: Nested scope navigations (#113394)
* Initial nested scope navigation

* Seperate sections for scope navigation vs groups

* Add ungrouped navigation items

* Create tree structure helper for mock scope navigations

* Improve generated folder structure and add link to change scope

* Update mocks

* DevEnv Navigations

* Remove mocks

* Update button position and add border

* Remove subScope from TreeLink

* Do unblocking async update

* Add loading state

* Allow '' for root groups

* Formatting

* Add unit and integration tests

* Update openapi spec

* Update tooltip for IconButton

* Update i18n

* Make code more DRY

* Update public/app/dev-utils.ts

* update folderUpdate type

* Remove isSubScope in facvor of checking subScopeName

* Do an early return

* Use subScopeName

* Remove use of isSubScope

* Prevent nested items with the same subScope

* Extract filder method to function

---------

Co-authored-by: Mariell Hoversholm <mariell@mardroemmar.dev>
2025-11-17 17:18:12 +01:00
..
pkg/apis/scope/v0alpha1 Scopes: Nested scope navigations (#113394) 2025-11-17 17:18:12 +01:00
README.md Scopes: Change redirectUrl to redirectPath (#112783) 2025-10-22 11:21:14 +02:00
go.mod Chore: Update app-sdk and k8s.io (#113998) 2025-11-17 13:34:15 +03:00
go.sum Chore: Update app-sdk and k8s.io (#113998) 2025-11-17 13:34:15 +03:00

README.md

Updating OpenAPI spec

Change the desired types, then run these commands, with the linked Enterprise repo:

go test --tags "pro" -timeout 30s -run ^TestIntegrationOpenAPIs$ github.com/grafana/grafana/pkg/extensions/apiserver/tests -count=1
./hack/update-codegen.sh scope

This should generate a diff in the Enterprise repo. Make sure to open a PR there too.