Commit Graph

2510 Commits

Author SHA1 Message Date
Torkel Ödegaard
43dba8c3f9
DashboardScene: Support bodyScrolling (#91888)
* Progress

* Fix dashboards pane

* almost working

* add hook to get scopesDashboardsScene state

* check whether it's enabled when considering opened state

* add height to container

* Update

* revert change

* Make it work when bodyScrolling is disabled

* Last tweaks

* Update scenes

* Updating

* Fix

* fix tests

* fix lint  issues

* fix lint  issues

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-19 15:42:45 +02:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 (#92056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre (#91863)
* bump version 11.3.0-pre

* fix linters with: yarn run prettier:write

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-08-14 18:34:14 -03:00
Ryan McKinley
427dad26a2
Swagger: Add a custom swagger/api page (#91785)
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com>
2024-08-14 09:03:00 +03:00
Gilles De Mey
e9e5989549
Alerting: Introduce useProduceNewAlertmanagerConfiguration (#91623)
useProduceNewAlertmanagerConfiguration
2024-08-13 14:34:38 +02:00
Tom Ratcliffe
8136fbef1f
Chore: Add capability for overriding local development behaviour using env vars (#85603) 2024-08-13 13:07:42 +01:00
ismail simsek
b8ebc5d463
Chore: Update lezer package of prometheus frontend (#91252)
* update lezer package

* Use UnquotedLabelMatcher instead of LabelMatcher

* Use UnquotedLabelMatcher instead of LabelMatcher in parsing.ts
2024-08-11 23:48:04 +02:00
Ivan Ortega Alba
423d198d77
Scenes: Upgrade to v5.7.4 (#91741) 2024-08-09 14:27:08 +03:00
renovate[bot]
ebc7355284
Update dependency eslint-plugin-jest to v28.8.0 (#91668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 10:33:43 +01:00
renovate[bot]
1150ab5377
Update dependency ts-jest to v29.2.4 (#91644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 11:25:45 +03:00
renovate[bot]
5917e1c6d6
Update dependency stylelint to v16.8.1 (#91641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 19:31:19 +03:00
renovate[bot]
9cfcc16d1a
Update dependency eslint-plugin-jest to v28.7.0 (#91637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:48:32 +01:00
renovate[bot]
d5848384f8
Update dependency core-js to v3.38.0 (#91633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:11:22 +01:00
renovate[bot]
4d24b124f7
Update dependency @playwright/test to v1.46.0 (#91625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 15:15:01 +01:00
renovate[bot]
f0d0fa901a
Update dependency @floating-ui/react to v0.26.22 (#91622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 14:05:58 +01:00
renovate[bot]
f384759ad1 Update dependency @types/yargs to v17.0.33 2024-08-07 11:19:34 +00:00
renovate[bot]
a33d122485
Update Yarn to v4.4.0 (#91595)
* Update Yarn to v4.4.0

* 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-08-07 12:48:56 +02:00
renovate[bot]
61434b245c Update dependency rudder-sdk-js to v2.48.15 2024-08-06 16:40:17 +00:00
renovate[bot]
f4073e6b8e Update dependency postcss to v8.4.41 2024-08-06 16:19:35 +00:00
renovate[bot]
9456535567 Update dependency lerna to v8.1.8 2024-08-06 15:54:50 +00:00
renovate[bot]
133bb110dc Update dependency autoprefixer to v10.4.20 2024-08-06 14:41:55 +00:00
Tom Ratcliffe
2eae30aeff
Alerting: Add jest-dom eslint recommended rules (#91576) 2024-08-06 15:39:46 +01:00
renovate[bot]
0dbfeb0c6e
Update dependency @floating-ui/react to v0.26.21 (#91572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 15:28:05 +03:00
renovate[bot]
4de68e3774
Update dependency eslint-plugin-jsdoc to v48.11.0 (#91473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 12:44:01 +02:00
Josh Hunt
4fd014eae9
Chore: Update i18next parser to 9.0.1 (#91478) 2024-08-02 13:39:30 +03:00
renovate[bot]
670132ead8 Update dependency @types/node to v20.14.14 2024-08-02 09:56:04 +00:00
renovate[bot]
a940bb87be Update dependency msw to v2.3.5 2024-08-02 09:32:44 +00:00
renovate[bot]
ad7b532932 Update dependency @grafana/scenes to v5.7.3 2024-08-01 13:47:47 +00:00
renovate[bot]
796f2994f9
Update dependency eslint-plugin-jsx-a11y to v6.9.0 (#91374)
* Update dependency eslint-plugin-jsx-a11y to v6.9.0

* ignore new violation and add comment to fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-01 13:34:02 +03:00
renovate[bot]
bda56de7d6
Update dependency html-loader to v5.1.0 (#91381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 13:31:31 +03:00
renovate[bot]
596c08e8f4
Update dependency eslint-plugin-react to v7.35.0 (#91378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:11:09 +01:00
renovate[bot]
6cda2f67de
Update dependency eslint-plugin-jsdoc to v48.10.2 (#91370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:46:59 +03:00
renovate[bot]
0590a42895
Update dependency eslint-plugin-jest to v28.6.0 (#91343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 09:28:51 +01:00
renovate[bot]
9e3fd443f2
Update dependency esbuild-loader to v4.2.2 (#91338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 09:36:52 +02:00
renovate[bot]
eef07aedc8
Update dependency esbuild-plugin-browserslist to ^0.14.0 (#91342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 17:08:18 +01:00
renovate[bot]
7570ea8c4f
Update babel monorepo (#91079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 16:32:58 +01:00
Tobias Skarhed
e8c30c86f0
Frontend: Support tracing with Faro (#91237)
Move code from previous PR
2024-07-31 15:13:05 +02:00
renovate[bot]
f58dd70c2b
Update dependency @react-awesome-query-builder/ui to v6.6.2 (#91257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 14:07:57 +01:00
renovate[bot]
856d6b9c9e
Update dependency @react-types/shared to v3.24.1 (#91258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 14:07:26 +01:00
renovate[bot]
b2314dfb55
Update dependency @playwright/test to v1.45.3 (#91248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 11:29:26 +01:00
renovate[bot]
7cda6b5245
Update dependency @grafana/plugin-e2e to v1.6.1 (#91246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 11:06:01 +01:00
Ivan Ortega Alba
dd9172e738
Scenes: Upgrade to v5.7.2 (#91241) 2024-07-31 12:02:43 +03:00
Tom Ratcliffe
6fcf594b32
Alerting: Add eslint testing-library plugin dependency and create separate ESLint config (#91052) 2024-07-30 15:16:54 +03:00
renovate[bot]
e3842df675 Update dependency @types/node to v20.14.13 2024-07-30 11:57:59 +00:00
renovate[bot]
22ad5395d5 Update dependency @reduxjs/toolkit to v2.2.7 2024-07-30 11:35:34 +00:00
renovate[bot]
de5932a2ab
Update dependency @grafana/scenes to v5.7.0 (#90896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 10:29:44 +01:00
renovate[bot]
1503c82ae9 Update dependency underscore to v1.13.7 2024-07-26 17:05:18 +00:00
renovate[bot]
ef1d96c19a Update dependency postcss to v8.4.40 2024-07-26 16:30:37 +00:00
renovate[bot]
8e006fedda Update dependency @grafana/experimental to v1.7.13 2024-07-26 15:42:50 +00:00
renovate[bot]
3383e2f6b9
Update dependency @grafana/aws-sdk to v0.4.1 (#90898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 18:03:44 +03:00
Dominik Prokop
f1c3c55983
Bump scenes to 5.6.2 (#90893) 2024-07-24 14:21:58 +01:00
renovate[bot]
21b45f5789 Update dependency rudder-sdk-js to v2.48.14 2024-07-24 13:13:04 +00:00
renovate[bot]
e5ff5e65df
Update dependency @react-types/overlays to v3.8.9 (#90889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 12:45:08 +00:00
renovate[bot]
7180f8a7d1 Update dependency @react-types/menu to v3.9.11 2024-07-24 12:11:54 +00:00
renovate[bot]
701e715662 Update dependency @react-types/button to v3.9.6 2024-07-24 11:46:02 +00:00
renovate[bot]
5be7cfca69 Update React Aria 2024-07-24 10:56:08 +01:00
renovate[bot]
92d0a40f70
Update Yarn to v4.3.1 (#90871)
* Update Yarn to v4.3.1

* add yarn 4.3.1

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-07-24 11:46:53 +03:00
renovate[bot]
d93c83a6dc Update dependency msw to v2.3.4 2024-07-23 22:06:06 +00:00
renovate[bot]
671f278ee1 Update dependency @types/node to v20.14.12 2024-07-23 19:21:07 +00:00
renovate[bot]
b85700e386 Update dependency semver to v7.6.3 2024-07-23 17:34:17 +00:00
renovate[bot]
d30f8a01cc Update dependency sass to v1.77.8 2024-07-23 17:13:23 +00:00
renovate[bot]
d2b78931a1 Update dependency rudder-sdk-js to v2.48.13 2024-07-23 16:09:22 +00:00
renovate[bot]
546d9991fa Update dependency react-use to v17.5.1 2024-07-23 15:42:41 +00:00
renovate[bot]
d107f928b9 Update dependency msw to v2.3.3 2024-07-23 14:54:11 +00:00
renovate[bot]
b6e8a320ce Update dependency rc-tree to v5.8.8 2024-07-23 14:32:59 +00:00
renovate[bot]
486815606c Update dependency prettier to v3.3.3 2024-07-23 14:45:54 +01:00
renovate[bot]
888417c01b Update dependency postcss to v8.4.39 2024-07-23 11:54:17 +00:00
renovate[bot]
d75475ae03 Update dependency ol-ext to v4.0.21 2024-07-23 11:32:31 +00:00
renovate[bot]
c42b6fa925 Update dependency msw to v2.3.2 2024-07-23 10:33:15 +00:00
renovate[bot]
66c4dff17e Update dependency @react-types/overlays to v3.8.8 2024-07-23 09:31:01 +00:00
renovate[bot]
b580cee96b Update dependency @react-types/menu to v3.9.10 2024-07-23 09:05:04 +00:00
renovate[bot]
6dcf974543 Update dependency @react-types/button to v3.9.5 2024-07-23 08:30:42 +00:00
renovate[bot]
999aff5458
Update React Aria (#90760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:07:47 +01:00
renovate[bot]
3ce0e30358 Update dependency lerna to v8.1.7 2024-07-22 15:44:49 +00:00
renovate[bot]
61e408ab93 Update dependency immutable to v4.3.7 2024-07-22 15:22:13 +00:00
renovate[bot]
fdf5ed98d8
Update dependency chrome-remote-interface to v0.33.2 (#90741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 16:50:34 +03:00
renovate[bot]
b7379b7b51 Update dependency @grafana/scenes to v5.6.1 2024-07-22 12:47:31 +00:00
renovate[bot]
8aecf9bd0d Update dependency centrifuge to v5.2.2 2024-07-22 12:05:46 +00:00
renovate[bot]
296b14b360
Update dependency @floating-ui/react to v0.26.20 (#90723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 14:07:38 +03:00
renovate[bot]
1b3ddf77d9 Update dependency @welldone-software/why-did-you-render to v8.0.3 2024-07-22 10:46:18 +00:00
renovate[bot]
a18f72e415 Update dependency @types/react-resizable to v3.0.8 2024-07-22 08:34:01 +00:00
renovate[bot]
63cc01fe80 Update dependency @types/node to v20.14.11 2024-07-22 07:57:16 +00:00
renovate[bot]
f259f99485 Update dependency @types/lodash to v4.17.7 2024-07-19 17:40:32 +00:00
renovate[bot]
c5775b3778
Update dependency @swc/helpers to v0.5.12 (#90670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 17:50:47 +03:00
renovate[bot]
21d1669bfc Update dependency @reduxjs/toolkit to v2.2.6 2024-07-19 14:29:02 +00:00
renovate[bot]
892d5d1b20 Update dependency @opentelemetry/semantic-conventions to v1.25.1 2024-07-19 13:56:31 +00:00
Dominik Prokop
ec9e28567d
Use SafeSerializableSceneObject in TemplateSrv (#90272)
* Test

* Opaque object

* Update scenes tentatively

* Betterer

* Fix dashboard data source

* Fix dashboard data source test

* Scenes bump

* Cleanup

* Ivan's feedback
2024-07-19 14:51:01 +02:00
renovate[bot]
093f4cea70
Update dependency @grafana/lezer-logql to v0.2.6 (#90655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 15:48:24 +03:00
renovate[bot]
ec432fa314
Update dependency @floating-ui/react to v0.26.19 (#90614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 13:26:07 +01:00
renovate[bot]
4de007d7b8 Update dependency @cypress/webpack-preprocessor to v6.0.2 2024-07-18 16:58:22 +00:00
Ivan Ortega Alba
f4c8a9ac1f
QueryEditor: Break with Scenes because the default query is not empty string (#90583)
* Scenes: Upgrade to v5.4.1

- QueryVariable: Query is empty string by default [#837](https://github.com/grafana/scenes/pull/837) ([@ivanortegaalba](https://github.com/ivanortegaalba))
- fix(lazyloader): fix trying to run inexistent callbacks [#833](https://github.com/grafana/scenes/pull/833) ([@svennergr](https://github.com/svennergr))

* Adapt tests
2024-07-18 16:29:50 +03:00
renovate[bot]
d61dbae7fe Update babel monorepo 2024-07-18 12:01:07 +00:00
renovate[bot]
4ef6ff7c44
Update dependency @grafana/scenes to v5.4.0 (#90490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 19:02:32 +03:00
Josh Hunt
03311f6c6c
I18n: Memoize formatDate/formatDuration methods because they're prett… (#90338)
I18n: Memoize formatDate/formatDuration methods because they're pretty slow!!
2024-07-12 10:38:47 +01:00
Ashley Harrison
b321dc7280
Chore: Migrate from react-beautiful-dnd to @hello-pangea/dnd (#90328)
* migrate from react-beautiful-dnd to @hello-pangea/dnd

* revert comment
2024-07-12 10:23:29 +01:00
Sergej-Vlasov
acf5c7c6ba
DashboardScene: Activate refresh picker manually when time controls are hidden (#89952)
---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-07-03 18:43:44 +03:00
Ivan Ortega Alba
1de3e4be29
Scenes: Upgrade to v5.3.4 (#89978) 2024-07-03 03:38:57 -04:00
Ashley Harrison
e87646eeb6
Storybook: Add basic e2e verification test (#89779)
* add very basic tests to verify storybook builds correctly

* add storybook step to drone

* reorder steps

* drone tweaks

* don't need host since it's set in env

* don't need to wait

* format build.star and readd wait

* install netcat in CI

* do a yarn install here to get correct bindings

* refactoring to hopefully work better in CI

* add wait-on

* add verbose logging

* localhost?

* more logging

* specify storybook host

* ...

* back to grafana-server

* does this work? 🤔

* run storybook e2e test after rgm-package so the backround process is running for less time

* split into separate step

* format
2024-06-27 16:43:43 +01:00
Ivan Ortega Alba
895baa95a0
VizPanelManager: Adapt color palete after plugin change (#89790)
* VizPanelManager: Adapt color palete after plugin change

* Upgrade scenes

* Remove broken code

* Upgrade scenes version

* linter
2024-06-27 17:26:38 +02:00
kay delaney
be2aa9a3a7
Scenes: Implement 't a' shortcut (#89619) 2024-06-26 10:10:00 +01:00