grafana / scenes

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

SceneTimeRange: Use new weekStart prop on TimeRangePicker #910

Closed torkelo closed 1 month ago

torkelo commented 1 month ago

Apparently, the setWeekStart runtime function has stopped working some time ago (maybe due a browser update), not sure.

Frontend platform added a weekStart prop to TimeRangePicker recently (but did not notify us about this)

This updates SceneTimePicker to pass the weekStart state prop to TimeRangePicker

I also have a a bit related PR that fixes weekStart for all scene app plugins (so TimeRangePicker uses the system or user weekStart by default)

https://github.com/grafana/grafana/pull/93464

scenes-repo-bot-access-token[bot] commented 1 month ago

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