Commit Graph

2364 Commits

Author SHA1 Message Date
renovate[bot]
0c572e8db7 Update dependency @types/node to v20.12.13 2024-05-30 10:45:34 +00:00
renovate[bot]
c5c38b57c4 Update dependency @types/lodash to v4.17.4 2024-05-30 09:52:46 +00:00
renovate[bot]
2a65a8a1d1 Update dependency @reduxjs/toolkit to v2.2.5 2024-05-29 15:42:32 +00:00
renovate[bot]
dfae694cff Update dependency @react-types/shared to v3.23.1 2024-05-29 15:22:25 +00:00
renovate[bot]
e1d7ef30ec Update dependency @react-types/overlays to v3.8.7 2024-05-29 14:47:24 +00:00
renovate[bot]
144e476840 Update dependency @react-types/menu to v3.9.9 2024-05-29 14:30:54 +00:00
renovate[bot]
633486e4f1 Update dependency @react-types/button to v3.9.4 2024-05-29 14:10:56 +00:00
renovate[bot]
e63037fe51 Update dependency @playwright/test to v1.44.1 2024-05-29 13:34:47 +00:00
renovate[bot]
2d18de7e84
Update dependency @floating-ui/react to v0.26.16 (#88409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 12:28:26 +03:00
renovate[bot]
48d49b4502
Update dependency cypress to v13.10.0 (#84140)
* Update dependency cypress to v13.10.0

* updated cypress-version in config

* updated configs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2024-05-29 11:10:42 +02:00
Andrej Ocenas
5f326e98c1
NodeGraph: Add msagl and the layered layout code (#88375) 2024-05-28 17:04:03 +02:00
Ashley Harrison
b4e49e3114
Select: Ensure screenreader correctly narrates options (#88118)
* replace select aria-label with data-testid

* update in copy pasted places as well

* update plugin-e2e to 1.2.2
2024-05-28 14:51:47 +01:00
Ashley Harrison
6f9527b4c2
DashboardGrid: Ensure drag handle always follows the cursor (#88099)
use flushSync in react-grid-layout
2024-05-28 09:46:04 +01:00
renovate[bot]
bbef011e43
Update dependency nx to v19.1.0 (#85487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 22:01:56 +01:00
renovate[bot]
d843209ee4 Update babel monorepo to v7.24.6 2024-05-24 18:13:19 +00:00
Jon Cole
61db22f4b4
Prometheus: get Azure clouds from SDK (#87676)
* Prometheus: get the list of azure clouds from the SDK instead of from a hard coded list

* Update yarn.lock

* Fix lint

---------

Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-05-24 17:56:53 +01:00
renovate[bot]
9f23e9a53b Update React Aria 2024-05-24 16:28:31 +00:00
Jack Westbrook
a079343fe3
Chore: bump Nx to 19 (#88298)
* chore(npm): bump nx to v19

* build(icons): make sure icons are generated before attempting typecheck
2024-05-24 17:57:12 +02:00
Gilles De Mey
99b5259cc1
Alerting: New list view UI – Part 1 (#87907) 2024-05-24 16:40:49 +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
Jack Westbrook
7c5c62f617
Fix: Plugin dev command should watch all decoupled plugins (#88160)
fix(frontend): update plugin scripts to watch all plugins and remove ignore flags
2024-05-22 10:15:09 +02:00
Andrej Ocenas
20294b0fb6
NodeGraph: Remove msagl lib and layered layout option (#87905)
* Remove msagl lib

* Change drone.yml

* update signature
2024-05-20 13:50:08 +02:00
Jack Westbrook
65b2834420
Grafana UI: Bump to Storybook 8 (#87722)
* chore(storybook): run yarn dlx storybook@latest upgrade

* chore(storybook): remove storybook/blocks patch

* chore(yarn): clean up storybook dependencies

* feat(storybook): migrate to v8 config via migration codemods

* refactor(storybook): update stories to use v8 types via codemod

* refactor(storybook): update stories to use preview-api instead of client-api

* refactor(storybook): replace mdx usage of ArgsTable with PureArgsTable

* refactor(storybook): migrate remaining mdx files to v8 storybook/blocks api

* refactor(storybook): clean up mdx imports and blocks component names

* chore(storybook): clean up typescript configuration

* fix(frontend): align types/react versions across monorepo so grafana ui can be built

* fix(storybook): pub back react-docgen-typescript and use ArgTypes so props tables work

* chore(storybook): patch blocks package to expose Preview component

* revert(storybook): revert changes related to using Canvas component in mdx files

* Storybook upgrade: Fix icon typing (#87793)

fix iconOptions typing

* refactor(storybook): prefer as const over asserting types

* revert(storybook): put back correct case in box.mdx

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-15 15:49:00 +02:00
renovate[bot]
2f11cf84e8 Update dependency @grafana/experimental to v1.7.11 2024-05-14 11:51:13 +00: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
renovate[bot]
8c585c4a79
chore(deps): update dependency stylelint to v16.5.0 (#87726)
Update dependency stylelint to v16.5.0

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:42:16 +01:00
renovate[bot]
18f5a831f5
Update dependency sass to v1.77.1 (#87725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:10:26 +01:00
renovate[bot]
4b5aa3f3ec
Update dependency msw to v2.3.0 (#87719)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 15:50:12 +01:00
renovate[bot]
17f6f75bd2
Update dependency jest-fail-on-console to v3.3.0 (#87715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:22:54 +03:00
renovate[bot]
54d026f576
Update dependency immer to v10.1.1 (#87709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 12:55:12 +01:00
renovate[bot]
02e0ece87d Update dependency rimraf to v5.0.7 2024-05-13 11:25:12 +00:00
renovate[bot]
0597265344 Update dependency immutable to v4.3.6 2024-05-13 11:04:06 +00:00
renovate[bot]
b536b6d7de Update dependency glob to v10.3.15 2024-05-13 10:24:30 +00:00
Josh Hunt
1033c8407d
Chore: Bump lerna and tar (#87699)
* Chore: Bump lerna to 8.1.3

* Chore: Bump transitive tar to 6.2.1
2024-05-13 13:22:07 +03:00
renovate[bot]
1983043b71
Update dependency @floating-ui/react to v0.26.14 (#87690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 11:42:58 +03:00
renovate[bot]
89f6845739
Update dependency eslint-plugin-jest to v28.5.0 (#87654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 09:25:33 +01:00
renovate[bot]
8bfd7e5106
Update dependency @types/react-test-renderer to v18.3.0 (#87649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 19:29:46 +03:00
renovate[bot]
b226ddfa53
Update dependency @react-types/shared to v3.23.0 (#87643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 18:21:42 +03:00
renovate[bot]
e6f662a180 Update dependency react-redux to v9.1.2 2024-05-10 14:33:00 +00:00
renovate[bot]
b31193f172 Update dependency @reduxjs/toolkit to v2.2.4 2024-05-10 17:21:37 +03:00
renovate[bot]
be1bb04e9b Update dependency semver to v7.6.2 2024-05-10 13:32:47 +00:00
Ashley Harrison
670960f70c
Chore: Upgrade redux (#86877)
* update packages

* fix type errors

* upgrade redux toolkit as well

* don't need eslint-disable command

* remove comment

* fix unit tests

* call rtk query selector directly

* remove unnecessary checks
2024-05-10 14:28:51 +01:00
renovate[bot]
329f4b1243 Update dependency glob to v10.3.14 2024-05-10 16:11:50 +03:00
renovate[bot]
0793a9033a
Update dependency @types/lodash to v4.17.1 (#87419)
* Update dependency @types/lodash to v4.17.1

* fix grafana-data

* simpler grafana-data fix

* simpler code

* commit a betterer crime (it was already doing this implicitly before...)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-10 13:56:27 +01:00
renovate[bot]
d2c492cae5 Update dependency eslint-plugin-jsdoc to v48.2.4 2024-05-10 14:59:15 +03:00
renovate[bot]
dce39237c4
Update dependency @prometheus-io/lezer-promql to v0.52.0 (#87554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 12:40:20 +01:00
renovate[bot]
23ed1b2d9e
Update dependency systemjs to v6.15.1 (#87594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 12:39:48 +01:00
renovate[bot]
c1a2051c1e
Update dependency @playwright/test to v1.44.0 (#87550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 13:57:49 +01:00
renovate[bot]
df12007f80
Update dependency @opentelemetry/semantic-conventions to v1.24.1 (#87544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 13:55:15 +03:00
renovate[bot]
25dfc865d5 Update Yarn to v4.2.2 2024-05-09 11:04:02 +01:00
renovate[bot]
01d28e01d2 Update dependency semver to v7.6.1 2024-05-08 17:21:38 +00:00
renovate[bot]
5cbef194bf Update dependency rc-tree to v5.8.7 2024-05-08 16:32:25 +00:00
renovate[bot]
04ce2d2f5a Update dependency @types/prismjs to v1.26.4 2024-05-08 14:53:35 +00:00
renovate[bot]
98435a67f5 Update dependency @types/node to v20.12.11 2024-05-08 16:08:44 +02:00
renovate[bot]
3e2e06179e Update dependency @types/jquery to v3.5.30 2024-05-08 13:39:13 +00: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
renovate[bot]
6a696a976b
Update Yarn to v4.2.1 (#87325)
* Update Yarn to v4.2.1

* add new yarn version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-05-03 18:10:51 +03:00
renovate[bot]
2924b37628 Update dependency rudder-sdk-js to v2.48.7 2024-05-03 14:08:50 +00:00
renovate[bot]
7b71464c62 Update dependency re-resizable to v6.9.16 2024-05-03 13:31:56 +00:00
renovate[bot]
346dbab768 Update dependency lru-cache to v10.2.2 2024-05-03 12:58:12 +00:00
renovate[bot]
b25f193be0 Update dependency @types/node to v20.12.8 2024-05-03 11:25:38 +00:00
renovate[bot]
39a88bae44
Update dependency @swc/helpers to v0.5.11 (#87296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 12:07:54 +01:00
renovate[bot]
253ab5efd3 Update dependency @react-types/overlays to v3.8.6 2024-05-03 10:39:01 +00:00
renovate[bot]
0ecb1ddf2c Update dependency @react-types/menu to v3.9.8 2024-05-03 10:12:28 +00:00
renovate[bot]
95028b65f3 Update dependency @react-types/button to v3.9.3 2024-05-03 09:49:45 +00:00
renovate[bot]
7d84ae04aa
Update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.13 (#87283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 09:54:03 +01:00
renovate[bot]
4d0a3de6fb
Update dependency @floating-ui/react to v0.26.13 (#87273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 23:11:39 +01:00
renovate[bot]
79b5fb9f1f Update babel monorepo to v7.24.5 2024-05-02 18:10:10 +00:00
renovate[bot]
dd9fb83606
Update React Aria (#87253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 17:27:29 +01:00
Jack Westbrook
a6b7fc51a8
Chore: Add back node-forge npm package (#87136) 2024-05-02 08:39:02 +02: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
Josh Hunt
b0f1222a21
Chore: Restore pseudoizer dep (#87166) 2024-05-01 12:45:34 +03:00
kay delaney
6f875188b7
Chore: Clean up package.json files (#86951)
* Chore: Clean up package.json files

Removes any unused packages, adds missing peer dependencies
2024-04-29 14:03:01 +01:00
Ben Sully
f2ca115913
Scenes: support interpolations in TemplateSrv.replace (#86990)
TemplateSrv.replace takes an optional 'interpolations' argument which
records information about the variables which were found during the
interpolation. Until [this Scenes PR][scenes PR] this wasn't supported
by Scenes so the interpolations argument was being ignored if dashboard
scenes were enabled. This commit bumps the scenes version and passes
the interpolations array along to the scenes function.

[scenes PR]: https://github.com/grafana/scenes/pull/708
2024-04-26 16:44:36 +01:00
Khushi Jain
5dd8353ab1
Dashboards: Migrate from aria-label e2e selectors to data-testid (#78536)
* Dashboards: Migrate from aria-label e2e selectors to data-testid

* more changes

* addPanelwidget

* Test: Update .betterer.results

* refactor: fix e2e tests

* refactor: fix failing test

* refactor: update plugin-e2e after adding selector changes to the packege

---------

Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-04-24 15:16:19 +02:00
Nathan Marrs
709d78b8b5
Chore: Fix CVE-2024-22363 (#86738) 2024-04-23 09:24:02 -07:00
Torkel Ödegaard
b28e6bc5d8
DashboardScene: Fixes issue with editing panels that uses instanceState (#86687)
* DashboardScene: Fixes issue with editing panels that uses instanceState

* Minor tweak

* Update

* Update
2024-04-23 15:25:16 +02:00
renovate[bot]
c849b6beaa
Update dependency react-i18next to v14 (#86753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 11:11:25 +01:00
renovate[bot]
6c777519d8
Update dependency style-loader to v4 (#86749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 09:08:46 +01:00
renovate[bot]
579cf9bd7d
Update dependency esbuild to v0.20.2 (#76342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:26:02 +01:00
renovate[bot]
51dcd1d9fd
Update dependency eslint-plugin-jest to v28 (#86745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:59:28 +02:00
renovate[bot]
41617b174e
Update dependency css-loader to v7 (#86711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 07:28:32 +01:00
renovate[bot]
de92317fc7
Update dependency rc-slider to v10.6.2 (#86704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 17:15:34 +01:00
renovate[bot]
c47b4ff8c3
Update dependency mini-css-extract-plugin to v2.9.0 (#86691)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 16:04:44 +01:00
renovate[bot]
7564d5cee7
Update dependency core-js to v3.37.0 (#86676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 14:18:57 +01:00
renovate[bot]
e6c5dc52d2 Update dependency re-resizable to v6.9.14 2024-04-22 09:13:56 +00:00
renovate[bot]
97c05dc52d Update dependency jest-date-mock to v1.0.10 2024-04-22 08:55:16 +00:00
renovate[bot]
e7fd2cb0fb Update dependency sass-loader to v14.2.1 2024-04-19 14:04:45 +00:00
renovate[bot]
53f5663714 Update dependency msw to v2.2.14 2024-04-19 13:46:18 +00:00
renovate[bot]
bcc52a91c7 Update dependency marked to v12.0.2 2024-04-19 12:31:26 +00:00
renovate[bot]
c2f3bf677d Update dependency @types/react to v18.2.79 2024-04-19 11:39:32 +00:00
renovate[bot]
bc97d11220 Update dependency @types/eslint to v8.56.10 2024-04-19 11:19:10 +00:00
renovate[bot]
1ea7dc9250 Update dependency @grafana/plugin-e2e to v1.1.1 2024-04-19 10:23:52 +00:00
Josh Hunt
fe24404432
I18n: Support for Enterprise translations (#86215)
* I18n: Support for Enterprise translations

* don't attempt to link to enterprise in tests

* move extract script to makefile to optionally support enterprise

* update references to old extract script

* update docs

* thank god for unit tests
2024-04-18 16:25:27 +01:00
Torkel Ödegaard
3870ecd2e0
RefreshPicker: Change running state to be less distracting (#86405)
RefreshPicker: Change running state to not change button variant to destructive
2024-04-18 05:46:43 +02:00
Matias Chomicki
ec43edd8a1
Loki/Prometheus Query Editor: Disabled cmd/ctrl+f keybinding within the editor (#86418)
* Prom: disable cmd f within the editor

* Loki: disable cmd f within the editor

* Update public/app/plugins/datasource/loki/components/monaco-query-field/MonacoQueryField.tsx

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Monaco: upgrade to 0.34.1

* Loki/Prometheus: allow native search to be displayed

* Formatting

* Monaco: upgrade to 0.34.1

https://github.com/microsoft/monaco-editor/issues/102#issuecomment-1282897640

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-04-17 16:38:43 +02:00
Josh Hunt
0a12ad0084
I18n: Update English phrases that have changed in code, but not extracted (#86429)
Update English phrases that have changed in code, but not extracted
2024-04-17 14:47:01 +02:00
Jack Westbrook
1dfd34ee79
Chore: Add codemod and betterer config to make barrel imports explicit (#80913)
* chore: add codemod for highlighting barrel imports

* style(frontend): add no-barrel-files plugin to betterer

* chore(betterer): update betterer file

* ci(frontend-metrics): track occurrences of barrel files being imported

* chore: clean up explicit barrel imports codemod script

* chore(codeowners): add explicit barrel imports script

* Add no-barrel-files plugin to betterer configuration

Co-Authored-By: LeventeBalogh <balogh.levente.hu@gmail.com>

---------

Co-authored-by: LeventeBalogh <balogh.levente.hu@gmail.com>
2024-04-15 16:36:19 +02:00
renovate[bot]
453a75b767
Update dependency @swc/helpers to v0.5.10 (#86146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 15:30:26 +01:00
renovate[bot]
b07f69d1a4
Update dependency @types/marked to v6 (#86123)
* Update dependency @types/marked to v6

* remove @types/marked since it's no longer needed

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-15 15:02:22 +02:00