Victor Marin
b9285e320a
Fix new dashboard save name validation ( #86290 )
2024-04-16 15:46:25 +03:00
Alexa V
40f1b2c92c
Dashboard: Migration - Add public dashboard tag in the nav bar ( #86204 )
...
Migrate public dashboard badge to scenes dashboard
2024-04-16 10:04:25 +02:00
Torkel Ödegaard
e15beab362
DashboardScene: Fixes saving dashboard with angular panels ( #86098 )
...
* DashboardScene: Fixes saving angularOptions
* Update
* Update
2024-04-16 03:13:42 +02:00
Torkel Ödegaard
869814ea3e
DashboardScene: Fix empty row repeat issue ( #86095 )
2024-04-16 03:10:24 +02:00
Brendan O'Handley
f85470d652
Prometheus: Use the frontend package in Prometheus and remove feature toggle ( #86080 )
...
* add history links for monaco completion provider folder
* add history links for monaco query field folder
* add history links for components folder
* add history links for configuration folder
* add history links for dashboard json folder
* add history links for gcopypaste folder
* add history link for variableMigration
* add history link for querybuilder/components/metrics-modal folder
* add history link for querybuilder/components/promqail folder
* add history links for querybuilder/components folder
* add history links for querybuilder/hooks folder
* add history links for querybuilder/shared folder
* add history links for querybuilder folder
* add history links for querycache folder
* add history links for src folder
* use frontend package and custom auth in module.ts
* remove files and fix import issues
* remove usePrometheusFrontendPackage
* remove extra files
* update betterer
* remove extra files after rebase
* fix betterer for rebase
* fix e2e flakiness
2024-04-15 16:45:23 -05:00
Bogdan Matei
d379e319d6
Implement API server client in Scopes ( #85266 )
2024-04-15 13:43:42 +03:00
Torkel Ödegaard
814ffdbc2b
DashboardScene: Fixes issue moving between dashboards ( #86093 )
2024-04-15 09:18:02 +02:00
Sergej-Vlasov
79631bdd15
DashboardScene: prevent panel hovel header crop with scenes ( #85869 )
...
* add behaviour that adjusts hoverHeaderOffset
* clean up behaviour logic
* optimise and extract behaviour to separate file
* fix hoverHeaderOffsetBehavior unsubscribe
* update to latest scenes version
* Fix PanelOptionsTest
* fix: test value for adhoc filter url param
* Fix transformation tab tests
* bump scenes version
* Revert "Fix transformation tab tests"
This reverts commit 3ec9f5b226
.
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2024-04-10 20:39:43 +03:00
Dominik Prokop
483dc02b68
Remove repeating responsibility from LibraryVizPanel ( #84879 )
...
* Remove repeating responsibility from LibraryVizPanel
* Improvements
2024-04-10 17:46:42 +02:00
Dominik Prokop
615fa73f23
DashboardScene: Enrich requests correctly in edit mode ( #85883 )
2024-04-10 17:38:37 +02:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions ( #85839 )
...
* fix some type assertions in loops
* some more cleanup
* some alerting fixes
* put comments in correct place to ignore rule
* couple more
* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
Sergej-Vlasov
33b6f45a9e
Revert "DashboardScene: prevent panel hovel header crop with scenes" ( #85865 )
...
Revert "DashboardScene: prevent panel hovel header crop with scenes (#85780 )"
This reverts commit 23f1732855
.
2024-04-10 16:27:53 +03:00
Sergej-Vlasov
23f1732855
DashboardScene: prevent panel hovel header crop with scenes ( #85780 )
...
* add behaviour that adjusts hoverHeaderOffset
* clean up behaviour logic
* optimise and extract behaviour to separate file
* fix hoverHeaderOffsetBehavior unsubscribe
* update to latest scenes version
* Fix PanelOptionsTest
* fix: test value for adhoc filter url param
* Fix transformation tab tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2024-04-10 15:39:51 +03:00
Oscar Kilhed
96abe65fe4
Dashboard scenes: Fix export tab not including variables when exporting externally ( #85807 )
...
Fix export tab not including variables when exporting externally
2024-04-09 20:39:30 +02:00
Darren Janeczek
66c0fd4dcc
chore: update datatrails feature flag and enable ( #85508 )
...
* chore: update datatrails feature flag and enable
* fix: rename `datatrails` feature flag to `exploreMetrics`
2024-04-09 14:15:18 -04:00
Victor Marin
b6249d6a50
Check source panel for updates in Dashboard DS panel ( #85655 )
...
* Check source panel for updates in Dashboard DS panel
* Test
* made it better
* cleanup
* cleanup and tests
* fix failing tests
* find the correct dashboard query
* revert mixed check in dashboard behaviour
* Dashboard data source: Return error when used in mixed data source (#85765 )
* MixedDS: Inform about dashboard ds not being supported
* lint fix
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-04-09 20:59:37 +03:00
Ivan Ortega Alba
27bc0c19ab
DashboardScene: Detect changes when editing a panel ( #85708 )
2024-04-09 18:48:10 +03:00
Ivan Ortega Alba
df72cfd38e
Dashboard: Move "add" actions into a dropdown ( #85776 )
...
* Move all add actions into a dropdown
* Hide alerts rules when editing
* Hide fav icon when editing
2024-04-09 11:09:37 +03:00
Torkel Ödegaard
edf36d9ec0
DashboardScene: Fixes issue with mobile responsive layout due to repeated grid item class ( #85731 )
2024-04-08 16:55:35 +02:00
Juan Cabanas
d0312af571
PublicDashboards: Footer fix for scenes ( #85684 )
2024-04-08 09:44:27 -03:00
Ivan Ortega Alba
d983629650
Detect folder changes when saving a dashboard ( #85378 )
2024-04-08 13:06:50 +03:00
Bogdan Matei
9d44c8e8cf
Add auto
to refresh picker ( #85584 )
2024-04-05 18:31:40 +03:00
kay delaney
9efbf142a8
Scenes: Persist changes made in edit mode to save model ( #84320 )
2024-04-05 12:32:28 +03:00
Torkel Ödegaard
49a3a95dd1
DashboardScene: Fixes panel edit issue with clearing title not resulting in hover header mode ( #85621 )
...
* PanelEditor: Update hoverHeader state when changing panel title
* refactor test and remove duplicate
2024-04-05 11:24:25 +02:00
Agnès Toulet
3ef23a5e3e
Scenes: Add modal ref to custom tabs ( #85602 )
2024-04-05 09:28:10 +02:00
Dominik Prokop
44376f8039
PanelEditor: Fix runtime error caused by panels not installed in Grafana instance ( #85592 )
...
FIx runtime error casued by panels non installed in Grafana instance
2024-04-04 15:45:27 +02:00
Dominik Prokop
32b6ef9d15
Feature toggle to add filter and group by variables to all new dashboards by default ( #85531 )
...
* Add feature toggle
* Add filters and group by variables by default to all new dashboards
* Nits
* Tests
* Rename feature toggle to newDashboardWithFiltersAndGroupBy
2024-04-04 13:25:21 +02:00
kay delaney
9537de26a5
Scenes: Fix issue where annotations with same name wouldn't render properly ( #85489 )
...
Closes #85457
2024-04-04 10:45:24 +01:00
kay delaney
85127464a3
Scenes: Fix issue where unsaved changes prompt is shown when quickly adding panel to new dashboard ( #85518 )
...
Closes #84577
2024-04-03 15:39:01 +01:00
Ivan Ortega Alba
89638238e5
DashboardScene: Detect changes when live is enabled from settings ( #85409 )
...
* Adapt the code to the new live timer API
* Update scenes
2024-04-03 14:22:10 +03:00
Ivan Ortega Alba
eb3d088645
DashboardScene: Implement autofit panels ( #85221 )
2024-04-03 13:36:29 +03:00
Dominik Prokop
b4dc79401b
DashboardScene: Fix explore to dashboard flow ( #85140 )
...
* DashboardScene: Fix explore to dashboard flow
* Tests
* Make sure dashboard is in edit mode when adding from explore
* Allow discarding changes when coming from explore
* Tests
2024-04-03 12:06:38 +02:00
Oscar Kilhed
9ba9cbf300
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>
2024-04-02 16:15:53 +02:00
Dominik Prokop
fa9e139123
DashboardScene: Fix issues with dashboard empty state ( #85406 )
...
Fix
Tests
Make sure edit mode is on when adding panel/library panel
Co-authored-by: kay delaney <kay@grafana.com>
2024-03-30 18:34:26 +01:00
Dominik Prokop
63a941472e
DashboardScene: Fix access to dashboard settings views ( #85289 )
...
* DashboardScene: Fix access to dashboard settings views
* Review
2024-03-28 16:40:39 +01:00
Ivan Ortega Alba
233f119037
Panel: Description display event is reported multiple times ( #85283 )
2024-03-28 16:39:18 +01:00
Victor Marin
30c9307539
Scenes: Fix row crash when removing a panel from it ( #85339 )
...
* Fix row crash when removing a panel from it
* fix tests
* fix tests
2024-03-28 16:45:33 +02:00
Dominik Prokop
ae9a4b6467
DashboardScene: Fix constant variable not being hidden after creation ( #85196 )
2024-03-28 15:29:48 +01:00
Torkel Ödegaard
e90b87589f
ModalsContext: Unify modals context and manager ( #84916 )
...
* ModalsContext: Unify modals context and manager
* Clear on location change
* fixes
* Update
* use generics to avoid anys
---------
Co-authored-by: joshhunt <josh@trtr.co>
2024-03-28 13:26:57 +01:00
Torkel Ödegaard
d290aaff46
DashboardScene: Support time region migrations ( #84147 )
...
* DashboardScene: Support time region migrations
* Update
* Update
* Update
* fix
* Fix lock
* fix tests
* Fix migrations test
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-03-28 07:39:26 +01:00
Carl Bergquist
b214b07695
Scopes: Name relationship objects *binding ( #84955 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-03-26 15:52:12 +01:00
Juan Cabanas
bb5c5f38db
Scenes: Add reporting tab in share modal ( #85086 )
2024-03-25 16:37:00 -03:00
Dominik Prokop
b6cea0d7fe
VizPanelManager: Load default/last used data source if no data source specified for a panel ( #84999 )
2024-03-22 21:08:40 +01:00
Ezequiel Victorero
c57c033522
Snapshots: Viewers can not create a Snapshot ( #84952 )
2024-03-22 14:31:01 -03:00
Juan Cabanas
8d4ca72f2a
PublicDashboards: Scene migration ( #84409 )
2024-03-22 11:48:21 -03:00
Torkel Ödegaard
bb1133d6d9
DashboardScene: Fixes navbar action buttons collapse to menu ( #84928 )
...
* DashboardScene: Fixes navbar action buttons collapse to menu
* Update
* Change zindex
2024-03-22 12:05:25 +01:00
Ivan Ortega Alba
521d686ca4
DashGPT: Autogenerate panel title and description on scenes ( #84726 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-22 12:56:19 +02:00
Torkel Ödegaard
b20da139ad
DashboardScene: Show insights icon ( #84877 )
...
* DashboardScene: Show insights icon
* Update
* Create separate group for precence indicators
* fix
* Update
* fix tests
2024-03-22 09:46:29 +01:00
Dominik Prokop
f74d5ff93e
Data layers: Integrate latest scenes changes ( #84804 )
...
* bump scenes
* Improved data layers
* DashboardScene: Allow transformations by topic
* Use stable version
* Mock grafana ds to avoid anno layers test failure
* Fix name change
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-03-21 18:23:47 +01:00
kay delaney
86afe012c5
Scenes: Enable live now feature ( #84399 )
2024-03-21 16:57:22 +00:00