grafana/pkg/registry/apis/featuretoggle
João Calisto 42d6e176bc
Feature Toggle Management: allow editing PublicPreview toggles (#81562)
* Feature Toggle Management: allow editing PublicPreview toggles

* lint

* fix a bunch of tests

* tests are passing

* add permissions unit tests back

* fix display

* close dialog after submit

* use reload method after submit

* make local development easier

* always show editing alert in the UI

* fix readme

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-02-09 18:48:56 +02:00
..
current_test.go Feature Toggle Management: allow editing PublicPreview toggles (#81562) 2024-02-09 18:48:56 +02:00
current.go Feature Toggle Management: allow editing PublicPreview toggles (#81562) 2024-02-09 18:48:56 +02:00
features.go K8s: Refactor config/options for aggregation (#81739) 2024-02-01 17:27:30 -05:00
README.md Feature Toggle Management: allow editing PublicPreview toggles (#81562) 2024-02-09 18:48:56 +02:00
register.go Feature Toggle Management: allow editing PublicPreview toggles (#81562) 2024-02-09 18:48:56 +02:00
toggles.go K8s: Refactor config/options for aggregation (#81739) 2024-02-01 17:27:30 -05:00

This package supports the Feature toggle admin page feature.

In order to update feature toggles through the app, the PATCH handler calls a webhook that should update Grafana's configuration and restarts the instance.

For local development, set the app mode to development by adding app_mode = development to the top level of your Grafana .ini file.