Skip to content

AdHocFiltersVariable: add getOriginalValues / setOriginalValues public API#1384

Draft
kristinademeshchik wants to merge 1 commit intomainfrom
KD/ad-hoc-get-set
Draft

AdHocFiltersVariable: add getOriginalValues / setOriginalValues public API#1384
kristinademeshchik wants to merge 1 commit intomainfrom
KD/ad-hoc-get-set

Conversation

@kristinademeshchik
Copy link
Contributor

@kristinademeshchik kristinademeshchik commented Mar 5, 2026

Adds two public methods to AdHocFiltersVariable for managing the _originalValues

These methods allow the dashboard settings editor to read/write filter defaults without coupling to the mutable originFilters state

📦 Published PR as canary version: 7.1.2--canary.1384.22730340628.0

✨ Test out this PR locally via:

npm install @grafana/scenes@7.1.2--canary.1384.22730340628.0
npm install @grafana/scenes-react@7.1.2--canary.1384.22730340628.0
# or 
yarn add @grafana/scenes@7.1.2--canary.1384.22730340628.0
yarn add @grafana/scenes-react@7.1.2--canary.1384.22730340628.0

@kristinademeshchik kristinademeshchik added the release Create a release when this pr is merged label Mar 5, 2026
@kristinademeshchik kristinademeshchik marked this pull request as draft March 5, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Create a release when this pr is merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant