4738957360
Querying: Pass dashboard and panel title as headers ( #107032 )
...
* WIP dashboard titile
* Add tests
* Fix tests
* Fix tests
* Remove redundant imports
2025-06-25 13:51:23 +02:00
7fd4c1b41d
StateTimeline: Auto-migrate from natel-discrete-panel ( #104191 )
2025-04-24 15:42:32 +03:00
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
3af96acc12
UsageInsights: Include panelId and panelName in events when available
2024-12-16 12:57:23 +01:00
2b7338f8b6
Add optional APIVersion to DatasourceRef ( #90076 )
2024-07-08 13:12:56 +02:00
396e75dadf
Chore: Type improvements ( #87634 )
...
* improve typings in opentsdb datasource
* couple of influx improvements
* couple more
* more
* more more more
* 3 more
* changes to variables/inspect/utils
* some graphite improvements
2024-05-10 17:28:44 +01:00
cbe868b118
Chore: Use getNextRefId instead of deprecated getNextRefIdChar ( #87460 )
2024-05-10 12:00:17 +01:00
02096c4e22
Dashboards: Add isViewing to mustKeepProps ( #85748 )
2024-04-09 10:33:59 +00:00
d8b8a2c2b0
Dashboard: Fix issue where out-of-view shared query panels caused blank dependent panels ( #83966 )
2024-03-11 14:53:59 +00:00
edd1864439
AngularMigrate: Auto migrate graph to multiple panels ( #83992 )
...
* AngularMigrate: Auto migrate graph to multiple panels
* add unit test, and histogram migration
* add new cases to existing angular migration gdev dashboard
* fix stat feature toggle handling so all panels dont turn into stat panels 😅 ; fix betterer
* Use same function when clicking manual migrate button
* Update
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-07 12:33:30 +01:00
64e0a4282e
DataQuery: Track panel plugin id not type ( #83091 )
2024-02-21 09:38:42 +01:00
ce750e0618
Deprecation: Create explicit feature toggles for remaining panels ( #82217 )
2024-02-14 18:06:25 +02:00
829672759c
Deprecation: Create explicit feature toggle to auto-migrate from graph panel ( #79369 )
2024-02-08 14:00:48 -08:00
071b301e39
Dashboard: Dashboard schema fixes and scene to save model fixes ( #81867 )
2024-02-05 12:27:44 +01:00
f77c831e3f
Data query: Allow logging panel plugin id when executing queries ( #81164 )
...
* Data query: Allo logging panel plugin id when executing queries
* Update tracing header middleware
* Test fix
* Add panelPluginType to query analytics
* Cleanup
2024-01-30 00:06:31 -08:00
7a38a2e48b
Scenes: Add ability to change panel viz type ( #78477 )
...
* Scenes: Add ability to change panel viz type
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-12-06 16:14:54 +00:00
cbb607b36f
Revert "Panel: omit query API call when the panel is a row ( #75847 )" ( #78475 )
2023-11-21 12:00:03 -03:00
da117aea1c
Plugins: Allow disabling angular deprecation UI for specific plugins ( #77026 )
...
* Plugins:Allow disabling angular deprecation UI for specific plugins
* add backend test
* changed test names
* lint
* Removed angular properties from DataSourceDTO
* Update tests
* Move angularDetected and hideAngularDeprecation in angularMeta property
* Fix angular property name in AppPluginConfig
* Fix reference to angularMeta.detected
* Fix hide_angular_deprecation not working for core plugins
* lint
2023-11-10 11:44:54 +01:00
5f78542366
Dashboards: Prevent shared queries from being unnecessarily re-run ( #77490 )
...
* Dashboards: Prevent shared queries from being unnecessarily re-run
* Minor change
* Set solo panel as being viewed
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-09 06:41:47 -08:00
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
6cfe6d8688
Panel: omit query API call when the panel is a row ( #75847 )
2023-10-03 12:36:04 -03:00
ff0642bf6e
Chore: Type improvements 🧹 ( #75271 )
...
* fix some e2e flows types
* some type fixes
* must... fix... more...
* MOAR
* MOREMOREMORE
* 1 more
2023-09-22 15:06:49 +01:00
bf4d025012
Dashboards: Add alert and panel icon for dashboards that use Angular plugins ( #70951 )
...
* Add angularDeprecationUI feature toggle
* Add angular notice in angular panel header
* Show angular notice for angular datasources
* Show angular notice at the top of the dashboard
* Changed Angular deprecation messages
* Fix angular deprecation alert displayed for new dashboards
* re-generate feature flags
* Removed unnecessary changes
* Add angular deprecation dashboard notice tests
* Add test for angular deprecation panel icon
* Update test suite name
* Moved isAngularDatasourcePlugin to app/features/plugins/angularDeprecation
* Add hasAngularPlugins to DashboardModel
* re-generate feature toggles
* Fix tests
* Fix data source spelling
* Fix typing issues
* Extract plugin type into a separate function
* re-generate feature flags
* reportInteraction on angular dashboard notice dismiss
* re-generate feature flags
* Re-generate feature flags
* lint
2023-08-29 16:05:47 +02:00
f95405d3c3
Plugins: Allow async panel migrations ( #73782 )
...
* Plugins: Allow async panel migrations
* comment
2023-08-28 10:06:55 +00:00
3ee26df41e
PublicDashboards: Variables refactor ( #73476 )
...
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-08-25 13:56:02 -05:00
f478504bc9
Dashboard: Fix library panels in collapsed rows not getting updated ( #66643 )
2023-05-16 12:44:19 +01:00
e493bec3a8
Geomap: Improve migration logic ( #65500 )
2023-04-28 12:20:10 -07:00
fe23c76250
Dashboard: New panel in a dashboard is not deleted after "Discard"-ing changes in Panel Edit ( #66476 )
...
* add isNew notPersistedProperty to PanelModel
* if panel is newly created and user "Discard"s it, the panel is removed entirely
* add Todo's for when we remove the emptyDashboardPage FF
* add isNew to new panel after file dropping on dashboard page
* handle the "Apply" case
* CSV file dropping is not relevant to a new panel bc it doesnt open edit page
2023-04-25 17:18:58 +03:00
ee247e33b4
AngularMigration: Clear old angular panel props when auto migrating ( #66719 )
...
* AngularMigration: Clear old angular panel props when auto migrating
* Update test name
2023-04-19 13:47:55 +02:00
39c04a8e36
Chore: Remove deprecated dashboardId from panel query runner ( #64786 )
2023-04-14 16:50:10 -07:00
b7b608418d
Templating: Introduce macros to simplify and optimize some scopedVars ( #65317 )
...
* Templating: Introduce macros to simplify and optimize some scopedVars
* Fixing tests
* fix test
* minor fix
* refactoring so macros work with formatting
* remove breaking change and keep current inconsistency
* Rename valueIndex to rowIndex
* Minor fixes
* Added test dashboard
* Added tags to dashboard
* Update
* Added test to check it returns match
* Update
* Fixed dashboard
* fix
2023-03-28 19:22:34 +02:00
36e8ca7f13
Dashboards: Unify angular auto-migration code ( #63915 )
2023-03-27 18:11:45 +03:00
baf5a1d141
Angular: Rename autoMigrateGraphPanels feature flag to autoMigrateOldPanels ( #65243 )
2023-03-22 21:02:36 -07:00
cd490ba0be
DataLinks: Fixes interpolation (formatting) of __all_variables and __url_time_range ( #65162 )
...
* DataLinks: Fixes interpolation (formatting) of __all_variables and __url_time_range
* simplify if statement
2023-03-22 18:56:18 +01:00
4274b9414f
Chore: remove querylibrary
feature toggle ( #65021 )
...
* chore: remove querylibrary
* chore: remove querylibrary
* chore: remove querylibrary
2023-03-20 20:00:14 +04:00
7391793504
Query Caching: Add per-panel query caching TTL ( #61968 )
...
* *Create Caching Config interface and OSS impl
*Create front-end facing DS Cache config
*Populate Caching Config on Datasource DTO
*Update OSS wire deps
* fix unit test
* handle query caching TTL override on the frontend
* Make sure the override works with pubdash
* move caching config to the right place in the ds info
* move caching config logic to enterprise index hook
* move queryCachingTTL to pubdash query payload
* Remove from metadata (not needed)
* rename struct and add comment
* remove invalid wire dependency
* manual revert of 395c74b
* fix frontend test
* fix backend test
* fix tests for real this time
* truly fix frontend test
* fix back end unit test for real
2023-02-02 23:39:54 -05:00
40ec4ef5b8
PanelChrome: Implement hover header ( #61774 )
...
Closes #59078
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2023-02-02 17:53:18 +00:00
0d2a786816
Schema: Add schema for library panels ( #62169 )
2023-01-30 04:14:12 +00:00
c3c4a57c79
grafana/data: Move getPanelOptionsWithDefaults from core ( #60813 )
...
* grafana/data: Move getPanelOptionsWithDefaults from core
* Add internal comments
2022-12-29 05:48:22 -08:00
e2077e9659
Dashboard: Run requests with correct app type ( #60010 )
...
Dashboard: Run quries with correct core app
2022-12-08 11:52:28 +01:00
009d65b794
Add query library behind dev-mode-only feature flag ( #55947 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-11-30 15:33:40 -08:00
5888f53aab
Angular: auto-migrate graph panel when angular is disabled ( #59247 )
2022-11-23 13:32:52 -08:00
d7f9093ccd
LibrayPanels: Fix unlinking libray panel ( #57825 )
2022-11-02 11:38:48 +01:00
7346280316
LibraryPanels: Load library panels in the frontend rather than the backend ( #50560 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-10-26 15:38:20 -07:00
e5c32c8cc9
Dashboard: Unsaved changes warning fixes ( #54706 )
...
* Quick test of alternative method
* change order of if condition again for better readability
* Think I have something that is working
* Update
2022-09-06 13:00:32 -04:00
8880cbd7f6
AngularPanels: Fixing changing angular panel options not taking having affect when coming back from panel edit ( #54087 )
2022-08-24 08:35:44 +02:00
c4984854b6
added dashboard uid when tracing header in browsermode ( #53232 )
2022-08-10 10:36:19 +02:00
0c89743759
Variables: Optimize "timeRangeUpdated" path ( #52047 )
2022-07-22 16:10:10 +01:00
9f4683b3d0
Dashboard: Fix iteration property change triggering unsaved changes warning ( #51272 )
2022-07-20 03:41:54 +02:00
f2d8b1ceee
Dashboards: Fixes issue with the initial panel layout counting as an unsaved change ( #51315 )
2022-06-27 12:30:59 +01:00