Ivan Ortega Alba
c5ae0bbba2
Scenes: Update to latest 4.23.1 -> 4.24.4 ( #88485 )
...
# 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 ))
---
2024-05-30 15:02:31 +02:00
Bogdan Matei
011becb39e
Scopes: Use Grafana namespace instead of default ( #88451 )
2024-05-29 23:48:17 +03:00
Bogdan Matei
55ea077c3e
Scopes: Select scope even without data retrieval ( #87988 )
...
* Scopes: Select scope even without data retrieval
* Pass entire scope and not only the spec to Prometheus
* Enrich ScopeSpec that is sent to Prometheus
* add name to BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-05-29 20:09:27 +03:00
Dominik Prokop
6e9543e0ad
Preserve variables and time range when navigating between dashboards ( #87966 )
...
* POC preserve filters and group by when navigating between dashboards
* Save all variables and time range
* minor refactor
* Add feature toggle
* Update feature toggle usage
* Delete local storage item if nothing to preserve
* Structural changes
* Simplify restore params code
* Use session storage
* Add tests
* Merge fix
* Remove unused code
* And make it better, errrrrr
* Minor deduplication refactor
* last minor
2024-05-27 14:28:06 +02:00
Ivan Ortega Alba
66950c96f6
Dashboards: Discard the entire panel if it is newly added ( #87562 )
2024-05-27 13:46:02 +02:00
Agnès Toulet
f866157f99
Page: add scrollbar ID to use in image renderer ( #88214 )
2024-05-24 17:28:43 +02:00
Sergej-Vlasov
fbb5fd71f9
DashboardScenes: Optimise e2e test and add panels suite ( #88170 )
...
* refactor tests after adding additional data-testids
* add panels-suite e2e tests
* wip: add missing selectors
* finalise panels-suite tests
* clean up
* adjust workflow for test run
* restore workflow
2024-05-24 16:22:11 +03:00
Oscar Kilhed
6775bcb0a3
Dashboard scenes: Fix variable saving inconsistencies ( #88163 )
...
* Fix variable saving inconsistencies
* add tests
* for variable changes to be detected, save variables need to be true
* Fix for issue with buildNewDashboardSaveModel creating filter variable withouth filter property
* remove unused import
2024-05-24 13:33:05 +02:00
Ezequiel Victorero
6e88802cab
Snapshots: Add e2e test for Scenes view ( #88003 )
2024-05-23 10:35:03 -03:00
Ryan McKinley
e8b7b6aa66
ResourceClient: Add generateName (eg UID) helper ( #88037 )
2024-05-20 12:18:53 +03:00
Ezequiel Victorero
5ce2d4e1a7
Snapshots: Render Dashboard controls in Scenes View ( #87972 )
2024-05-16 12:22:14 -03:00
Bogdan Matei
6127dfd322
Scopes: Adapt for new API ( #87841 )
...
* Implement changes for new Scopes API
* Update from linkID to linkId
* Fixes
* Fix tests
* prom/scopes: change query model to recieve []ScopeSpec
* Move to basic backend service
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-05-15 16:28:09 +03:00
Torkel Ödegaard
699c5bfe79
DashboardScene: Skip panel repeats when values are the same ( #87788 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-15 12:29:46 +02:00
Oscar Kilhed
d52381b744
Dashboard scenes: Fix issue going from view panel to edit panel when dashboard is not in edit mode ( #87487 )
...
Fix issue going from view panel to edit panel
2024-05-15 11:53:02 +02:00
Sergej-Vlasov
5f147644d4
DashboardScene: Default hoverHeaderOffset
to 0 ( #87561 )
...
* remove hoverHeaderOffsetBehavior and force offset to 0
* force headerHoverOffset in addPanel flow
2024-05-14 17:50:59 +03:00
Torkel Ödegaard
9cd7c87b48
DashboardScene: Fixing major row repeat issues ( #87539 )
...
* DashboardScene: Fixing major row repeat issues
* Fixing edit scope
* Use dashboard variableDependendency to notify row repeat behaviors
* update scenes lib
* Do not repeat if values are the same
* Update public/app/features/dashboard-scene/scene/DashboardScene.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Updated scenes
* Update
* Update
* Do not render row actions for repeated rows
* Fixed e2e
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-14 12:39:10 +02:00
Ezequiel Victorero
56766abcc8
Scenes: Fix snapshot rendering ( #87769 )
2024-05-13 16:15:39 -03:00
Dominik Prokop
39aafde8cb
AdHocFilters: Use queries in ad hoc filters api calls ( #87624 )
2024-05-10 14:54:07 +02:00
Sonia Aguilar
4b720206d4
Alerting: Reduce number of request fetching rules in the dashboard view using rtkq ( #86991 )
...
* Reduce number of request fetching rules in the dashboard view using rtkq
* Fix UnifiedAlertStatesWorker work
* refactor ungroupRulesByFileName
* Address review comments and fix test
* fix DashboardQueryRunner test
* Fix tests
* Update AlertStatesDataLayer to use RTKQ
* Fix PanelAlertTabContent test
* Fix PanelAlertTabContent test after adding RTKQ
* fix test and address PR review comments
* Update useCombinedRuleNamespaces to have both dashboardUID and panelId as optional params and rename the hook
* Address review pr comment
* remove test about template variables
* Use poll interval in useCombinedRules
2024-05-10 12:27:06 +02:00
Oscar Kilhed
c3936bbae2
DashboardScene: Discard panel changes disabled/enabled depending of changes ( #87137 )
...
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-05-09 18:48:20 +03:00
Alexa V
2dc19a0241
Chore: Update deprecated layout components HorizontalGroup and VerticalGroup in dashboard scene code ( #87447 )
...
* Chore: update deprecated layout components in scene code
* Add missing css for missing selectionOptionsForm
2024-05-08 15:42:36 +02:00
Tobias Skarhed
ef37b78631
Revert "Panel: Keyboard focus shortcuts prioritization" ( #87213 )
...
Revert "Panel: Keyboard focus shortcuts prioritization (#86772 )"
This reverts commit 3e450ec4bf
.
2024-05-08 14:53:20 +02:00
Torkel Ödegaard
0c2f58bdae
DashboardScene: Fixes editing transformations after toggling table view ( #87397 )
2024-05-08 08:58:19 +02:00
Oscar Kilhed
c6975e06d2
Dashboard scenes: Fix view panel breadcrum when going to edit from view single panel ( #87411 )
...
Fix view panel breadcrum when going to edit from view panel
2024-05-07 14:02:52 +02:00
Ashley Harrison
1d6d5cc2cd
Chore: improve typings ( #87306 )
...
* some fixes
* some more fixes
* some canvas fixes
* use removeProperty instead
* few more
* fixy fix
* undo changes to ticks for now
2024-05-03 17:21:37 +01:00
Darren Janeczek
5b424ed6bb
scenes: update to v4.14.0: opt-in to useQueriesAsFilterForOptions
( #87244 )
...
* fix: opt-in to `useQueriesAsFilterForOptions`
With updating the scenes library, dashboards must now explicitly
opt in to `useQueriesAsFilterForOptions`.
2024-05-03 18:47:57 +03:00
Gilles De Mey
5e25afe6e9
Alerting: New settings page ( #84501 )
2024-05-03 17:42:42 +02:00
Sergej-Vlasov
6433053479
DashboardScene: Restrict dashboard in read only state ( #87316 )
...
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2024-05-03 18:33:49 +03:00
Juan Cabanas
d1434fad3a
ShareModal: Share link redesign under newDashboardSharingComponent
FF ( #87011 )
2024-05-03 12:02:18 -03:00
kay delaney
b3f173f153
Dashboard: Fix issue where changes to panel in row weren't detected in panel edit ( #87195 )
...
Closes #87171
2024-05-03 11:50:10 +02:00
Gilles De Mey
0dffdc1756
Scenes: Add endLineNumber to json diff ( #87049 )
2024-05-02 16:41:13 +02:00
Alexa V
eae1cafebd
Dashboard Scene: Chore - Add missing unit test to PanelDataQueryTab ( #87139 )
...
* Create basic structure PanelDataQueriesTab unit test
* Add more test cases to the PanelDataQueriesTab test
* Update public/app/features/dashboard-scene/panel-edit/VizPanelManager.tsx
2024-05-02 15:54:50 +02:00
Sergej-Vlasov
afbd02c4ec
DashboardScene: adjust lib panel as a dashboard datasource refresh logic ( #87120 )
...
* activate library viz panel and adjust id extractor
* revert parts that are fixed in #87125
* clean up after activation handler
2024-05-02 16:20:35 +03:00
Sergej-Vlasov
4d37e11ce9
DashboardScene: Remove min height on viz picker scroll container ( #87172 )
...
removed min height prop
2024-05-02 15:07:13 +03:00
Alexa V
9ea1042329
Dashboard: POC to run existing e2e with dashboardScene
feature toggle ( #84598 )
...
* Standarize e2e for addDashbaord e2e flow
* WIP: Duplicate e2e dashboard flows and smoke test for scene e2e tests
* Fix autoformatting mistake for bash file
* Enable dashboardScene using local storage and only for the scene folder
* Add missing folders
* Set the feature toggle in the before of all tests
* Revert "Standarize e2e for addDashbaord e2e flow"
This reverts commit 6b9ea9d5a4
.
* Add missing e2e selectors to NavToolbarActions, and modify addDashboard scene flow
* e2e: panels_smokescreen.spec.ts migrated
* e2e smokeTestSceneario migrated
* Start migrating dashbaord-suite e2e
* WIP create variable types
* adjust tests for scenes
* restore dashboard json file
* update scenes version
* restore pkg/build/wire/internal/wire/testdata modifications
* finalising test adjusments
* restore pkg/build/wire/internal/wire/testdata files
* add latest scenes version and update tests
* add drone setup for dashboard scenes tests
* update to latest scenes version
* adjust drone errors
* adjust indentation in drone yml file
* drone adjustments
* add github workflow to run scenes e2e
* restore drone file
* adjust github workflow
* wip: github workflow adjustments
* test remove gpu
* bump
* undo formating changes
* wip: github workflow debugging
* adjusting flaky tests
* update to latest scenes
* clean up workflow file
* adjust flaky test
* clean up pr
* finalise worflow logic and add to codeowners
* clean up launching old arch dashboards e2e separately
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
Co-authored-by: Jeff Levin <jeff@levinology.com>
2024-05-01 17:56:48 +03:00
Torkel Ödegaard
4034a26972
DashboardScene: Fixes issue referring to library panel in dashboard data source ( #87125 )
...
* DashboardScene: Fixes issue using a library panel as source for dashboard data source
* Added test
2024-05-01 14:30:54 +02:00
Torkel Ödegaard
7a5c17d613
DashboardScene: Fixes issue with panel edit options pane and data ( #87161 )
2024-05-01 11:17:48 +02:00
Tim Mulqueen
6dbc44920c
Dashboard Scene - Variable Fix: cancel out margin-bottom of placeholder in loading state ( #87107 )
...
fix: cancel out margin-bottom of placeholder in loading state
2024-04-30 10:54:25 +02:00
Konrad Lalik
9369f07e32
Alerting: Immutable plugin rules and alerting plugins extensions ( #86042 )
...
* Add pluginsApi
* Add rule origin badge
* Make plugin provided rules read-only
* Add plugin settings caching, add plugin icon on the rule detail page
* Add basic extension point for custom plugin actions
* Add support for alerting and recording rule extensions
* Move plugin hooks to their own files
* Add plugin custom actions to the alert list more actions menu
* Add custom actions renderign test
* Add more tests
* Cleanup
* Use test-utils in RuleViewer tests
* Remove __grafana_origin label from the label autocomplete
* Remove pluginsApi
* Add plugin badge tooltip
* Update tests
* Add grafana origin constant key, remove unused code
* Hide the grafana origin label
* Fix typo, rename alerting extension points
* Unify private labels handling
* Add reactive plugins registry handling
* Update tests
* Fix tests
* Fix tests
* Fix panel tests
* Add getRuleOrigin tests
* Tests refactor, smalle improvements
* Rename rule origin to better reflect the intent
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-04-30 10:34:52 +02:00
Torkel Ödegaard
a4bb4c8400
DashboardScene: Fixes issues with relative time range in panel edit ( #86862 )
...
* DashboardScene: Fixes deleting dirty dashboard
* Update
* Progress
* Update
* Update
* Update
* Update
* Update
* Update
* update
* Update
2024-04-29 10:53:57 +02:00
Torkel Ödegaard
01f8301504
DashboardScene: Fixes issue with dashboard links and variables ( #86910 )
...
* DashboardScene: Fixes issue with dashboard links and variables
* Update
2024-04-29 10:28:41 +02:00
Victor Marin
8705e03d57
Home dashboard test ( #86961 )
...
home dashboard test
2024-04-29 10:56:06 +03:00
Dominik Prokop
67968df70e
DashboardDataSourceBehaviour: Handle loading library panel ( #86980 )
...
* DashboardDataSourceBehaviour: Handle loading library panel
* Remove timeout
* FIx test
2024-04-29 09:49:46 +02:00
Oscar Kilhed
fdc1023586
Dashboard scenes: Fix min interval not saving ( #86962 )
...
* Fix min interval not saving
* Add tests
* Fix test
2024-04-29 09:41:43 +02:00
Juan Cabanas
b77763bbcc
ShareModal: Differentiate between panel and dashboard share for tracking ( #86992 )
2024-04-26 15:35:39 -03:00
kay delaney
1dbb3bfdea
Scenes/PanelVizTypePicker: Use default tab if listMode is unsupported ( #86885 )
...
Closes #84565
2024-04-26 18:44:18 +01:00
Juan Cabanas
85c23eed38
ShareModal: Remove PublicDashboard tab when share panel ( #86946 )
2024-04-26 11:34:55 -03:00
Juan Cabanas
9f07c37fac
ShareModal: Fix share link tracking ( #86940 )
2024-04-25 15:38:12 -03:00
kay delaney
917cbce448
Scenes: Remove lodash usage from DetectChangesWorker ( #86683 )
2024-04-25 14:42:24 +01:00
Alexa V
e711d10925
Dashboard: Migration Fixes Mixed data source losing existing queries ( #86883 )
2024-04-25 13:06:57 +02:00