Commit Graph

1668 Commits

Author SHA1 Message Date
renovate[bot]
c280f884f0
Update dependency @grafana/experimental to v1.6.1 (#68681)
* Update dependency @grafana/experimental to v1.6.1

* chore(mssql-datasource): update completion provider to work with experimental type changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2023-07-24 15:47:55 +02:00
Gareth Dawson
4e42f9b619
Loki: Add the ability to prettify logql queries (#64337)
* pushed to get help of a genius

* fix: error response is not json

* feat: make request on click

* refactor: remove print statement

* refactor: remove unnecessary code

* feat: convert grafana variables to value for API request

* use the parser to interpolate and recover the original query (#64591)

* Prettify query: use the parser to interpolate and recover the original query

* Fix typo

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Fix typo

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* fix: reverse transformation not working

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Gareth Dawson <gwdawson.work@gmail.com>

* fix: bugs created from merge

* refactor: move prettify code out of monaco editor

* fix: variables with the same value get converted back to the incorect variable

* refactor

* use consistent styling with bigquery

* fix: only allow text/plain and application/json

* fix: only make the request if the query is valid

* endpoint now returns application/json

* prettify from js

* WIP: not all cases are handles, code still needs cleaning up

* WIP

* large refactor, finished support for all pipeline expressions

* add tests for all format functions

* idk why these files changed

* add support for range aggregation expr & refactor

* add support for vector aggregation expressions

* add support for bin op expression

* add support for literal and vector expressions

* add tests and fix some bugs

* add support for distinct and decolorize

* feat: update variable replace and return

* fix: lezer throws an errow when using a range variable

* remove api implementation

* remove api implementation

* remove type assertions

* add feature flag

* update naming

* fix: bug incorrectly formatting unwrap with labelfilter

* support label replace expr

* remove duplicate code (after migration)

* add more tests

* validate query before formatting

* move tests to lezer repo

* add feature tracking

* populate feature tracking with some data

* upgrade lezer version to 0.1.7

* bump lezer to 0.1.8

* add tests

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-07-21 13:03:56 +01:00
Jack Westbrook
6ac664ecf7
Chore: Update Semver to latest versions (#72086)
chore(npm): bump all versions of semver to their latest respective version
2023-07-21 12:40:45 +02:00
renovate[bot]
d2ff73d455
Update dependency stylelint-config-sass-guidelines to v10 (#71632)
* Update dependency stylelint-config-sass-guidelines to v10

* fixes

* fix typo

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-19 16:05:06 +01:00
Dominik Prokop
11b235e348
Use latest scenes 0.22.0 (#71936) 2023-07-19 05:01:06 -07:00
renovate[bot]
eff871add9
Update dependency marked to v5 (#71627)
* Update dependency marked to v5

* add marked-mangle to preserve previous behaviour

* turn off headerIds

* also need to initialise mangle here

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-18 17:30:10 +03:00
Ashley Harrison
9852b24d61
Chore: Upgrade prettier to v3 (#71764)
* Update dependency prettier to v3 (#71586)

* Update dependency prettier to v3

* run prettier

* ignore prettier update in legacy select scss

* update command line arg

---------

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

* unplug prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 15:58:22 +01:00
Ashley Harrison
5ca382c88a
Revert "Update dependency prettier to v3 (#71586)" (#71755)
This reverts commit 2e8cd1c021.
2023-07-17 14:46:15 +01:00
renovate[bot]
2e8cd1c021
Update dependency prettier to v3 (#71586)
* Update dependency prettier to v3

* run prettier

* ignore prettier update in legacy select scss

* update command line arg

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-17 09:19:27 +01:00
Eric Leijonmarck
06e35f3f72
SAML: Add node-forge to yarn for cert validation (#70959)
added node-forge to yarn
2023-07-14 16:04:35 +01:00
Pierre Baumard
5654359813
I18n: Add server config to detect browser language (#69396)
* I18N: Add browser language detector

* Improve style

* No new property for type check

* Add dependency

* Suggested doc change

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Fix prettier

* 'detect' as special language, no cache and only navigator detector

As per PR suggestion comments

* Update language configuration doc

* Suggested change in doc

From @chri2547

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Fix import

* Revert public/app/types/explore.ts changes

* Prettier write

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-07-14 10:24:50 +00:00
renovate[bot]
e7e5ae2ee0
Update dependency trim to v1 (#71633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 10:19:07 +00:00
renovate[bot]
88b09213f7
Update dependency centrifuge to v4 (#71626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 10:18:01 +00:00
renovate[bot]
4b4be4006b
Update visx to v3.3.0 (#71625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 10:09:07 +00:00
renovate[bot]
1cacc78eda
Update dependency lru-cache to v10 (#71585)
* Update dependency lru-cache to v10

* use named import

* remove outdated type definitions and actually use named import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-14 10:26:58 +01:00
renovate[bot]
cd1b53ead1
Update react monorepo (#71552)
* Update react monorepo

* dedupe packages + fix type errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-14 12:11:26 +03:00
renovate[bot]
cbc44751b2
Update dependency immer to v10 (#71583)
* Update dependency immer to v10

* use named export now that the default has been removed

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-13 18:52:59 +03:00
renovate[bot]
4c31672536
Update dependency rudder-sdk-js to v2.37.0 (#71572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 16:27:52 +01:00
renovate[bot]
94d3fa7087
Update dependency selecto to v1.26.0 (#71581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 18:13:19 +03:00
renovate[bot]
3a21061dbb
Update dependency css-minimizer-webpack-plugin to v5 (#71578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 14:58:36 +00:00
renovate[bot]
17a93e7b2e
Update dependency @grafana/eslint-config to v6 (#71575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 14:53:25 +00:00
renovate[bot]
d4a8bb6958
Update emotion monorepo (#71573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 15:32:15 +01:00
renovate[bot]
4e57726e96
Update dependency jest-junit to v16 (#71555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 15:12:48 +01:00
renovate[bot]
95620cdd34
Update dependency glob to v10 (#71554)
* Update dependency glob to v10

* use named import

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-13 17:07:10 +03:00
renovate[bot]
58689f17cc
Update dependency eslint-plugin-jsdoc to v46 (#71553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 14:59:56 +01:00
renovate[bot]
04c66d7597
Update dependency webpack-bundle-analyzer to v4.9.0 (#71541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 13:46:12 +01:00
renovate[bot]
ceb702b96a
Update dependency d3 to v7.8.5 (#71549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 12:34:34 +00:00
renovate[bot]
4d283c1f92
Update dependency webpack-cli to v5.1.4 (#71542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 15:28:41 +03:00
renovate[bot]
5fcb7ba10a
Update dependency webpack to v5.88.1 (#71540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 12:12:19 +00:00
renovate[bot]
ec9366b300
Update dependency webpack-merge to v5.9.0 (#71544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 10:48:35 +00:00
renovate[bot]
cbb00bfa75
Update dependency webpack-dev-server to v4.15.1 (#71543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 13:44:38 +03:00
renovate[bot]
c5ee22672b
Update dependency rimraf to v5 (#71545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 13:37:16 +03:00
renovate[bot]
731a21be2e
Update dependency ol to v7.4.0 (#71416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 10:55:42 +01:00
renovate[bot]
a97a67fd40
Update dependency tslib to v2.6.0 (#71462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 14:32:14 +00:00
renovate[bot]
2fa49b73ec
Update dependency sass-loader to v13.3.2 (#71459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 14:26:07 +00:00
renovate[bot]
457d2fc2f8
Update dependency semver to v7.5.4 (#71460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 14:00:31 +00:00
renovate[bot]
26c6b753c3
Update dependency sass to v1.63.6 (#71458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:49:58 +00:00
renovate[bot]
0f8b9592ba
Update dependency sinon to v15.2.0 (#71431)
* Update dependency sinon to v15.2.0

* add sinon to esmodules list

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-12 16:20:46 +03:00
renovate[bot]
dcaab9bf4d
Update dependency ts-jest to v29.1.1 (#71433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 13:37:26 +03:00
Ashley Harrison
cc0c85a62e
Revert "Update dependency @swc/helpers to v0.5.1 (#71331)" (#71432)
This reverts commit d0bbb69e14.
2023-07-12 13:32:54 +03:00
renovate[bot]
c63638189c
Update dependency rc-drawer to v6.3.0 (#71422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 10:24:05 +00:00
renovate[bot]
f4f2d40e0d
Update dependency rc-slider to v10.2.1 (#71423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 11:05:29 +01:00
renovate[bot]
b28c67e2ad
Update dependency rc-cascader to v3.12.1 (#71421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 11:03:01 +01:00
renovate[bot]
f6b7559e0d
Update dependency postcss-loader to v7.3.3 (#71420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:53:32 +00:00
renovate[bot]
c06d0e4b40
Update dependency papaparse to v5.4.1 (#71419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:45:26 +00:00
renovate[bot]
c2a0487572
Update dependency msw to v1.2.2 (#71414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 08:49:00 +00:00
renovate[bot]
820e289073
Update dependency lint-staged to v13.2.3 (#71412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 08:25:54 +00:00
renovate[bot]
b5dec8290b
Update dependency jquery to v3.7.0 (#71409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:11:08 +01:00
renovate[bot]
0dd245cbb8
Update dependency jest-fail-on-console to v3.1.1 (#71395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 07:51:20 +00:00
renovate[bot]
e38b6cf7d8
Update dependency @grafana/scenes to v0.20.0 (#71385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 17:35:12 +00:00