mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
Bump scenes to 4.1.2 (#85470)
* Bump scenes to 4.1.2 * Fix tests after fixing the sorting in rows --------- Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
This commit is contained in:
parent
4205491788
commit
9ba9cbf300
@ -253,7 +253,7 @@
|
||||
"@grafana/prometheus": "workspace:*",
|
||||
"@grafana/runtime": "workspace:*",
|
||||
"@grafana/saga-icons": "workspace:*",
|
||||
"@grafana/scenes": "4.0.4",
|
||||
"@grafana/scenes": "4.1.2",
|
||||
"@grafana/schema": "workspace:*",
|
||||
"@grafana/sql": "workspace:*",
|
||||
"@grafana/ui": "workspace:*",
|
||||
|
@ -234,8 +234,10 @@ describe('transformSaveModelToScene', () => {
|
||||
expect(rowScene.state.children[0]).toBeInstanceOf(DashboardGridItem);
|
||||
expect(rowScene.state.children[1]).toBeInstanceOf(DashboardGridItem);
|
||||
expect(rowScene.state.children[2]).toBeInstanceOf(DashboardGridItem);
|
||||
expect((rowScene.state.children[1] as DashboardGridItem).state.body!).toBeInstanceOf(AddLibraryPanelWidget);
|
||||
expect((rowScene.state.children[2] as DashboardGridItem).state.body!).toBeInstanceOf(LibraryVizPanel);
|
||||
// Panels are sorted by position in the row
|
||||
expect((rowScene.state.children[0] as DashboardGridItem).state.body!).toBeInstanceOf(AddLibraryPanelWidget);
|
||||
expect((rowScene.state.children[1] as DashboardGridItem).state.body!).toBeInstanceOf(LibraryVizPanel);
|
||||
expect((rowScene.state.children[2] as DashboardGridItem).state.body!).toBeInstanceOf(VizPanel);
|
||||
});
|
||||
|
||||
it('should create panels within expanded row', () => {
|
||||
|
10
yarn.lock
10
yarn.lock
@ -4121,9 +4121,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@grafana/scenes@npm:4.0.4":
|
||||
version: 4.0.4
|
||||
resolution: "@grafana/scenes@npm:4.0.4"
|
||||
"@grafana/scenes@npm:4.1.2":
|
||||
version: 4.1.2
|
||||
resolution: "@grafana/scenes@npm:4.1.2"
|
||||
dependencies:
|
||||
"@grafana/e2e-selectors": "npm:10.3.3"
|
||||
react-grid-layout: "npm:1.3.4"
|
||||
@ -4137,7 +4137,7 @@ __metadata:
|
||||
"@grafana/ui": ^10.0.3
|
||||
react: ^18.0.0
|
||||
react-dom: ^18.0.0
|
||||
checksum: 10/2d5b7925c9f4d1eaad5f322a669da055341e2a47e19cb26e40f50e0090ec0d823f3041017ed4f2d7a5af6f7f4025097f6b6a2c4e7779fa61df788d298e3745dd
|
||||
checksum: 10/3627d1f200b30872615d9427af3bdac534f8a39a5dd1ba1b3a55b9e6664cf5f0e9750fd9c0d36d1e54d7dd20f7e74a8f5e56f3e145e02f315bd9f104cdb448bd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -18546,7 +18546,7 @@ __metadata:
|
||||
"@grafana/prometheus": "workspace:*"
|
||||
"@grafana/runtime": "workspace:*"
|
||||
"@grafana/saga-icons": "workspace:*"
|
||||
"@grafana/scenes": "npm:4.0.4"
|
||||
"@grafana/scenes": "npm:4.1.2"
|
||||
"@grafana/schema": "workspace:*"
|
||||
"@grafana/sql": "workspace:*"
|
||||
"@grafana/tsconfig": "npm:^1.3.0-rc1"
|
||||
|
Loading…
Reference in New Issue
Block a user