Commit Graph

1744 Commits

Author SHA1 Message Date
Andres Martinez Gotor
157ea31b03
Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
renovate[bot]
6d5e728d99
Update dependency rc-drawer to v6.5.2 (#76621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 16:13:27 +01:00
renovate[bot]
db4b7a38b2
Update dependency rc-cascader to v3.18.1 (#76616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 12:52:09 +01:00
renovate[bot]
aad68ac3ba
Update dependency msw to v1.3.2 (#76615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 14:14:38 +03:00
renovate[bot]
ede77b0f8e
Update dependency eslint-plugin-react to v7.33.2 (#76610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 11:18:19 +01:00
renovate[bot]
549df18adc
Update dependency eslint-plugin-jsdoc to v46.8.2 (#76606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:49:47 +01:00
renovate[bot]
70d41d5a80
Update dependency eslint-plugin-jest to v27.4.2 (#76602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:34:11 +01:00
renovate[bot]
e380daf6b9
Update dependency eslint to v8.51.0 (#76522)
* Update dependency eslint to v8.51.0

* update sdk version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-16 10:23:00 +01:00
Nathan Marrs
0238db42af
DashGPT: Improve save dashboard description generation (#75699)
Co-authored-by: Aaron Sanders <aaron.sanders@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-10-14 03:02:45 +03:00
Jack Westbrook
d282b7a6f8
Grafana UI: Make it possible to bundle package with plugins (#76191)
* moved themecontext to data

* chore(grafana-ui): re-export ThemeContext from grafana/data for backwards compatibility

* Moved icon bundling to core.

* feat(plugins): share react-inlinesvg with plugins for grafana/ui bundling

* chore(codeowners): add generate-icon-bundle.js to file

* chore(storybook): update path to iconBundle file for theme

* feat(plugins): share i18n dependency via systemjs

* Make sure that icon bundle is initialized for tests.

* Removed comment.

* added tests for icon root.

* Removing the need of having an init variable.

* feat(grafana-ui): add icon svgs to bundle for projects that don't rely on grafana

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-13 14:11:41 +02:00
Torkel Ödegaard
de8ab7efe7
DashboardScene: Support for dashboard PanelContext actions via state hook (#76192)
* DashboardScene: Support for dashboard PanelContext actions via state hook

* Update

* Progress

* Update

* Update

* update
2023-10-13 11:42:42 +02:00
renovate[bot]
d72ec22ec2
Update babel monorepo to v7.23.2 (#76500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 09:24:26 +02:00
ismail simsek
5e918f031c
Chore: Update @testing-library/dom to v9.3.3 (#76364)
* Update @testing-library/dom to v9.3.3

* Update @testing-library/dom to v9.3.3 in packages

* Update yarn.lock

* Revert "Update yarn.lock"

This reverts commit 0cc2084273.

* point all @testing-library/dom packages to v9.3.3
2023-10-12 11:14:30 +02:00
Fabrizio
9bb3d64b1e
Minor fixes for TraceQL query editor (#76344) 2023-10-12 10:19:01 +02:00
renovate[bot]
755805597b
Update dependency core-js to v3.33.0 (#76341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:40:04 +01:00
renovate[bot]
0ec15de905
Update dependency @types/node to v18.18.4 (#76336)
* Update dependency @types/node to v18.18.4

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-11 11:08:41 +00:00
renovate[bot]
ae84ec38d5
Update dependency chrome-remote-interface to v0.33.0 (#76337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:03:14 +03:00
renovate[bot]
58ba11ecbd
Update dependency @testing-library/user-event to v14.5.1 (#76329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 11:18:30 +01:00
Josh Hunt
8d9ef716fe
I18N: Collect stats on number of untranslated strings in message catalogues (#76272)
* I18N: Collect stats on number of untranslated strings in message catalogues

* eachLeaf -> eachMessage

* use __dirname
2023-10-11 12:26:39 +03:00
renovate[bot]
9d2e8f650b
Update dependency @rushstack/ts-command-line to v4.16.1 (#76282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:17:05 +01:00
renovate[bot]
bb7ca78eb0
Update dependency @rushstack/rig-package to v0.5.1 (#76267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 16:34:23 +01:00
renovate[bot]
de2d8f50e8
Update dependency @react-types/shared to v3.21.0 (#76251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 14:49:22 +01:00
Torkel Ödegaard
42218fbdbb
DashboardScene: Support auto migration for angular panels (#76100)
* DashboardScene: Support auto migration for angular panels

* minor tweak

* Update scenes

* Review fix

* Update
2023-10-10 14:33:58 +02:00
renovate[bot]
b52b0d6eec
Update dependency @react-types/button to v3.9.0 (#76244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 11:44:56 +01:00
ismail simsek
3d67de3a5d
Chore: Upgrade testing-library-selector to v0.3.1 (#76238)
Upgrade testing-library-selector
2023-10-10 12:37:36 +03:00
ismail simsek
2d603bed22
InfluxDB SQL: Add time filter automatically (#75953)
* Use double quotes instead of backticks

* render time field as datetime

* add @react-awesome-query-builder/core

* Add time range filtering

* Update test

* Update macro test
2023-10-04 17:00:24 +02:00
renovate[bot]
711a2795f6
Update dependency postcss to v8.4.31 [SECURITY] (#75908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 14:25:00 +02:00
Torkel Ödegaard
5bba89fc86
Scenes: Backward compatability with new template variable system for functions that don't pass scopedVars (#75937)
* Use __grafanaScene in templateSrv

* Update

* fix
2023-10-04 13:21:01 +02:00
Simen Bekkhus
3749c17556
chore: replace Sinon usage with Jest (#75940) 2023-10-04 11:12:30 +01:00
Jack Westbrook
cc590599de
Chore: Bump storybook 7.4.5 (#75652)
* Wip

* chore(grafana-ui): bump storybook to 7.4.5 and patch blocks
2023-10-03 16:35:29 +02:00
Torkel Ödegaard
9201c47e59
DashboardScene: Map timezone and fiscal year to scene model and back (#75715)
* DashboardScene: Map timezone and fiscal year to scene model and back

* weekstart

* update scenes
2023-10-03 11:03:53 +02:00
Esteban Beltran
9747cdd7d1
Sandbox: Update to latest near membrane version ^0.13.0 (#75605)
* Sandbox: Update to latest near membrane version ^0.13.0

* Use exact version

* Replace throw with reject

* Add nera membrane to renovate skip list
2023-10-03 10:22:17 +02:00
Josh Hunt
8006dacf15
I18n: Run psuedo when extracting phrases (#75811) 2023-10-02 11:58:43 +00:00
ismail simsek
dcaad5b3fd
Chore: Update react-awesome-query-builder package (#75766)
* Upgrade react-awesome-query-builder to v6.4.1

* Update package

* Update package and fix types

* Remove unnecessary package
2023-10-02 13:29:39 +02:00
renovate[bot]
da23aef83d
Update babel monorepo (#75353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 14:27:35 +01:00
Leon Sorokin
aadd5bacfa
Chore: uPlot v1.6.26 (#75199) 2023-09-22 11:33:39 -05:00
renovate[bot]
f0b75360db
Update dependency @grafana/faro-web-sdk to v1.2.1 (#75291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 15:11:32 +01:00
renovate[bot]
7501dab95e
Update dependency @grafana/faro-core to v1.2.1 (#74957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 14:30:53 +01:00
Matias Chomicki
91ed2a6afe
Loki Query Editor: Add support for new logfmt features (#74619)
* Loki autocomplete: add IN_LOGFMT situation for log queries

* Loki autocomplete: add IN_LOGFMT situation for metric queries

* Loki autocomplete: improve handling of trailing pipes and spaces

* Loki autocomplete: add logfmt arguments completion

* Loki autocomplete: add flags support to IN_LOGFMT

* Loki autocomplete: extend IN_LOGFMT situation with labels and flag

* Loki autocomplete: return logQuery in IN_LOGFMT situation

* Loki autocomplete: offer label completions when IN_LOGFMT

* Query utils: update parser detection method

* Validation: update test

* Loki autocomplete: improve IN_LOGFMT detection when in metric query

* Loki autocomplete: improve logfmt suggestions

* Loki autocomplete: improve logfmt suggestions in different scenarios

* Loki autocomplete situation: refactor resolvers to support multiple paths

* Situation: add test case

* Loki autocomplete: allow user to use 2 flags

* Situation: change flag to flags

* Remove console log

* Validation: import test parser

* Completions: better handling of trailing comma scenario

* Upgrade lezer-logql

* Revert temporary imports

* Loki Query Builder: Add support for new logfmt features (#74858)

* Query builder: add params to logfmt definition

* Logfmt operation: add default params

* Query builder: update deprecated JsonExpression

* Operation utils: update logfmt renderer

* Query builder: parse LogfmtParser

* Query builder: parse LogfmtExpressionParser

* Remove console log

* Remove unused variable

* Remove extra character from render

* Update unit tests

* Fix unit tests

* Operations: remove restParams from logfmt booleans

* Parsing: group cases

* Formatting

* Formatting

* Update modifyQuery

* LogContextProvider: update with parser changes

* LogContextProvider: remove unnecessary type castings

It takes more energy to write `as unknow as LokiQuery` than to write a refId.

* Formatting

* Situation: use charAt instead of substring with endsWith

* Situation: explain logfmt suggestions

* Logfmt: improve flag suggestions

* Remove console log

* Completions: update test
2023-09-22 12:34:17 +03:00
Dominik Prokop
df1c80c7d8
DashboardScene: Prepare annotations support for public dashboards (#75146)
* WIP Dashboard to Scenes: Annotations

* Bump scenes

* Enable annotations and controls

* Betterer

* Update snapshots

* Test fix

* DashboardScene: Prepare annotations support for public dashboards

* Use latest scenes
2023-09-20 03:47:09 -07:00
Dominik Prokop
157859aede
DashboardScene: Integrate annotations (#74610)
* WIP Dashboard to Scenes: Annotations

* Bump scenes

* Enable annotations and controls

* Betterer

* Update snapshots

* Test fix
2023-09-20 02:50:35 -07:00
Virginia Cepeda
0d3c47da99
[Alerting] - Display scenes using SceneAppPage for caching (#74767)
* Display scenes using SceneAppPage for caching

Also, reorganizing them in different tabs per Torkel's suggestion

* Fix lint

* Alerting home app poc

* Fix imports

* fix routing

* remove width

* Apply feature flags back

* Add comment regarding enabling the rule group query variable

* Upgrade scenes lib

* Add query variables back

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-09-19 09:17:56 -03:00
Fabrizio
9113c6d959
Tempo: Improve autocompletion for TraceQL editor (#74790) 2023-09-19 09:23:35 +02:00
Ashley Harrison
3fdf96d241
Chore: consolidate e2e scripts in package.json (#74906)
consolidate e2e scripts in package.json + almost fix benchmarking tests
2023-09-14 15:00:29 +01:00
Ashley Harrison
fcdae0ca0b
Chore: move to cypress 13.1 (#74718)
* move to cypress 13.1

* update cloud-data-sources docker image
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-13 11:08:43 +01:00
Andrej Ocenas
e4f26a5e4b
Flamegraph: Move to package (#73113) 2023-09-12 12:28:48 +02:00
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior (#74505)
* Repeating rows start

* working

* Progress

* Progress

* Update

* up scenes lib

* Update

* Progress

* restore url sync

* Progress

* Fixes and tests

* Update

* Adds tests and code to remove repeats from save model

* Update

* Fix test
2023-09-11 12:02:04 +02:00
Ashley Harrison
0f2f25c5d9
Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e (#74084)
* update drone to use cypress 12 image

* upgrade cypress to 12 in core

* cypress config actually valid

* update @grafana/e2e imports and add lint rule

* ignore grafana-e2e from betterer now it's deprecated

* fix remaining type errors

* fix failing tests

* remove unnecessary tsconfig

* remove unnecessary comment

* update enterprise suite commands to work

* add cypress config to CODEOWNERS

* export setTimeRange in utils

* remove @grafana/e2e from core deps

* try running the command through yarn

* move CMD to scripts

* Update cloud-data-sources e2e image

* Update paths

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-09-08 16:51:59 +01:00
Fabrizio
96facbdfa2
Tempo: Improve autocompletion and syntax highlighting for TraceQL tab (#73707) 2023-09-07 12:36:23 +02:00
Sarah Zinger
433c76f7f6
Cloudwatch: Bump grafana-aws-sdk (#74422) 2023-09-06 08:34:40 -04:00