grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
133 stars 20 forks source link

Use locationService from context in UrlSyncManager #899

Closed aocenas closed 3 days ago

aocenas commented 2 weeks ago

Fixes: https://github.com/grafana/grafana/issues/93225 This changes the UrlSyncManager to use the locationsService from context making it possible to render 2 scenes app without them clashing on URL handling, which is needed for the sidecar project https://github.com/grafana/grafana/pull/91648.

See this draft PR for the Explore Traces app: https://github.com/grafana/explore-traces/pull/102 for usage.

📦 Published PR as canary version: 5.15.1--canary.899.11016830015.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes-react@5.15.1--canary.899.11016830015.0 npm install @grafana/scenes@5.15.1--canary.899.11016830015.0 # or yarn add @grafana/scenes-react@5.15.1--canary.899.11016830015.0 yarn add @grafana/scenes@5.15.1--canary.899.11016830015.0 ```
scenes-repo-bot-access-token[bot] commented 3 days ago

:rocket: PR was released in v5.15.1 :rocket: