Commit Graph

2419 Commits

Author SHA1 Message Date
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
renovate[bot]
6541be39d1 Update dependency @types/react to v18.2.78 2024-04-15 10:45:52 +00:00
renovate[bot]
fc6cad797d Update dependency @testing-library/react to v15.0.2 2024-04-15 09:42:14 +00:00
renovate[bot]
6ff021bb9b Update dependency @playwright/test to v1.43.1 2024-04-15 08:50:38 +00:00
renovate[bot]
00daca7f43
Update dependency sass-loader to v14.2.0 (#86066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 09:18:29 +01:00
renovate[bot]
6417e92ebe
Update dependency sass to v1.75.0 (#86051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 16:17:13 +01:00
renovate[bot]
c1b8ee8453 Update dependency typescript to v5.4.5 2024-04-12 15:06:30 +02:00
renovate[bot]
a5cd88c67e
Update dependency typescript to v5.4.3 (#84470)
* Update dependency typescript to v5.4.3

* refactor: solve TS errors

* refactor: update yarn.lock

* refactor: return type

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-04-12 14:46:47 +02:00
renovate[bot]
c2a81f3020 Update react monorepo 2024-04-12 11:58:02 +00:00
renovate[bot]
44a612a96b Update dependency @types/eslint to v8.56.9 2024-04-12 11:11:55 +00:00
renovate[bot]
63d63ea9fb Update dependency @testing-library/react to v15.0.1 2024-04-12 10:27:38 +00:00
renovate[bot]
c837d95677
Update dependency @swc/helpers to v0.5.9 (#86024)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 10:34:53 +01:00
renovate[bot]
51d5a4c8f2
Update dependency @testing-library/dom to v10 (#85958)
* Update dependency @testing-library/dom to v10

* update @testing-library/react as well

* fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 17:29:35 +02:00
renovate[bot]
b4b0a80e86
Update dependency sass to v1.74.1 (#85947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 14:32:37 +01:00
renovate[bot]
0d42e025f0 Update dependency webpack-bundle-analyzer to v4.10.2 2024-04-11 12:53:27 +00:00
renovate[bot]
af115c1d93
Update dependency jest-fail-on-console to v3.2.0 (#85936)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 13:51:45 +02:00
renovate[bot]
6a4ef71c4e Update dependency @types/eslint to v8.56.8 2024-04-11 10:55:18 +00:00
renovate[bot]
5a471420d0
Update dependency centrifuge to v5.1.1 (#85923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:29:15 +01:00
renovate[bot]
37f1ea7b57
Update dependency @playwright/test to v1.43.0 (#85918)
* Update dependency @playwright/test to v1.43.0

* update playwright image

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 11:45:36 +02:00
renovate[bot]
26805906dd
Update dependency @grafana/plugin-e2e to v1.1.0 (#85917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:04:13 +02:00
renovate[bot]
1ed3dc22d5 Update react monorepo 2024-04-11 08:47:05 +00:00
renovate[bot]
8461310e36 Update dependency rc-cascader to v3.24.1 2024-04-11 08:27:47 +00:00
renovate[bot]
1e9841b1c9 Update dependency ol-ext to v4.0.18 2024-04-10 21:14:15 +00:00
renovate[bot]
9fc8599bbf Update dependency eslint-plugin-jsdoc to v48.2.3 2024-04-10 18:14:13 +00: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
renovate[bot]
b1ad46e426 Update dependency @types/node to v20.12.7 2024-04-10 15:26:09 +00: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
renovate[bot]
0585b55bb1
Update dependency @floating-ui/react to v0.26.12 (#85842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 12:26:02 +03:00
renovate[bot]
651223fe2d Update babel monorepo to v7.24.4 2024-04-10 09:06:54 +00:00
renovate[bot]
77c97f69a9
Update opentelemetry-js monorepo (#85337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 09:28:20 +01:00
Victor Marin
432936cdcf
Bump scenes to v4.5.4 (#85681)
bump scenes to v4.5.4
2024-04-08 09:07:20 +02:00
Erik Sundell
170131a4f6
Chore: Use latest version of plugin-e2e (#85669)
use latest plugin-e2e
2024-04-08 08:54:27 +02:00
Bogdan Matei
9d44c8e8cf
Add auto to refresh picker (#85584) 2024-04-05 18:31:40 +03: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
renovate[bot]
a360cf0c85
Update dependency @types/node to v20.12.2 (#85480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 18:47:56 +03:00
renovate[bot]
ac6e51c94a Update dependency @types/react to v18.2.74 2024-04-02 15:27:41 +00:00
Josh Hunt
33dd204466
E2C: Generate RTK Query API slice from swagger spec (#85463)
* add deps and script

* add codegen rtk api clise for cloud migration

* rename all the mock exports to mock

* Reset changes to package.json and yarn.lock

* codeowners
2024-04-02 18:01:33 +03: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
renovate[bot]
bc77745da6 Update dependency glob to v10.3.12 2024-04-02 11:06:51 +00:00
renovate[bot]
09d4b814f4 Update dependency @types/react-dom to v18.2.23 2024-04-02 10:48:52 +00:00
renovate[bot]
b0aa575643 Update dependency @types/eslint to v8.56.7 2024-04-02 10:24:48 +00:00
renovate[bot]
5a416731f4
Update Yarn to v4.1.1 (#85350)
* Update Yarn to v4.1.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-04-02 10:25:30 +01:00
renovate[bot]
b155bc11a1
Update dependency @swc/helpers to v0.5.8 (#85327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 12:34:29 +00:00
renovate[bot]
d227621217 Update dependency eslint-plugin-jsdoc to v48.2.2 2024-03-28 10:49:11 +00:00
renovate[bot]
4854f10ee2
Update dependency @grafana/aws-sdk to v0.3.3 (#85326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 10:03:38 +00:00
renovate[bot]
ad1b60e651
Update dependency stylelint-config-sass-guidelines to v11.1.0 (#85291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:52:23 +00:00
renovate[bot]
50a57bb88c
Update dependency webpack to v5.91.0 (#85302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:38:15 +00:00
Jack Westbrook
c6a489cfd8
Chore: Bump Nx to 18.1.x (#85185)
* chore: bump nx to latest version

* build(plugin-configs): reduce wonky webpack output when logged via nx

* revert(plugin-configs): remove infrastructureLogging property
2024-03-28 09:36:35 +01:00
renovate[bot]
39e91e2984 Update dependency msw to v2.2.13 2024-03-27 17:36:20 +00:00
renovate[bot]
2f18148da2 Update dependency @types/react to v18.2.73 2024-03-27 17:15:47 +00:00
renovate[bot]
7e1cd4397a
Update dependency stylelint to v16.3.1 (#85286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 15:38:44 +00:00
renovate[bot]
7febba947e Update dependency @grafana/scenes to v4.0.4 2024-03-27 14:51:02 +00:00
renovate[bot]
986b078d79
Update dependency sass to v1.72.0 (#85272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 14:32:02 +00:00
renovate[bot]
e4a265f60c Update dependency jest-date-mock to v1.0.9 2024-03-27 13:25:09 +00:00
renovate[bot]
c7b4427151
Update dependency date-fns to v3.6.0 (#85243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 11:51:19 +00:00
renovate[bot]
4cf0c8dfb2
Update dependency @grafana/plugin-e2e to ^0.25.0 (#85236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 10:26:52 +00:00
renovate[bot]
e28fc1a4a5 Update dependency msw to v2.2.12 2024-03-27 09:58:56 +00:00
renovate[bot]
e184520c61 Update dependency @types/react to v18.2.72 2024-03-26 20:04:28 +00:00
renovate[bot]
6ed5e36fe5 Update dependency msw to v2.2.11 2024-03-26 18:56:59 +00:00
renovate[bot]
a256c064df Update dependency @types/react to v18.2.71 2024-03-26 17:26:50 +00:00
renovate[bot]
1df15a3a4c
Update dependency @floating-ui/react to v0.26.10 (#85181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 16:39:24 +00:00
renovate[bot]
5146896264
Update dependency @kusto/monaco-kusto to v10 (#81382)
* Update dependency @kusto/monaco-kusto to v10

* match types + update mocks

* Add missing esModule

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-03-26 16:10:06 +00:00
renovate[bot]
d608faa9c1 Update dependency @grafana/scenes to v4.0.3 2024-03-26 08:53:45 +00:00
renovate[bot]
4b11877337 Update dependency rudder-sdk-js to v2.48.6 2024-03-26 08:26:04 +00:00
grafana-delivery-bot[bot]
99b5671fbe
Release: Bump version to 11.1.0-pre (#85115)
"Release: Updated versions in package to 11.1.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-03-25 21:44:28 +02:00
Tom Ratcliffe
ebd191394a Add jest-watch-typeahead dev dependency
https://www.npmjs.com/package/jest-watch-typeahead
2024-03-25 11:36:45 +00: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
renovate[bot]
6ce3469bb8 Update dependency postcss to v8.4.38 2024-03-21 12:52:01 +00:00
renovate[bot]
db791e8955 Update dependency autoprefixer to v10.4.19 2024-03-21 11:59:27 +00:00
renovate[bot]
fc5d323cd5
Update dependency systemjs-cjs-extra to v0.2.1 (#84849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 12:39:58 +01:00
Jack Westbrook
3c359376e1
Grafana/Runtime: Remove SystemJS export (#84561)
* feat(systemjs): move systemjs to grafana core and stop exporting from runtime

* feat(plugins): move systemjs to own file, update imports

* chore(plugins): call systemjs directly from window as ref can be undefined

* chore(plugins): make sure systemjs is imported before its shared dependencies

* chore(systemjs): move dependency to root package.json
2024-03-21 09:22:35 +01:00
Alex Khomenko
b9b42ba10f
Grafana/icons: Add icons package (#82314)
* Add separate icons package

* Update package.json

* Codeformat

* Use the new icon

* Sanitize SVGs

* Sync deps

* Add publish script

* Add pre-commit hook

* Test pre-commit

* Rename

* Comment out local dev configs

* Add generate action

* Update readme

* Update script

* Add license

* Rename icons to icons-generated

* Codeformat

* Update lerna

* Remove fill attribute from SVG path elements

* Revert lerna upgrade

* Update codeowners

* Add lint scripts

* Exclude more attributes

* Add missing deps

* Update lockfile

* Remove CI actions

* Remove generated components from VC

* Fix path

* Build ESM only

* Include cjs

* Update lockfile

* Move generated icons into src

* Update lockfile

* Sync deps with grafana

* Update lockfile

* Update lockfile

* Update package name

* Cleanup

* Memoize the components

* Publish esm only

* Do not overwrite props

* Add generate script to build

* Update comment

* Generate typedefs from index.ts

* test

* test

* Restore

* Add more complex icons

* Add readme

* Update lockfile

* Make the package private

* Move package exclusion to lerna.json

* Remove exclusion

* Revert

* test packages

* Fix

* Fix

* Revert

* Move generate icons script to the root

* Update script

* Remove icons script

* Move icons exclusion to package.json
2024-03-20 17:03:40 +02:00
renovate[bot]
339a2ba4e9 Update dependency msw to v2.2.9 2024-03-20 13:44:32 +00:00
renovate[bot]
d0935fe44c Update dependency @testing-library/react to v14.2.2 2024-03-20 12:31:21 +00:00
renovate[bot]
1cc31a4d62 Update dependency webpack-dev-server to v5.0.4 2024-03-19 20:48:38 +00:00
renovate[bot]
f3986f0dc7 Update dependency postcss to v8.4.37 2024-03-19 18:56:16 +00:00
renovate[bot]
590c657828 Update dependency msw to v2.2.8 2024-03-19 18:21:50 +00:00
renovate[bot]
9d058f8db0 Update dependency eslint-plugin-react to v7.34.1 2024-03-19 17:44:17 +00:00
renovate[bot]
6166c88ab7 Update dependency core-js to v3.36.1 2024-03-19 17:06:50 +00:00
renovate[bot]
aa9dc9c821 Update dependency @types/react-table to v7.7.20 2024-03-19 16:47:05 +00:00
renovate[bot]
5b1b280798 Update dependency @types/react to v18.2.67 2024-03-19 16:21:08 +00:00
renovate[bot]
97156bb759 Update dependency @types/node to v20.11.30 2024-03-19 15:36:35 +00:00
renovate[bot]
107dd15e12 Update dependency @types/eslint to v8.56.6 2024-03-19 14:58:44 +00:00
renovate[bot]
83597e6c37
Update dependency @swc/helpers to v0.5.7 (#84725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:24:10 +00:00
renovate[bot]
b5d74ac200
Update babel monorepo to v7.24.1 (#84718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 12:56:16 +02:00
Ashley Harrison
b1b65faf02
Variables: Support static keys in AdHocFiltersVariable (#83157)
* initial start

* don't use getTagKeysProvider

* some cleanup

* undo kinds adjustment

* simplify

* remove async declaration

* add description and a couple of unit tests

* add transformSaveModelToScene test

* add tests for AdHocVariableForm

* add tests for AdHocFiltersVariableEditor

* update to defaultKeys

* fix snapshots

* update to 3.13.3
2024-03-18 16:12:00 +00:00
Jack Westbrook
06723b9647
Chore: Pin version of playwright (#84558)
chore(playwright): pin version of playwright to prevent CI failures
2024-03-15 15:14:25 +02:00
renovate[bot]
7a28ce7795
Update dependency eslint-webpack-plugin to v4.1.0 (#84571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 13:04:38 +00:00
renovate[bot]
25ed621aa3
Update dependency date-fns to v3.5.0 (#84557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 12:10:17 +00:00
renovate[bot]
a8432aad3d Update dependency @types/node to v20.11.28 2024-03-15 10:28:53 +00:00
renovate[bot]
05f737b712 Update dependency @types/react to v18.2.66 2024-03-15 09:02:47 +00:00
renovate[bot]
81a63efab2
Update dependency rc-cascader to v3.24.0 (#84453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 17:39:28 +02:00
renovate[bot]
3692af05f8
Update dependency i18next-parser to v8.13.0 (#84437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 10:46:12 +00:00
renovate[bot]
0c472ff00d
Update dependency eslint-plugin-jsdoc to v48.2.1 (#84427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 11:34:14 +02:00
renovate[bot]
84cbd5fe5c
Update dependency eslint-plugin-react to v7.34.0 (#84428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 11:30:50 +02:00
renovate[bot]
0b806597c3
Update dependency date-fns to v3.4.0 (#84390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 09:10:59 +00:00
renovate[bot]
1d96707295
Update dependency eslint-plugin-jest to v27.9.0 (#84425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 10:56:05 +02:00
renovate[bot]
d480d3296c
Update d3 (#84383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:42:18 +00:00
renovate[bot]
2420c5aa4d Update dependency @types/node to v20.11.27 2024-03-13 15:17:45 +00:00
kay delaney
1e02c831ad
Chore: Bump esbuild and esbuild-loader (#84164)
Chore: Bump esbuild and related dependencies
2024-03-13 14:39:30 +00:00
Erik Sundell
c0933fa6bb
Chore: Bump to latest version of plugin-e2e (#84370)
bump plugin-e2e and update tests
2024-03-13 14:37:28 +01:00
renovate[bot]
d6acb474cf Update dependency @types/react-dom to v18.2.22 2024-03-13 12:47:58 +00:00
Jack Westbrook
6599fa805d
Plugins: Always load decoupled frontend assets from builds (#81873)
* Wip

* Wip

* Adapt to load external module

* build: remove cloudmonitoring from built_in_plugins, clean up webpack output

* chore(plugins): remove decoupled plugins from package.json deps

* chore(codeowners): update file for nx.json

* revert(webpack): put back path in config

* build(frontend): use nx to run prod builds of decoupled plugins with yarn build

* style(prometheus): run prettier-write to fix tsconfig.json

* style(backend): remove unused subFile.isDistDir

* revert(locales): remove formatting changes adding new line at end of files

* chore(webpack): clean up dev output

* build(nx): make grafana an nx project, bump lerna and nx

* build(plugin-configs): move cache directory to node_modules

* style(datasource-plugins): add eslint ignore for .gen.ts files

* chore(codeowners): add frontend-ops as owner of project.json

* build(webpack): add getDecoupledPlugins to automatically ignore when watching

* ci(drone): skip nx cache when building frontend packages

* style(ci): fix missing trailing comma

* Revert "style(ci): fix missing trailing comma"

This reverts commit 7520d41576.

* Revert "ci(drone): skip nx cache when building frontend packages"

This reverts commit 46938883ac.

* feat(zipkin): remove from grafana core bundle

* chore(npm): bump nx package to latest 18.0.8

* docs(dev-guide): add a note about what yarn start now builds

---------

Co-authored-by: Andres Martinez <andres.martinez@grafana.com>
2024-03-13 12:40:09 +01:00
renovate[bot]
e421ff3e2c Update dependency webpack-dev-server to v5.0.3 2024-03-12 15:40:14 +00:00
renovate[bot]
46a35775ae
Update dependency @types/lodash to v4.17.0 (#84299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 17:13:14 +02:00
Erik Sundell
2a7785c262
CI: Allow failed Playwright tests to fail entire build (#84244)
* bump plugin-e2e and fix failing test

* do not ignore failures

* generate trace on every test

* force test to fail for debugging purposes

* fix broken test

* regenerate drone file
2024-03-12 13:48:32 +01:00
renovate[bot]
2fe9376d12 Update dependency ol-ext to v4.0.17 2024-03-12 11:50:49 +00:00
renovate[bot]
a883df633e Update dependency @types/react to v18.2.65 2024-03-12 11:30:56 +00:00
renovate[bot]
3085d53802 Update dependency @types/node to v20.11.26 2024-03-12 09:32:25 +00:00
renovate[bot]
6e661fa770
Update babel monorepo to v7.24.0 (#84206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:46:11 +00:00
renovate[bot]
3449a43ff2 Update react monorepo 2024-03-11 16:24:00 +00:00
renovate[bot]
7d1ea1c655 Update dependency rudder-sdk-js to v2.48.3 2024-03-11 15:30:46 +00:00
renovate[bot]
dd01743de7 Update dependency react-virtualized-auto-sizer to v1.0.24 2024-03-11 16:50:20 +02:00
Jack Westbrook
d4b43640f3
Revert "Update dependency @swc/core to v1.4.6" (#84186)
* Revert "Update dependency @swc/core to v1.4.6"

This reverts commit 4d7220dbdf.

* chore(renovate): ignore swc/core for time being due to bugs in versions ~1.4.5
2024-03-11 16:33:37 +02:00
renovate[bot]
ad280db89e Update dependency postcss-loader to v8.1.1 2024-03-11 16:28:12 +02:00
renovate[bot]
5653518e1a Update dependency ol-ext to v4.0.16 2024-03-11 14:10:54 +00:00
renovate[bot]
876030f7a6 Update dependency msw to v2.2.3 2024-03-11 13:50:05 +00:00
renovate[bot]
2d0fc3ef33 Update dependency mini-css-extract-plugin to v2.8.1 2024-03-11 12:53:41 +00:00
Torkel Ödegaard
8048e1360d
Dashboards: Update scenes lib to 3.10 (#84075)
* Dashboards: Update scenes lib to 3.10

* Update
2024-03-11 13:33:48 +01:00
renovate[bot]
fa888af212 Update dependency marked to v12.0.1 2024-03-11 12:25:02 +00:00
renovate[bot]
bd9f9c9eb0 Update dependency immer to v10.0.4 2024-03-11 13:44:39 +02:00
renovate[bot]
b2b825db69 Update dependency centrifuge to v5.0.2 2024-03-11 11:16:29 +00:00
renovate[bot]
0a12377a19 Update dependency autoprefixer to v10.4.18 2024-03-11 10:57:19 +00:00
renovate[bot]
534855d086 Update dependency @types/node to v20.11.25 2024-03-11 10:39:32 +00:00
renovate[bot]
c5080ca135 Update dependency @types/eslint to v8.56.5 2024-03-11 10:20:02 +00:00
renovate[bot]
4d7220dbdf Update dependency @swc/core to v1.4.6 2024-03-11 09:14:25 +00:00
renovate[bot]
ea84a66ff4 Update dependency @emotion/react to v11.11.4 2024-03-11 08:53:49 +00:00
Andreas Christou
3f2820a552
Chore: Bump whats new (#83841)
Bump whats new
2024-03-05 16:09:42 +00:00
Ashley Harrison
086d47d83c
Chore: replace react-popper with floating-ui in ExemplarMarker (#83694)
* replace react-popper with floating-ui in ExemplarMarker

* fix e2e test

* floating-ui uses mousemove
2024-03-01 14:54:39 +00:00
Darren Janeczek
6e75584505
datatrails: improve label filter behavior (#83411) 2024-02-28 16:06:31 -05:00
renovate[bot]
d6eefc7303
Update dependency eslint to v8.57.0 (#83517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 13:59:24 +00:00
renovate[bot]
d04c579fc2 Update dependency webpack to v5.90.3 2024-02-27 11:36:22 +00:00
renovate[bot]
ffae7d111c Update dependency rudder-sdk-js to v2.48.2 2024-02-27 11:18:13 +00:00
renovate[bot]
ff28c04245 Update dependency ol-ext to v4.0.15 2024-02-27 10:40:43 +00:00
renovate[bot]
801107892b Update dependency @types/react to v18.2.60 2024-02-27 10:22:14 +00:00
renovate[bot]
81eded16aa Update dependency react-virtualized-auto-sizer to v1.0.23 2024-02-27 09:55:58 +00:00
renovate[bot]
77f9d29291 Update dependency @types/semver to v7.5.8 2024-02-26 23:34:35 +00:00
renovate[bot]
0848e7dd69 Update dependency @types/react to v18.2.59 2024-02-26 21:01:35 +00:00
renovate[bot]
e9a1150b35 Update dependency @types/node to v20.11.20 2024-02-26 17:19:05 +00:00
renovate[bot]
648abdbd0e Update dependency @swc/core to v1.4.2 2024-02-26 12:49:29 +00:00
renovate[bot]
445aeca04b Update dependency @react-types/shared to v3.22.1 2024-02-26 12:28:41 +00:00
renovate[bot]
ae00b4fb53
Update dependency @grafana/aws-sdk to v0.3.2 (#83374)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 12:24:33 +02:00
Erik Sundell
3e456127cb
E2E: Add plugin-e2e scenario verification tests (#79969)
* add playwright test and plugin-e2e

* run tests in ci

* add ds config tests

* add panel edit tests

* add annotation test

* add variable edit page tests

* add explore page tests

* add panel plugin tests

* add readme

* remove comments

* fix broken test

* remove user.json

* remove newline in starlark

* fix lint issue

* ignore failure of playwright tests

* update code owners

* add detailed error messages in every expect

* update message frame

* fix link

* upload report to gcp

* echo url

* add playwright developer guide

* bump plugin-e2e

* add custom provisioning dir

* update plugin-e2e

* remove not used imports

* fix typo

* minor fixes

* use latest version of plugin-e2e

* fix broken link

* use latest plugin-e2e

* add feature toggle scenario verification tests

* bump version

* use auth file from package

* fix type error

* add panel data assertions

* rename parent dir and bump version

* fix codeowners

* reset files

* remove not used file

* update plugin-e2e

* separate tests per role

* pass prov dir

* skip using provisioning fixture

* wip

* fix permission test

* move to e2e dir

* fix path to readme

* post comment with report url

* format starlark

* post comment with report url

* post comment with report url

* fix token

* make test fail

* fix exit code

* bump version

* bump to latest plugin-e2e

* revert reporting message

* remove comments

* readding report comment

* change exit code

* format starlark

* force test to fail

* add new step that posts comment

* fix link

* use latest playwright image

* fix failing test

* format starlark

* remove unused fixture

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-02-23 12:39:30 +01:00
renovate[bot]
d4bc0fe018
Update dependency stylelint to v16 (#83252)
* Update dependency stylelint to v16

* remove stylelint-config-prettier since it's no longer necessary

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-23 11:56:38 +02:00
renovate[bot]
ad80518db0
Update dependency webpack-dev-server to v5 (#83258)
* Update dependency webpack-dev-server to v5

* update webpack.hot config (is this even used anymore?)

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-23 11:43:16 +02:00
renovate[bot]
217154f85d
Update dependency stylelint-config-sass-guidelines to v11 (#83253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 09:20:02 +00:00
renovate[bot]
18ec6fcdd3
Update dependency sass-loader to v14 (#83255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 18:26:01 +02:00
renovate[bot]
13cb09b178
Update dependency postcss-loader to v8 (#83161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 15:52:20 +00:00
renovate[bot]
0b62c15e4b
Update dependency rc-drawer to v7 (#83162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 15:48:37 +00:00
Jack Westbrook
5f89c69b66
Chore: Bump Lerna 8.x.x (#83233)
* chore(lerna): bump lerna to 8.x.x

* chore(lerna): run lerna repair command to update lerna.json

* ci(drone): use raw output (no quotes) when updating package.json version

* ci(drone): update config file
2024-02-22 16:22:23 +01:00
Jev Forsberg
d883af08dd
Dependencies(Dev): Add @types/eslint-scope (#83118)
baldm0mma/add_eslint-scope_dep/ add dep and yarn add
2024-02-21 10:26:49 -07:00
grafana-delivery-bot[bot]
8f3d49687e
Release: Bump version to 11.0.0-pre (#83119)
"Release: Updated versions in package to 11.0.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-02-20 19:02:36 +00:00
Fabrizio
d1c5e491ac
Zipkin: Decouple Zipkin plugin (#81354) 2024-02-20 18:24:40 +02:00
renovate[bot]
2768c92519 Update dependency @react-types/overlays to v3.8.5 2024-02-19 13:25:37 +00:00
renovate[bot]
d90774e8c2 Update dependency @react-types/menu to v3.9.7 2024-02-19 12:51:25 +00:00
renovate[bot]
b4a77937fd Update dependency @react-types/button to v3.9.2 2024-02-19 12:12:10 +00:00
renovate[bot]
2175509929 Update React Aria 2024-02-19 11:04:09 +00:00
renovate[bot]
a02519895e Update dependency msw to v2.2.1 2024-02-17 06:37:32 +00:00
renovate[bot]
3427321f65 Update dependency webpack to v5.90.2 2024-02-15 18:31:17 +00:00
renovate[bot]
23a3fddca4 Update dependency @types/node to v20.11.19 2024-02-15 17:31:16 +00:00
renovate[bot]
951399ac39
Update dependency eslint-plugin-jsdoc to v48.1.0 (#82531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 13:44:59 +02:00
renovate[bot]
7ab203cf6e
Update dependency eslint-plugin-jest to v27.8.0 (#82529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 13:26:12 +02:00
renovate[bot]
749a31738d Update dependency @types/node to v20.11.18 2024-02-15 11:03:03 +00:00
Sven Grossmann
808be099a7
Rollback ansicolor package to 1.1.100 to fix ansi styled logs (#82506)
* rollback ansicolor

* upgrade ansicolor in grafana-ui
2024-02-15 10:30:11 +01:00
renovate[bot]
c490b702bf
Update dependency core-js to v3.36.0 (#82464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 19:32:05 +02:00
renovate[bot]
269fa400f0 Update dependency @types/semver to v7.5.7 2024-02-14 17:11:58 +00:00
renovate[bot]
63cf8c8808 Update dependency @swc/core to v1.4.1 2024-02-14 16:36:43 +00:00
renovate[bot]
7d21eb0631
Update React Aria (#82447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 17:24:30 +02:00
renovate[bot]
8a7828da48
Update dependency marked to v12 (#82245)
* Update dependency marked to v12

* make sure marked return value is synchronous

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-14 15:01:33 +00:00
Torkel Ödegaard
d956282913
Scenes: Upgade to 3.5.0 (#82441)
* Scenes: Upgade to 2.4.1

* Update
2024-02-14 15:56:01 +01:00
Tobias Skarhed
6ce286246b
Betterer: Expose results as JSON (#81352)
* Expose betterer results as JSON

* Make prettier and add command

* Add aggregation

* Add json generation to lefthook

* Use relative path

* Add grafanabot as codeowner

* Fix parameter type

* Include changes to results

* Run betterer:json
2024-02-14 16:01:22 +02:00
Ashley Harrison
cf65d91ee9
Chore: upgrade to msw v2 (#82270)
* Update dependency msw to v2

* close

* minor fixes

* fetch import changes

* fix some alerting tests

* fix another alerting test

* fix systemjs tests

* don't return undefined in json mocks

* don't return undefined in json response

* add type

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 13:16:44 +00:00
Ivan Ortega Alba
3d86d101b7
Dashboards: Use auto and only use AdHocFiltersVariable to manage filters (#81318) 2024-02-13 22:38:26 +02:00
Ivana Huckova
65a0a8cd3c
Loki: Update @grafana/lezer-logql to 0.2.3 containing fix for ip label name (#82378)
Loki: Update @grafana/lezer-logql to 0.2.3 containing fix for ip label name
2024-02-13 15:56:59 +01:00
Torkel Ödegaard
b5d14d03d7
Scenes: Upgrade to 2.6.5 and Add query controller DashboardScene (#82232)
* Update scenes and add query controller

* Update

* Update
2024-02-09 21:44:44 +01:00
Alyssa Bull
77111a0714
Cloud Monitoring: Fix naming and warnings (#82271) 2024-02-09 11:22:44 -07:00
Ashley Harrison
fc5f228675
Revert "Update dependency lerna to v8 (#82196)" (#82254)
This reverts commit 00fd023fda.
2024-02-09 15:30:50 +02:00
Fabrizio
8beff98142
Update Prettier checks to parse also JSON files (#82046) 2024-02-09 13:16:40 +02:00
renovate[bot]
ed9e26122a Update dependency @types/node to v20.11.17 2024-02-09 10:47:01 +00:00
renovate[bot]
00fd023fda
Update dependency lerna to v8 (#82196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-09 10:07:57 +00:00
renovate[bot]
903e54e622 Update dependency postcss to v8.4.35 2024-02-08 17:27:54 +00:00
renovate[bot]
b8f7230dee
Update dependency @types/gtag.js to ^0.0.19 (#82178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 17:29:00 +01:00
renovate[bot]
e612b9b46b Update dependency @types/react-dom to v18.2.19 2024-02-08 16:26:58 +00:00
renovate[bot]
37eb2e39f4 Update dependency @grafana/scenes to v2.6.6 2024-02-08 16:04:36 +00:00
renovate[bot]
36a1f28086
Update dependency i18next-parser to v8 (#82085)
* Update dependency i18next-parser to v8

* remove deprecated option

* fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-08 15:47:29 +00:00
renovate[bot]
04ff7a1f1d Update dependency @grafana/experimental to v1.7.10 2024-02-08 13:55:50 +00:00
renovate[bot]
685ba7d287
Update dependency i18next to v23 (#82084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 13:29:17 +00:00
renovate[bot]
370e973256
Update dependency html-loader to v5 (#82062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 11:35:25 +00:00
renovate[bot]
f5a60568b4
Update dependency fork-ts-checker-webpack-plugin to v9 (#82061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:18:52 +02:00
Ashley Harrison
af8ea896d0
GroupBy: add new groupby variable type and optional groupByKeys (#81717)
* add new groupby type

* rename to groupByKeys + introduce GroupByVariableModel

* fix unit test

* update scenes package

* update interface

* update fixture

* update unit test

* bump to scenes 2.6.2

* remove baseFilters for now
2024-02-07 11:14:04 +00:00
renovate[bot]
17358bd7c9
Update dependency expose-loader to v5 (#82058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 12:43:33 +02:00
renovate[bot]
c4cee75551
Update dependency eslint-config-prettier to v9 (#82013)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 10:20:19 +00:00
renovate[bot]
7607671791
Update dependency eslint-plugin-jsdoc to v48 (#82014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 10:19:56 +00:00
renovate[bot]
484106eb04
Update typescript-eslint monorepo to v6.21.0 (#82004)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 20:28:48 +02:00
renovate[bot]
f733bc46c9
Update swc monorepo (#82002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 20:20:21 +02:00
renovate[bot]
d9b8bae028
Update dependency react-loading-skeleton to v3.4.0 (#81975)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 20:04:29 +02:00
renovate[bot]
0b72ee2b77
Update dependency semver to v7.6.0 (#81989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 19:58:42 +02:00
Esteban Beltran
ec5623f552
Sandbox: Fix cloneDeep not working inside plugins (#81950) 2024-02-06 16:47:29 +01:00
renovate[bot]
92e05ec8e9
Update dependency postcss to v8.4.34 (#81962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 13:54:04 +00:00
renovate[bot]
2a114c1c37 Update dependency marked-mangle to v1.1.7 2024-02-06 12:17:01 +00:00
renovate[bot]
1771010450 Update dependency @types/react to v18.2.55 2024-02-06 10:06:27 +00:00
Josh Hunt
eef491d407
Chore: Force transitive resolution of debug (#81908)
Force resolution of debug
2024-02-06 10:03:26 +00:00
renovate[bot]
6a1f58df3b Update dependency rudder-sdk-js to v2.48.1 2024-02-05 16:26:59 +00:00
renovate[bot]
9b18a4d45e Update dependency react-virtualized-auto-sizer to v1.0.22 2024-02-05 14:46:27 +00:00
renovate[bot]
fca19a7ba6 Update dependency prettier to v3.2.5 2024-02-05 14:29:20 +00:00
renovate[bot]
d63590112f Update dependency @testing-library/jest-dom to v6.4.2 2024-02-05 14:07:30 +00:00
renovate[bot]
4d5ec1096f
Update dependency moment-timezone to v0.5.45 (#81881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 12:58:17 +00:00
renovate[bot]
d17a77f4a2
Update dependency @types/react to v18.2.53 (#81879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 12:36:43 +00:00
renovate[bot]
5c9913b65d
Update dependency @floating-ui/react to v0.26.9 (#81869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 11:56:12 +02:00
ismail simsek
75c2d39f79
Prometheus: Create Prometheus library (#81641)
* Move to the library

* copy from library

* move them in src

* have additional files

* add unmigrated/dulicated code and files

* migrate from brendan's pr
module.ts, query_hints.ts, tracking.ts, and remove plugin.json

* migrate from brendan's pr
metric_find_query.test.ts

* migrate from brendan's pr
language_utils.test.ts

* migrate from brendan's pr
index.ts in root and in configuration

* migrate from brendan's pr
datasource.test.ts

* migrate from brendan's pr
typings folder

* migrate from brendan's pr
querycache folder

* migrate from brendan's pr
monaco-query-field folder

* migrate from brendan's pr
components folder without monaco-query-field folder

* migrate from brendan's pr
configuration/overhaul folder

* migrate from brendan's pr
AlertingSettingsOverhaul.tsx

* Remove azure related code

* migrate from brendan's pr
ConfigEditor.tsx, DataSourceHttpSettingsOverhaul.tsx, ExemplarSetting.tsx, configuration/mocks.ts, PromSettings.test.tsx, PromSettings.tsx

* migrate from brendan's pr
useFlag.ts

* migrate from brendan's pr
metrics-modal folder

* migrate from brendan's pr
files inside components folder

* migrate from brendan's pr
LabelFilters* files because they are now under components folder

* migrate from brendan's pr
files under querybuilder/shared folder

* migrate from brendan's pr
aggregations.ts, QueryPattern.tsx, QueryPatternsModal.tsx, state.ts, testUtils.ts under querybuilder folder

* Apply Ivana's PR https://github.com/grafana/grafana/pull/81656

* Apply jack's suggestions in this PR https://github.com/grafana/grafana/pull/77762

* Apply Ivana's PR https://github.com/grafana/grafana/pull/81656

* Fix type import

* add monaco-promql to transformIgnorePatterns to run prometheus frontend library tests

* remove Loki specific tests because we removed Loki code to decouple Loki

* add prometheus specific references

* We are moving these betterer issues from core Prometheus to the Library and we promise to remove all issues in the future, thank you

* include prometheus library in package.json

* add yarn lock with prometheus frontend library

* decouple final core import from metric_find_query.test.ts

* run prettier

* fix core imports in promqail

* fix lint errors

* run prettier

* add grafana-ui to devdeps to fix lint errors

* update yarn.lock

* grafana-ui fix

* trying to fix grafana-ui type errors with lerna drone check

* trying to fix grafana-ui type errors with lerna drone check

* trying to fix grafana-ui type errors with lerna drone check

* trying to fix grafana-ui type errors with lerna drone check

* try to pass typecheck

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2024-02-02 15:30:14 +01:00
renovate[bot]
ab00276d6f
Update dependency mini-css-extract-plugin to v2.8.0 (#81793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 15:00:59 +02:00
renovate[bot]
574078b977 Update dependency webpack to v5.90.1 2024-02-02 12:39:20 +00:00
renovate[bot]
8d980fef71 Update dependency @types/react to v18.2.51 2024-02-02 10:31:11 +00:00
renovate[bot]
ab6aa8fe2f Update dependency @types/node to v20.11.16 2024-02-02 09:54:54 +00:00
renovate[bot]
315d3a7a72 Update dependency @types/jest to v29.5.12 2024-02-02 00:27:44 +00:00
renovate[bot]
e6a4992f37 Update dependency @testing-library/react to v14.2.1 2024-02-01 23:37:30 +00:00
renovate[bot]
147db1a667 Update dependency @testing-library/jest-dom to v6.4.1 2024-02-01 23:09:28 +00:00
Torkel Ödegaard
7a17963ab9
Scenes: Update to 2.4 (#81723)
* Scenes: Update to 2.4
2024-02-02 00:10:15 +02:00
renovate[bot]
780c28be2d
Update dependency dangerously-set-html-content to v1.1.0 (#80824)
* Update dependency dangerously-set-html-content to v1.1.0

* allow rerender and use ' ' for empty state to prevent throwing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-02-01 20:50:22 +02:00
Andrej Ocenas
cb945aa5df
NodeGraph: Use layered layout instead of force based layout (#78957) 2024-01-31 17:26:12 +01:00
renovate[bot]
0851c18b55 Update dependency @grafana/experimental to v1.7.9 2024-01-31 12:29:23 +00:00
renovate[bot]
42fe0fdf70
Update dependency date-fns to v3 (#81625)
* Update dependency date-fns to v3

* update imports

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-31 12:05:38 +00:00
renovate[bot]
f896072cd7
Update dependency css-minimizer-webpack-plugin to v6 (#81623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:47:30 +00:00
renovate[bot]
612bcada41
Update dependency copy-webpack-plugin to v12 (#81613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 09:28:06 +00:00
renovate[bot]
12d08d5e7d
Update dependency @testing-library/react to v14.2.0 (#81612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 01:00:51 +00:00
renovate[bot]
ae7d8624e9 Update dependency @types/node to v20.11.13 2024-01-31 00:36:16 +00:00
renovate[bot]
c377644c48
Update dependency @types/google.analytics to ^0.0.46 (#81604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 23:32:33 +00:00
renovate[bot]
907ac10708
Update dependency css-loader to v6.10.0 (#81592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 22:37:18 +00:00
renovate[bot]
80afc8202d
Update Yarn to v4.1.0 (#81584)
* Update Yarn to v4.1.0

* commit yarn 4.1.0.cjs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-30 18:03:46 +00:00
renovate[bot]
4cf5059599
Update typescript-eslint monorepo to v6.20.0 (#81572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 16:38:50 +02:00
renovate[bot]
ced0cca27a
Update dependency @testing-library/jest-dom to v6.4.0 (#81564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 15:48:19 +02:00
renovate[bot]
b7517330ee Update dependency rc-tree to v5.8.5 2024-01-30 12:12:41 +00:00
Dominik Prokop
9d21bac45e
Scenes: Bump to 2.2.0 (#81536) 2024-01-30 09:38:49 +00:00
Leon Sorokin
226c76dc93
TimeSeries: Simplify hover proximity code (#81518) 2024-01-29 23:34:43 +02:00
renovate[bot]
630897b941
Update dependency centrifuge to v5 (#81498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 17:02:32 +00:00
Alyssa Bull
2d432d6ff3
Plugins: Externalize Cloud Monitoring data source (#80181) 2024-01-29 09:24:23 -07:00
renovate[bot]
09a78a0ae9
Update dependency ansicolor to v2 (#81493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 16:19:29 +00:00
renovate[bot]
1ef46440b8
Update dependency @welldone-software/why-did-you-render to v8 (#81479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 15:50:52 +00:00
Josh Hunt
8f0ae76afe
Chore: Use yarn node-modules linker (#79947)
* Chore: Use yarn node-modules linker

* fix react-router types resolution

* temp skip failing tests

* remove yarn-links for internal path aliases to fix some webpack errors

* transpile all .ts files, even those in node_modules (usually our internal workspace packages

* fix transformers mock

* import react router type directly

* remove old resolution

* more cleanup

* remove preserveSymlinks: true from tsconfig to make Go To Definition resolve grafana ui to the original location

* developer guide

* update dev guide

* remove sdks

* reenable tests

* fix tsconfig trailing commas (where did they come from)
2024-01-29 14:27:35 +00:00
renovate[bot]
811ce04390
Update dependency esbuild-plugin-browserslist to ^0.11.0 (#81474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 13:09:36 +00:00
renovate[bot]
01d043b6fb Update dependency rc-tree to v5.8.3 2024-01-29 12:30:55 +00:00
renovate[bot]
67feb0bba1 Update dependency ol-ext to v4.0.14 2024-01-29 12:03:47 +00:00
renovate[bot]
34e88077aa Update dependency @types/node to v20.11.10 2024-01-29 10:19:19 +00:00
renovate[bot]
26fa921547 Update dependency @swc/core to v1.3.107 2024-01-29 09:52:24 +00:00