Dominik Prokop
a3ae9d418d
DashboardScene: Alert states data layer ( #77945 )
...
* Add AlertStates data topic
* DashboardScene: Alert states data layer
* TMP package json
* Remove duplicated function
* Use latest scenes canry
* Use latest scenes and add transformation test
2023-11-14 00:08:06 -08:00
kay delaney
375dcc3813
Chore: Change VariableModel to TypedVariableModel in most places ( #76690 )
2023-11-08 22:15:29 +00:00
Dominik Prokop
6e80a3d59b
DashboardScene: Viewer role only support ( #76748 )
...
* Allow starring DashboardScene
* Add feature toggle to enable dashbaord scene for viewers
* Basics for proxying viewers to a dashboard scene
* Removed isHomeDashboard flag
* Don't use proxy for rendering dashboard page
* Revert "Don't use proxy for rendering dashboard page"
This reverts commit 95836bdb2c .
* Pre-fetch dashboard prior page rendering
* Depend only on dashboard permissions
* Update default home dashboard to proper model...
* Fix breadcrumbs
* Types update
* Dashboards page proxy tests
* Fix missing controls
* URLs generation
* DashboardScenePageStateManager caching test
* Tests updates
* Fix wrong import
* Test update
* Gen
2023-11-02 12:02:25 -07:00
Dominik Prokop
bbe1767310
DashboardScene: Panel links support ( #77295 )
...
* DashboardScene: PanelLinks support
* Update public/app/features/dashboard-scene/scene/PanelMenuBehavior.tsx
* Remove code
* Use updated API
* Bump scenes version
2023-10-31 01:57:38 -07:00
Dominik Prokop
120247667b
DashboardScene: Transform scene repeats to snapshot ( #76428 )
...
* WIP : Transform scene panel repeats to snapshot
* Set scoped vars correctly on repeated panel snapshot
* Row repeats snapshots
* Fix scoped vars for repeated rows
* Tests
* Fix merge
2023-10-23 02:46:35 -07:00
Alexa V
8dfd918200
Dashboard: Use Interval variable in DashboardScene ( #75836 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2023-10-16 17:34:09 +02:00
Torkel Ödegaard
a42040a59a
DashboardScene: Backward compatability with getDashboardSrv.getCurrent and DashboardModel props and functions ( #76371 )
...
* DashboardSrv.getCurrent backward compatibility
* fixes
2023-10-13 16:24:04 +02:00
Torkel Ödegaard
de8ab7efe7
DashboardScene: Support for dashboard PanelContext actions via state hook ( #76192 )
...
* DashboardScene: Support for dashboard PanelContext actions via state hook
* Update
* Progress
* Update
* Update
* update
2023-10-13 11:42:42 +02:00
Torkel Ödegaard
e46e66313d
DashboardScene: Support for Angular panels ( #76072 )
...
* Could work
* it's working
* remove comment
* Update comment
* Make options work
* Progress
* Update panel class name
* Update public/app/angular/panel/AngularPanelReactWrapper.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* Fixes
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2023-10-11 14:27:20 +02:00
Torkel Ödegaard
42218fbdbb
DashboardScene: Support auto migration for angular panels ( #76100 )
...
* DashboardScene: Support auto migration for angular panels
* minor tweak
* Update scenes
* Review fix
* Update
2023-10-10 14:33:58 +02:00
Torkel Ödegaard
f41565626a
DashboardScene: AdHoc filters ( #76115 )
...
* DashboardScene: AdHoc filters
* Update
* minor update
* update
2023-10-10 10:17:21 +02:00
Dominik Prokop
2cfbe087fc
DashboardScene serialization: Handle variables and library panels ( #76117 )
...
* DashboardScene serialization: Library panels
* DashboardScene serialization: Variables
* TS fix
* Review
* betetrer -u
2023-10-06 05:32:29 -07:00
Torkel Ödegaard
9201c47e59
DashboardScene: Map timezone and fiscal year to scene model and back ( #75715 )
...
* DashboardScene: Map timezone and fiscal year to scene model and back
* weekstart
* update scenes
2023-10-03 11:03:53 +02:00
Dominik Prokop
df1c80c7d8
DashboardScene: Prepare annotations support for public dashboards ( #75146 )
...
* WIP Dashboard to Scenes: Annotations
* Bump scenes
* Enable annotations and controls
* Betterer
* Update snapshots
* Test fix
* DashboardScene: Prepare annotations support for public dashboards
* Use latest scenes
2023-09-20 03:47:09 -07:00
Dominik Prokop
157859aede
DashboardScene: Integrate annotations ( #74610 )
...
* WIP Dashboard to Scenes: Annotations
* Bump scenes
* Enable annotations and controls
* Betterer
* Update snapshots
* Test fix
2023-09-20 02:50:35 -07:00
Torkel Ödegaard
5e9f252962
DashboardScene: Inspect / Json tab ( #74701 )
...
* DashboardScene: Inspect / Json tab
* Fixing behaviors and writing tests
* Progress
* limit options based on data provider
* Fixes
* Add tracking
* Remove unused function
* Remove unused function
* Fix test
* Update
* Move utils function
* Rename to source
2023-09-14 12:17:04 +02:00
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior ( #74505 )
...
* Repeating rows start
* working
* Progress
* Progress
* Update
* up scenes lib
* Update
* Progress
* restore url sync
* Progress
* Fixes and tests
* Update
* Adds tests and code to remove repeats from save model
* Update
* Fix test
2023-09-11 12:02:04 +02:00
Torkel Ödegaard
d82a3c9fc6
DashboardScene: Repeat panel by variable ( #74294 )
...
* Progress
* think this a bad approach
* Scene panel repeats looking good
* Update
* update
* Update
* Use key instead for inspect/view
* refactorings to improve tests
* Update
* More tests
* Update
* added support for key / value variables
* Update
* Fixes
* remove log
* Update
* Removed old gdev templating dashboard and added new and improved one
* Update
* Added repeating panels coded demo
* Update to latest scenes lib
* review feedback fixes
* update
* Sync schema
2023-09-05 13:51:46 +02:00
Torkel Ödegaard
f4c127a1d8
DashboardScene: Support panel relative time overrides and timeshift ( #62844 )
...
* Things are working
* update
* Added unit tests
* More tests
* minor fix
* Update
* Support hideTimeOverride
2023-09-01 10:21:41 +02:00
Torkel Ödegaard
412e545503
DashboardScene: Support for discard, start at transform back to save model and save drawer ( #73873 )
...
* SceneDashboard: Discard changes now works
* To save model works and start at save drawer
* Update
* Added missing file
* Refactorings to keep responsibility more logical
* Refactorings
* Removed file
* Fixed state issue
* Update
* Update
2023-08-29 14:17:55 +02:00