From c5ae0bbba2ef97b93230ae1c4f135e6884e31945 Mon Sep 17 00:00:00 2001 From: Ivan Ortega Alba Date: Thu, 30 May 2024 15:02:31 +0200 Subject: [PATCH] Scenes: Update to latest 4.23.1 -> 4.24.4 (#88485) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # v4.24.4 (Thu May 30 2024) #### 🐛 Bug Fix - `@grafana/scenes` - VizPanelRenderer: Emit SetPanelAttention event [#716](https://github.com/grafana/scenes/pull/716) ([@tskarhed](https://github.com/tskarhed)) #### Authors: 1 - Tobias Skarhed ([@tskarhed](https://github.com/tskarhed)) --- # v4.24.3 (Thu May 30 2024) #### 🐛 Bug Fix - `@grafana/scenes` - Macros: Resolve browser timezone for `$__timezone` [#759](https://github.com/grafana/scenes/pull/759) ([@ivanortegaalba](https://github.com/ivanortegaalba)) - Variables: Prioritize showing adhoc variable key and operator [#750](https://github.com/grafana/scenes/pull/750) ([@oscarkilhed](https://github.com/oscarkilhed)) #### Authors: 2 - Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba)) - Oscar Kilhed ([@oscarkilhed](https://github.com/oscarkilhed)) --- # v4.24.2 (Wed May 29 2024) #### 🐛 Bug Fix - `@grafana/scenes` - MultiValueVariable: Fixes issue when value is all value but all value is not enabled [#757](https://github.com/grafana/scenes/pull/757) ([@torkelo](https://github.com/torkelo) [@ivanortegaalba](https://github.com/ivanortegaalba)) #### Authors: 2 - Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba)) - Torkel Ödegaard ([@torkelo](https://github.com/torkelo)) --- # v4.24.1 (Tue May 28 2024) #### 🐛 Bug Fix - Plugin.json: update schema reference URL in scenes-app [#754](https://github.com/grafana/scenes/pull/754) ([@leventebalogh](https://github.com/leventebalogh)) - `@grafana/scenes` - Allow drag and dropping rows in valid states [#756](https://github.com/grafana/scenes/pull/756) ([@mdvictor](https://github.com/mdvictor)) - fix: undefined check on RefreshPicker.autoOption [#751](https://github.com/grafana/scenes/pull/751) ([@darrenjaneczek](https://github.com/darrenjaneczek)) #### Authors: 3 - Darren Janeczek ([@darrenjaneczek](https://github.com/darrenjaneczek)) - Levente Balogh ([@leventebalogh](https://github.com/leventebalogh)) - Victor Marin ([@mdvictor](https://github.com/mdvictor)) --- # v4.24.0 (Mon May 27 2024) #### 🚀 Enhancement - `@grafana/scenes` - SceneFlexLayout: Min width/height option was ignored [#749](https://github.com/grafana/scenes/pull/749) ([@edvard-falkskar](https://github.com/edvard-falkskar)) #### Authors: 1 - Edvard Falkskär ([@edvard-falkskar](https://github.com/edvard-falkskar)) --- --- package.json | 2 +- .../dashboard-scene/pages/DashboardScenePage.test.tsx | 3 +++ yarn.lock | 10 +++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 046a5d67728..066b921afd2 100644 --- a/package.json +++ b/package.json @@ -259,7 +259,7 @@ "@grafana/prometheus": "workspace:*", "@grafana/runtime": "workspace:*", "@grafana/saga-icons": "workspace:*", - "@grafana/scenes": "^4.23.1", + "@grafana/scenes": "^4.24.4", "@grafana/schema": "workspace:*", "@grafana/sql": "workspace:*", "@grafana/ui": "workspace:*", diff --git a/public/app/features/dashboard-scene/pages/DashboardScenePage.test.tsx b/public/app/features/dashboard-scene/pages/DashboardScenePage.test.tsx index 487397536d7..3fe7ba89db6 100644 --- a/public/app/features/dashboard-scene/pages/DashboardScenePage.test.tsx +++ b/public/app/features/dashboard-scene/pages/DashboardScenePage.test.tsx @@ -30,6 +30,9 @@ jest.mock('@grafana/runtime', () => ({ getInstanceSettings: jest.fn().mockResolvedValue({ uid: 'ds1' }), }; }, + getAppEvents: () => ({ + publish: jest.fn(), + }), })); const getPluginLinkExtensionsMock = jest.mocked(getPluginLinkExtensions); diff --git a/yarn.lock b/yarn.lock index 5c21d7472b7..2743d13ee93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3509,9 +3509,9 @@ __metadata: languageName: unknown linkType: soft -"@grafana/scenes@npm:^4.23.1": - version: 4.23.1 - resolution: "@grafana/scenes@npm:4.23.1" +"@grafana/scenes@npm:^4.24.4": + version: 4.24.4 + resolution: "@grafana/scenes@npm:4.24.4" dependencies: "@grafana/e2e-selectors": "npm:^10.4.1" react-grid-layout: "npm:1.3.4" @@ -3525,7 +3525,7 @@ __metadata: "@grafana/ui": ^10.4.1 react: ^18.0.0 react-dom: ^18.0.0 - checksum: 10/7d0ad670cf5b93b8d82e09091fa3bf8f257cd07fcd1a2205f510f417be2b64132fbe889b566e5212ecb5d096c7eaf78e762a961b123143c20b68567a28935e41 + checksum: 10/98aa3f64164f25dcf6f06fb06ac8e6787ad1f7ec54c9537842b5bcf997ae6eedeb67a6bd420d3b7ad0c209ad5addb00e87b45f982a2dd85cce6287ed4ca98ca1 languageName: node linkType: hard @@ -16742,7 +16742,7 @@ __metadata: "@grafana/prometheus": "workspace:*" "@grafana/runtime": "workspace:*" "@grafana/saga-icons": "workspace:*" - "@grafana/scenes": "npm:^4.23.1" + "@grafana/scenes": "npm:^4.24.4" "@grafana/schema": "workspace:*" "@grafana/sql": "workspace:*" "@grafana/tsconfig": "npm:^1.3.0-rc1"