Commit Graph

1845 Commits

Author SHA1 Message Date
renovate[bot]
a491938dfe Update dependency @types/marked to v5.0.2 2024-01-12 13:07:08 +00:00
renovate[bot]
3594a068a6 Update dependency @types/lodash to v4.14.202 2024-01-12 11:42:12 +00:00
renovate[bot]
df513c870f Update dependency @types/jest to v29.5.11 2024-01-12 11:08:22 +00:00
renovate[bot]
d3abab2896 Update dependency @types/hoist-non-react-statics to v3.3.5 2024-01-12 09:56:28 +00:00
renovate[bot]
5d4ca21afa
Update dependency @types/gtag.js to ^0.0.18 (#80418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 11:56:21 +02:00
renovate[bot]
2576f9103c
Update dependency @types/google.analytics to ^0.0.45 (#80392)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 09:41:07 +00:00
grafana-delivery-bot[bot]
caee68b5a8
Release: Bump version to 10.4.0-pre (#80412)
"Release: Updated versions in package to 10.4.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-01-12 10:21:50 +01:00
renovate[bot]
1f334d6ca7 Update dependency @types/file-saver to v2.0.7 2024-01-11 18:06:10 +00:00
renovate[bot]
51efdb1f43 Update dependency @types/debounce-promise to v3.1.9 2024-01-11 16:29:31 +00:00
renovate[bot]
41144209de Update dependency @types/angular-route to v1.7.6 2024-01-11 11:57:51 +00:00
renovate[bot]
cc5a573ce0 Update dependency @types/angular to v1.8.9 2024-01-11 11:38:24 +00:00
renovate[bot]
8dba53b541 Update dependency @testing-library/user-event to v14.5.2 2024-01-11 11:01:21 +00:00
renovate[bot]
ec3207a943 Update dependency @testing-library/dom to v9.3.4 2024-01-11 10:10:51 +00:00
renovate[bot]
bba691777a Update dependency @react-types/overlays to v3.8.4 2024-01-10 20:49:37 +00:00
renovate[bot]
35fe96b26d Update dependency @react-types/menu to v3.9.6 2024-01-10 19:41:04 +00:00
renovate[bot]
7400c8c844 Update dependency @react-types/button to v3.9.1 2024-01-10 17:18:21 +00:00
renovate[bot]
119df0c5ce Update dependency @react-awesome-query-builder/ui to v6.4.2 2024-01-10 17:17:20 +00:00
renovate[bot]
d0ccfc0a7b Update dependency @react-awesome-query-builder/core to v6.4.2 2024-01-10 17:00:21 +00:00
renovate[bot]
0e8c81d3b9
Update dependency @lezer/common to v1.2.0 (#75434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 16:43:03 +00:00
renovate[bot]
86fae6018e
Update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.11 (#80300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 18:36:12 +02:00
renovate[bot]
c959b5549c
Update typescript-eslint monorepo to v6 (#71634)
* Update typescript-eslint monorepo to v6

* move to latest eslint-config-grafana

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-10 18:17:54 +02:00
renovate[bot]
153767a787 Update dependency @leeoniya/ufuzzy to v1.0.14 2024-01-10 14:27:54 +00:00
renovate[bot]
5c3723e809 Update dependency @grafana/scenes to v1.28.6 2024-01-10 11:26:57 +00:00
renovate[bot]
d768362a5d
Update dependency @grafana/google-sdk to v0.1.2 (#80277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 11:12:01 +00:00
renovate[bot]
90e4a53288
Update dependency @floating-ui/react to v0.26.5 (#80273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 10:52:41 +00:00
renovate[bot]
e1746df794 Update d3 2024-01-10 10:19:20 +00:00
renovate[bot]
3c045d1dfb
Update dependency @emotion/react to v11.11.3 (#80230)
* Update dependency @emotion/react to v11.11.3

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-09 18:20:08 +02:00
renovate[bot]
1cefa419c0
Update babel monorepo (#80214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-09 15:54:57 +00:00
renovate[bot]
a449df3455
Update dependency @cypress/webpack-preprocessor to v6.0.1 (#80217)
* Update dependency @cypress/webpack-preprocessor to v6.0.1

* fix type errors

* restore old checksum for scenes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-09 15:32:24 +00:00
Ivana Huckova
0440b29ebf
Chore: Bump @grafana/experimental from 1.7.4 to 1.7.5 (#80074)
* For LLM, replace enabled() with health()

* For LLM, replace enabled() with health()

* Update experimental in azueremonitor and testdata plugins
2024-01-08 10:29:08 +01:00
renovate[bot]
7587c403c4
Update dependency esbuild-plugin-browserslist to ^0.10.0 (#76362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-05 15:26:09 +01:00
Alex Khomenko
99f7110e39
React Hook Form: Update to v 7.49.2 (#79493)
* Update RHF to latest

* Update Form types

* Fix alerting types

* Fix correlations types

* Update tests

* Fix tests

* Update LabelsField.tsx to use InputControl

* Update RuleEditorGrafanaRules.test.tsx

* Update RuleEditorCloudRules.test.tsx

* Only require one label

* Update RuleEditorRecordingRule.test.tsx

* Fix labels rules

* Revert

* Remove RHF from ignore rules

* Revert

* update form validation for overriding group timings

* Fix changes to correlations

* Fix auth type errors

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2024-01-05 12:41:49 +02:00
Andreas Christou
dd77ff6bcd
Plugins: Externalise Azure Monitor data source (#79545)
* Set up frontend linting for Azure

- Fix final frontend import
- Fix other lint issues

* Add Azure Monitor to backend linting

* Remove featuremgmt dependency

* Add intervalv2 to list of disallowed imports

* Remove config dependency

- Replace with function from azure-sdk

* Remove util dependency

* Duplicate interval functionality from core

* Add required backend wrappers

* Update frontend

* Add testing helper

* Add missing package

* Bump minimum grafana dependency

* Fix dependency

* Regen cue

* Fix lint

* Update expected response file

* Update import and dependency
2024-01-03 19:20:22 +00:00
Ashley Harrison
9de79fb5e9
Chore: remove react-popper-tooltip in favour of @floating-ui/react (#79465)
* use floating-ui instead of react-popper-tooltip in Tooltip

* remove useTheme2 usage

* remove escape handling logic in favour of useDismiss

* don't need this useEffect anymore

* convert Toggletip to use floating-ui

* use explicit version

* convert OperationInfoButton to use Toggletip

* convert nestedFolderPicker to use floating-ui

* convert Dropdown to use floating-ui and remove react-popper-tooltip

* fix Modal/Tooltip tests

* revert to old toggletip behaviour

* revert OperationInfoButton to not use Toggletip

* add mock for requestAnimationFrame

* remove requestAnimationFrame mock

* remove fakeTimers where they're not used

* use floating-ui in ButtonSelect

* Fix filters unit tests

* only attach description if label is different

* use 'fixed' strategy for Toggletip

* use stroke and strokeWidth

* set move: false to only show the tooltip if a hover event occurs

* update type for onClose
2024-01-03 12:42:26 +00:00
Drew Slobodnjak
2502fe4d19
Canvas: Add Pan and Zoom (#76705)
* Canvas: Add Zoom

* Scale selecto components based on zoom state

* Fix pan by reverting to 3.1.0 for zoom-pan

* Update to latest library that fixes pan regression

* Add mini map to canvas pan zoom

* Fix selecto and anchors on hover

* Update naming to be more clear

* Switch back to contentComponent

* Apply transformScale to drag and resize

* Update connection source and target scaling

* Add option to display mini map

* Update yarn lock

* Revert "Update yarn lock"

This reverts commit 3d1dd65d57.

* Set yarn lock to main

* Revert "Set yarn lock to main"

This reverts commit 64bc50557e.

* Update to Yarn 4

* Add react-zoom-pan-pinch

* Update react-zoom-pan checksum

* Revert changes to json files

* Remove last line of api merged

* Remove last lines of all impacted jsons

* Update home json

* Update coordinate calc function to include scale

* Fix types in coordinate calc function

* Fix util calculation for transform

* Fix arrow anchor shift behavior

* Fix scale offset when adding elements during zoom

* Fix drag of selected group during zoom

* Add feature flag for canvas pan zoom

* Revert "Add feature flag for canvas pan zoom"

This reverts commit b026e31d8d.

* Regenerate feature flag after merge

* Apply feature flag to enable pan zoom wrappers

* Add mini map toggle behind feature flag

* Simplify minimap behavior

* Update feature flag registry

* Set minimap to false by default

* fix gen-cue

* Set toggles gen to main

Add blank line to toggle gen csv

* Add canvas pan zoom to csv

* Remove old comment

* Change ref parameter to be more descriptive

* Rename visibleFun to be more descriptive

* Consolidate transformScale transformRef in util

* Remove non-null assertion on connection parentRect

* Consolidate parentRect null coalescing into object

* Remove minimap and change toggle

* Add controls inline help for pan and zoom

* Clean up mouse events

* Pull scale out of ref and isolate transform

* Remove transform ref from scene div

* Fix context menu visible behavior

* Fix connections and update util functions

* Move transform component instance to util

* fix backend test

* minor updates

* Clean up connections / fix minor bug where offset of arrow wasn't being calculated correctly

* missed connection code cleanup

* cleanup scene code a bit more

* actually fix backend test

* move eslint disable line closer to actual issue

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-02 11:52:21 -08:00
Fabrizio
7746250367
Parca: Add standalone building configuration (#79896)
* Parca: Decouple frontend

* Parca: decouple backend

* Parca: add standalone build process

* Regenerate cue files

* Fix import

* Trigger CI

* Fix test

* Trigger CI

* Trigger CI
2024-01-02 16:36:57 +01:00
Leon Sorokin
b3387793f1
Chore: uPlot v1.6.28 (#79732) 2023-12-29 13:43:15 -06:00
Andre Pereira
16dffaf501
Data trails: Sort related metrics and hide empty panels (#79397)
* Use levenshtein method to sort metric names

* Optionally hide empty panels in MetricSelectScene

* Transform ignore leven

* Refactor code to use $behaviours. Move preview cache to class variable instead of state

* Use lazy loading for metric scene

* Update scenes lib

* simplify behavior

* Remove hide empty toggle

* Bump scenes

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-12-20 13:14:57 +00:00
Dominik Prokop
73eab8fcd6
DashboardScene: Data source and query options edit for a panel (#79267)
* Scenes bump

* Refactor query group components so that they are reusable

* Basic queries rendering and datasource change

* Store last used ds in local storage

* maxDataPoints and minInterval queries options

* Progress on query options

* Query options tests

* Allow panel inspection / queries inspection from panel edit

* Add counters to data pane tabs

* Betterer update

* Handle data source changes

* Minor fixes

* Data source change tests

* Handle scenario of data source change when transformations are in place

* Review comment

* Fix test
2023-12-19 05:51:19 -08:00
Marco Schaefer
1260451af3
Faro: Upgrade to v1.3.5 (#79559) 2023-12-18 16:20:21 +01:00
Fabrizio
af8d8f29f3
Tempo: Support special characters in identifiers (#79565) 2023-12-15 11:57:53 +01:00
Tobias Skarhed
8d529bc4cb
Betterer: Add our own regexp matcher (#79448)
* Add betterer rule for gf-form

* Betterer: Write generic regexp matcher

* Add space

* Update lockfile

* Update comments

* Add comment with notice
2023-12-15 12:12:56 +02:00
Leon Sorokin
09cef892a5
OptionsPicker: Use fuzzy search and improve ranking of matches (#79286) 2023-12-12 16:41:50 -06:00
Dominik Prokop
bfde6f2c8a
Dashboard interactions reporting refactor, DashboardScene interactions handling (#79078)
* Refactor dashboard interactions tracking

* Local scenes tmp

* Use latest scenes

* Review refactor

* Fix enterprise tests

* Reporting parity for panel description
2023-12-06 07:24:15 -08:00
Alexa V
e8b2e85966
Dashboard: Scene Migration: Add variable definition prop to serialization (#79022)
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2023-12-06 11:33:54 +01:00
Torkel Ödegaard
ed128ea964
Frontend: Foundations for multi tenant frontend (#78815)
* Frontend: Foundations for multi tenant frontend

* improve manifest parsing for multi-tenant frontend (#78876)

* add test

* add test

* ??

* Updates

* Added cache

* test cleanup

* lint

* fix test

* fix error templates

* cleanup

* remove copy

* revert changes to list testdata

* comment cleanup

* prepare integration tests

* Remove integrety

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-12-05 08:34:22 +01:00
Torkel Ödegaard
d33a624ba6
DashboardScene: View panel scene (#78718)
* DashboardScene: View panel fixes

* Update

* Update

* Update

* works and added tests

* Update

* Update
2023-11-30 11:20:15 +01:00
Leon Sorokin
2ac60dc300
Chore: Remove core-js polyfills (#78715) 2023-11-29 11:12:23 -06:00
Matias Chomicki
773e0680c5
Loki: Added support for "or" statements in line filters (#78705)
* Lezer: upgrade to 0.2.2

* Operations: update definitions

* Operations: update renderer

* Parsing: parse line filters with or operations

* Parsing: add unit test

* Formatting

* getHighlighterExpressionsFromQuery: add support for or statements

* Operation editor: trim button title if param name is empty

* getHighlighterExpressionsFromQuery: properly handle ip filters
2023-11-29 15:58:32 +01:00
Dominik Prokop
98c7c149cd
Scenes: Bump to 1.24.6 (#78668)
Scenes: Bump to 1.24.5
2023-11-27 02:23:47 -08:00