github-actions[bot]
7726a96386
Release: 12.0.1 ( #105909 )
...
* Update changelog
* Update version to 12.0.1
* Update CHANGELOG.md
update with sec fixes
---------
Co-authored-by: grafana-delivery-bot[bot] <grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com >
2025-05-23 01:05:32 +03:00
Jev Forsberg
44cfb7c6b4
Chore: Update version in release-12.0.1 branch ( #104061 )
...
baldm0mma/ update version to 12.0.1
2025-04-15 12:29:38 -06:00
Sergej-Vlasov
4648ba396b
DashboardScenePage: Correct slug in self referencing data links ( #100048 )
...
* switch to useLayoutEffect so queries run after url correction
* add comment
* suparate useEffects to avoid update on slug change
* add url correction for missing slug
* account for slug change during dashboard rename
* simplify fix
* add e2e test for data link without slug
* remove old comment
* remove newly added path from useEffect dependencies
2025-04-11 09:25:21 +01:00
Matheus Macabu
b58b6e828e
CloudMigrations: Enable high-level resource type selection ( #103011 )
...
* CloudMigrations: Enable snapshot resource type configuration
* ConfigureSnapshot: Update resource type order
* ConfigureSnapshot: Add compile-time check for all resource types
* Fix trickier merge conflicts
* E2E: Fix intercept calls to get snapshot results to match new query params for sorting
* ConfigureSnapshot: Break text into newline
* ConfigureSnapshot: Add spacing on resources list
* Chore: Run betterer
* ConfigureSnapshot: Make secondary text bold
* ConfigureSnapshot: Update copy which resources to migrate
* ConfigureSnapshot: Add tooltip near build snapshot button with ETA
2025-04-10 14:14:13 +02:00
Laura Fernández
4849f87e82
i18n: Add locale to SharedPreferences ( #103133 )
2025-04-09 17:15:44 +02:00
Torkel Ödegaard
927ce79dcf
Dashboard: Variable selection and editing ( #103451 )
...
* Variable selection
* Update
* fix
* Update
* Updates
* update
* Update
2025-04-09 14:27:35 +02:00
Levente Balogh
39dcff23f9
Plugin Extensions: Clean up the deprecated APIs ( #102102 )
...
* PanelMenuBehaviour: stop using the deprecated `getPluginLinkExtensions()` API
* Wip
* grafana-runtime: remove deprecated APIs `usePluginExtensions()`, `usePluginLinkExtensions()` and `usePluginComponentExtensions()`
* Wip
* Wip
* wip
* wip
* Chore: removed PluginExtensionLinkConfig
* Chore: removed PluginExtensionComponentConfig
* Chore: fixed grafana-pyroscope-datasource QueryEditor test
* Chore: fixed PublicDashboardScenePage.test.tsx
* Chore: fix PanelDataQueriesTab test
* Chore: fix PanelMenuBehavior test
* Chore: fix transformSceneToSaveModel test
* Chore: fix last type errors
* Chore: fix alerting/unified/testSetup/plugins.ts
* Chore: break out types to separate file
* feat(Extensions): expose an observable API for added links and components
* chore: prettier fixes
* Revert "chore: prettier fixes"
This reverts commit 53aa767664 .
* Revert "feat(Extensions): expose an observable API for added links and components"
This reverts commit bdc588250e .
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2025-04-09 10:24:29 +02:00
Ashley Harrison
762315f181
Chore: Reenable cloud plugins suite ( #103385 )
...
reenable cloud plugins suite
2025-04-08 11:06:34 +01:00
Torkel Ödegaard
b9bc069fb9
AppChrome/MegaMenu: Fixes issue with default state being initialised to undocked ( #103507 )
...
* AppChrome/MegaMenu: Fixes default mega menu docked state
* AppChrome/MegaMenu: Fixes default mega menu docked state
* Update thresholds
* Update
* pa11y fix
* remove unnessary css
* fixed pa11y config
* try fix pa11y config + unit tests
* just increase thresholds again...
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-04-07 16:00:05 +01:00
Ashley Harrison
0fc4f53fab
Internationalisation: More markup for translations ( #103392 )
...
* some more translations
* more markup
* more translations
* fix tests
2025-04-07 09:48:03 +01:00
Jack Westbrook
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
Ashley Harrison
7603a92296
CI: Add betterer check to lint step ( #103361 )
...
* add betterer check to lint step
* fix regressions
* add translation
2025-04-03 18:31:36 +03:00
Matheus Macabu
7165bc553a
CloudMigrations: Add Cypress happy path test case scenarios ( #103250 )
2025-04-03 10:34:32 +02:00
Alyssa (Bull) Joyner
3b73ebb210
Azure Monitor: Add logs query builder ( #99055 )
2025-04-02 08:15:25 -06:00
Ashley Harrison
38aee2dfa2
Internationalisation: More automatic markup ( #103203 )
...
* easy changes
* couple of tweaks + translations
* update e2e tests
* kick CI
2025-04-02 10:03:12 +01:00
Josh Hunt
7ea0fab606
Prometheus: Enable Combobox metric select by default ( #101045 )
...
* Prometheus: enable prometheusUsesCombobox toggle by default
* bold Combobox
2025-03-30 20:24:53 +03:00
Zoltán Bedi
b2ab99c10d
SQL: Fix builder crashes when any in selected ( #102871 )
2025-03-27 15:56:58 +01:00
Scott Lepper
2489e423d0
Search e2e ( #102827 )
...
* search e2e
* add github action
* run test for every ini file in test folder
2025-03-27 10:38:03 -04:00
Torkel Ödegaard
f2fc1d8575
Dashboard: Add unconfigured panel state to new panels ( #102719 )
...
* Update
* Update
* Update new panel title
* Update
2025-03-26 13:34:37 +01:00
Piotr Jamróz
1a0478cd76
TraceView: Render all links in span details ( #101881 )
...
* Render all links in span details
* Fix empty links case
* Update betterer results
* Update devenv and add docs
* Update public/app/features/explore/TraceView/components/TraceTimelineViewer/SpanDetail/SpanDetailLinkButtons.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update public/app/features/explore/TraceView/components/TraceTimelineViewer/SpanDetail/SpanDetailLinkButtons.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix e2e test
* Remove .only
* Post merge updates
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-26 11:39:45 +01:00
Yuri Tseretyan
674d81d7ee
Chore: Bump version of front-end modules to 12.0.0-pre ( #102615 )
...
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2025-03-21 17:35:55 +02:00
Ashley Harrison
d82a877f65
GrafanaUI: Mark up or ignore remaining grafana-ui translations ( #102203 )
...
* markup or ignore remaining grafana-ui translations
* fix unit tests, commit betterer results which somehow didn't get autocommitted?! :o
* fix SharedPreferences unit test
* fix remaining unit tests
* fix azure e2e test
* better solution
2025-03-17 12:27:40 +00:00
Tobias Skarhed
9cc6c596af
DataSourceHttpSettings: Replace legacy components and remove gf-form usage ( #100583 )
...
* Refactor to remove gf-form
* Change Select to Combobox
* Fix label width
* Add translations
* Fix input and translation keys
* Add aria expanded controls to help button
* Fix dsiabled state for Input
* Fix spacing
* Remove unused import
* Fix spacing for tag selectors
* Change gf-form-label to section
* Update addDataSource e2e flow
* Betterer results
* Use new form component
* Update translations
* Add deprecation notice
* Extract translations
* Update betterer
2025-03-13 10:20:20 +01:00
Ivan Ortega Alba
bfedf0b512
Dashboard: Redirect between v1alpha1 and v2alpha1 depending on stored version ( #101292 )
...
* wip: Create a proxy state manager to avoid complexity
* Read path redirecting
* add tests for unified dashboard API
* add tests
* Contemplate both formats in DashboardProxy
* Fix force old
* Fix tests for proxy
* catch errors
* Save as V2 when dynamic dashboard is enabled
* Improve tests
* Remove feature toggle
* Use kubernetesDashboards for e2e suite
* Fix issue when loading snapshots
* Fix typescript errors
* Integrate with backend conversion error
* Remove legacy annotation
* fix snapshot loading; lint
* Add missing hideTimeControls
* fix test
* make setupDashboardAPI to all suites
* refactor getDashboardAPI
* Add tests
* fix DashboardScenePage tests
* fix tests
* fix go tests
* Refactor to understand better the need of transforming to v2 to compare
* Fix detect changes logic
* yes status from schema gen
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-03-12 11:43:32 -06:00
Oscar Kilhed
df99c92823
Dashboards: Disable flaky import dashboard test in old architecture. ( #101282 )
...
disable flaky test
2025-02-25 13:44:11 +02:00
Oscar Kilhed
01b57f412f
Dashboards: WeekStart is now of type WeekStart | undefined instead of string ( #101123 )
...
* change weektype from string to WeekStart | undefined
* Change to WeekStart in more places, fix lint
* change in more places
* More weekstart changes
* fix snapshot, update betterer
* keep weekstart as '' in test dashboards to make sure it doesn't break old dashboards
2025-02-24 11:35:55 +01:00
Edward Qian
6eca5c09df
Prometheus: Remove query assistant and related components ( #100669 )
...
* remove query assistant related components
* remove export statement
* remove grafana/llm from prometheus packages
* remove extra package
* revert unintended change
* incorrect handling of managedPluginsInstall merge deletion
* update yarn.lock
* linting fix
* linting fix
2025-02-21 11:33:12 +01:00
Andre Pereira
e54149e551
Explore: Move drilldown apps from Explore to a new navbar item "Drilldown" ( #100409 )
...
* Move drilldown apps from Explore to a new navbar item "Drilldown"
* Commit make i18n-extract
* Update drilldown icon
* Added alert to explore with call out to drilldown apps
* Add isNew field for nav item which shows a "New!" badge on the navbar and expands it by default
* Fix e2e test
2025-02-20 17:56:55 +00:00
Zoltán Bedi
5a7916133e
Chore: Remove sqlQuerybuilderFunctionParameters feature toggle ( #100809 )
...
* chore: remove `sqlQuerybuilderFunctionParameters` ff
* Update packages/grafana-sql/src/components/visual-query-builder/SelectRow.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2025-02-19 15:38:27 +01:00
Roberto Jiménez Sánchez
8edfff1bba
[Enterprise] Consolidate extensions folders and keep them around ( #98486 )
...
* WIP: copy approach
* Fix package name
* Do not ignore .keep for frontend extensions
* Add keep file for frontend extensions
* Tweak makefile to generate enterprise swagger or not
* Remove duplicate imports
* Add build extensions
* Add CMD extensions
* Add keep to e2e extensions
* Add .keep
* Reduce file structure changes
* Ignore boring crypto
* Add e2e extensions keep file
* Remove enterprise file
* Update .gitignore
* Move things around
* Update git ignore
* Consolidate backend extensions folder
* Move enterprise deps
* Update comment
* Do not use build tags
* Ignore setting enterprise
* Revert changes in makefile
* Revert package changes
* Add back extensions main.go
* Update git ignore
* Ignore spanner tests
* Trick ignore files only by git
* Add .ignore file to CODEOWNERS for frontend-ops
* Fix issue with noisy duplicate targets
2025-02-17 14:00:21 +01:00
Bogdan Matei
6bd1041cda
Dashboard: Fix panel edits for repeats ( #100658 )
2025-02-14 17:42:10 +02:00
Stephanie Hingtgen
1c2f4e35bf
Frontend tests: comment out flaky test ( #100685 )
2025-02-14 00:44:15 +02:00
Bogdan Matei
5315b4fd2d
Dashboard: Fix repeats behavior for inspect, solo panel and repeated and empty panels ( #100605 )
2025-02-13 18:41:09 +02:00
Agnès Toulet
0beb7e668b
E2E: Add PDF/CSV/Image comparison tasks ( #99104 )
...
* E2E: Add tasks for new reporting tests
* try to switch to pdf-parse
* fix pdf comparison
* add log
* increase threshold
* clean up
* apply review feedback
* improve logs + fix local setup for reporting
* format
2025-02-07 15:46:32 +01:00
Haris Rozajac
1bf53e7a5f
Dashboard Schema V2: E2E setup ( #99843 )
...
* basic setup
* update CODEOWNERS
* update name
* add temp test that ensures we are loading schema V2 json in the UI
* update language
* test with yarn cache and combine steps
* revert combine
* remove commented out code
* Run current dashboard suite, make workflow optional
* make job always succeed
* Remove temp v2 suite
* don't run on draft PRs
* command for old arch
2025-02-06 08:33:18 -07:00
Jev Forsberg
88c62cd828
Chore: Manually update versions and update grafana-test-datasource to "workspace:*" ( #99999 )
...
* baldm0mma/ manually update deps and run yarn
* baldm0mma/ update version from workspace to actual version
* baldm0mma/ revert some workspaces
* baldm0mma/ update workspace
* baldm0mma/ update deps
2025-02-03 15:12:05 -07:00
jackyin
6496705120
Dashboards: Remove default empty string from variable create view ( #98922 )
...
* default empty string
* optimize
2025-02-03 13:55:41 +00:00
Marcus Andersson
39605a93ab
E2E: Adding API tests for panel edit settings ( #99038 )
...
* Updating plugin-e2e!
* Added API tests for new panel edit APIs in plugin-e2e
* Added API tests.
* rebased main.
* removed only.
2025-02-03 14:15:29 +01:00
Bogdan Matei
61f5f215ee
Dashboards: Implement rows repeat in rows layout ( #99300 )
2025-02-03 11:46:47 +02:00
Adam Yeats
4570f7319d
Add E2E smoke tests for Jaeger, PostgreSQL, Zipkin ( #99515 )
2025-01-24 20:21:41 +01:00
Dominik Prokop
51b4ac50aa
Panel inspect: Fix inspect keyboard shortcut when grafana served from subpath ( #99366 )
...
* Panel inspect: Fix inspect keyboard shortcut when grafana served from a subpath
* Add e2e test
2025-01-22 13:25:10 +01:00
Galen Kistler
ee0129e8cf
Loki datasource: move loki-editor e2e test to playwright ( #99192 )
...
* test: rewrite cypress test in playwright
* Update e2e/plugin-e2e/plugin-e2e-api-tests/as-admin-user/lokiEditor.spec.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2025-01-21 15:39:33 +02:00
Sonia Aguilar
80b8dd3fc8
Alerting: Set alert form simple modes enabled by default ( #99233 )
...
set alert form simple modes enabled by default
2025-01-20 14:55:34 +02:00
Ashley Harrison
7411663b74
Chore: Upgrade to React 18.3 ( #99183 )
...
upgrade to react 18.3
2025-01-17 15:56:44 +00:00
Mariell Hoversholm
f9cc08a42d
Test: Skip loki-editor spec test for being flaky ( #99145 )
...
test: skip loki-editor spec test
This is a flaky test. Examples:
* Failure: https://drone.grafana.net/grafana/grafana/217717/6/21
* Successful: https://drone.grafana.net/grafana/grafana/217748/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217795/6/21
* Successful: https://drone.grafana.net/grafana/grafana/217796/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217826/6/21
* Failure: https://drone.grafana.net/grafana/grafana/217834/6/21
2025-01-17 12:20:47 +02:00
Andreas Christou
deab83a958
Partner data sources smoke tests ( #98446 )
...
* Add smoke tests for remaining partner data sources
* Fix test names and run them
* Use text check for gcm
2025-01-03 11:52:15 +00:00
Erik Sundell
7c583ed8fb
Fix: Add support for datasource variable queries ( #98098 )
...
* add ds variable support
* bump scenes
* remove unused fixture
2024-12-17 16:31:28 +01:00
Ashley Harrison
08bb66ba72
Chore: Update to node 22 ( #97779 )
...
* update to node 22
* downgrade to 22.11.0
* switch to using node-version-file
* update @types/node
* revert back to using node-version
2024-12-12 16:39:52 +00:00
Gilles De Mey
9c396b74f9
Alerting: AlertingQueryRunner should skip descendant nodes of invalid queries ( #97528 )
2024-12-11 16:00:11 +02:00
Ivana Huckova
2149c75e22
Zipkin: Run queries through backend ( #97754 )
...
* Zipkin: Run queries through backend
* ;2DUpdate e2e
* Update e2e
2024-12-11 12:31:24 +02:00