Commit Graph

2649 Commits

Author SHA1 Message Date
renovate[bot]
8d3faabc90
Update dependency @lezer/lr to v1.4.2 (#87522)
* Update dependency @lezer/lr to v1.4.2

* Fix: Update dependency @lezer/lr to v1.4.2 (#94818)

* Update dependency @lezer/lr to v1.4.2

* Tempo: Update error detection shift in error lookup

Since lezer 1.3.8 the position seems to be shifted + 1

* Add back looking for errors behind the cursor

* Post-merge fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix the resolvers for loki situation

* grammar

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-11-08 23:09:52 +01:00
Jack Westbrook
8c41137bcf
Frontend: Update to Eslint 9 (#94823)
* chore(eslint): bump all eslint related packages to latest

* chore(eslint): update linting scripts work with v9

* chore(eslint): introduce flat config

* chore(eslint): delete legacy configs

* feat(grafana-eslint-rules): update rules to use eslint 9 APIs

* chore(eslint): migrate all nested eslintrc files over to root config

* chore(packages): bump eslint dependencies

* feat(betterer): make it work with eslint 9

* style(grafana-data): remove non-existant ban-types rule from disable declarations

* chore(wip): [wip] link eslint-config-grafana

* chore(packages): add @eslint/compat

* chore(eslint): add compat to testing library and fix alerting rules

* chore(eslint): bump grafana eslint-config to v8

* chore(explore): delete legacy eslint config

* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins

* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests

* Add .js to prettier checks so new eslint.config.js file isn't missed

* chore(eslint): move emotion/syntax-preference to grafana/defaults

* test(eslint): use core-js structured-clone

* revert(services): undo merge backend-format githook changes

* test(eslint-rules): remove structured-clone polyfill from tests

* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically

* chore(e2e-plugins): remove eslint config 7 from plugins package.json

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-11-07 16:31:06 +01:00
renovate[bot]
70c21a2e4d
Update scenes to v5.23.1 (#95951)
* Update scenes to v5.23.1

* Fix e2e tests

* Fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-11-06 19:20:27 +02:00
Sergej-Vlasov
d225e0a95c
DiffViewer: update to newer react-diff-viewer-continued for performance improvements (#95729)
update to newer react-diff-viewer-continued for performance improvements
2024-11-06 13:36:12 +00:00
ismail simsek
bcdcb1f74b
Explore Metrics: Introduce augurs sorting options in breakdown view (#91189)
* refactor breakdown scene

* refactor BreakdownScene along with LayoutSwitcher

* rename

* don't pass default layout

* better type handling

* betterer

* add @bsull/augurs

* implement LabelBreakdownScene

* integrate SortByScene in LabelBreakdownScene

* move to new directory

* introduce BreakdownSearchScene

* integrate searchScene

* cleaning

* initialize @bsull/augurs

* add interaction

* use new breakdown scene

* resolve merge conflicts

* ugrade @bsull/augurs

* update import

* update css

* update tooltip text

* refine sorting

* fix unit test

* fix

* implement outlier detector

* support wasm

* jest testing fix

* localization fix

* use unknown instead of any

* update i18n

* update betterer

* fix locales

* update test

* fix tests maybe

* prettier

* chore: update jest config

* chore: create mock for @bsull/augurs (#92156)

chore: create mock for bsull/augurs

@bsull/augurs assumes it will be running as an ESM, not
a CommonJS module, so can't be loaded by Jest (specifically
because it contains a reference to import.meta.url).

This PR provides a mock implementation which gets tests passing
again.

Ideally we'd be able to load the actual @bsull/augurs module
in tests so this is just a stopgap really, until a better
solution appears.

* fix unit tests

* remove unused BreakdownScene.tsx

* set outliers as undefined if an error occurs

* Add labels

* betterer

* reset event implemented

* fix controls positioning

* update augurs

* betterer

* i18n

* conflict fixes

* update texts

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Ben Sully <ben.sully@grafana.com>
2024-11-05 08:34:09 +01:00
renovate[bot]
b4012b6ac8
Update scenes to v5.22.1 (#95655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 15:41:01 +00:00
renovate[bot]
3034bcaa72
Update dependency ansicolor to v2 (#95543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 12:31:45 +01:00
Erik Sundell
1d8f8178ee
E2E Selectors: Force plugin-e2e to use workspace version of e2e-selectors (#95511)
* provoke an error

* resolve local selectors package

* Update package.json

* bump plugin-e2e

* Revert "provoke an error"

This reverts commit a2df215189.

* update readme
2024-10-29 10:54:56 +01:00
renovate[bot]
5717cb5055 Update dependency rudder-sdk-js to v2.48.23 2024-10-28 18:42:14 +00:00
renovate[bot]
d68b5d222a Update dependency react-select to v5.8.2 2024-10-28 16:38:06 +00:00
renovate[bot]
865be67dd1 Update dependency eslint-plugin-jsx-a11y to v6.10.2 2024-10-28 15:20:29 +00:00
renovate[bot]
209dbcf894 Update dependency @playwright/test to v1.48.2 2024-10-28 14:23:31 +00:00
Jack Westbrook
e894b19c1a
Build: Fix failing CSS asset paths (#95380)
* build(webpack): set publicpath and process urls to resolve assets correctly

* build(webpack): add back --progress to build

* Add local cdn

(cherry picked from commit 7a19523fa4)

* chore(devenv): fix local_cdn path in ngnix conf

* chore(codeowners): add frontend-ops as owners of local_cdn docker block

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-10-25 13:45:44 +02:00
renovate[bot]
23aca476c9 Update scenes to v5.20.4 2024-10-23 15:27:35 +00:00
renovate[bot]
7359e0bcba Update dependency html-webpack-plugin to v5.6.3 2024-10-23 14:43:01 +00:00
renovate[bot]
3f47621065 Update dependency eslint-plugin-react to v7.37.2 2024-10-23 14:21:14 +00:00
renovate[bot]
f6354339ef Update dependency @types/prismjs to v1.26.5 2024-10-23 13:45:32 +00:00
renovate[bot]
3b37e20df6
Update dependency @grafana/azure-sdk to v0.0.4 (#95252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 16:22:02 +03:00
renovate[bot]
b512e7be0a Update dependency @types/node to v20.16.15 2024-10-23 12:59:48 +00:00
renovate[bot]
3103776892 Update dependency @types/jquery to v3.5.32 2024-10-23 10:08:04 +00:00
renovate[bot]
5f8af8860f Update dependency @types/jest to v29.5.14 2024-10-23 09:40:48 +00:00
renovate[bot]
32d224223e Update babel monorepo to v7.25.9 2024-10-23 09:10:18 +00:00
renovate[bot]
b1d846d7e8 Update scenes to v5.20.3 2024-10-22 12:03:41 +00:00
renovate[bot]
3f5483b79f Update dependency rudder-sdk-js to v2.48.22 2024-10-22 11:40:10 +00:00
renovate[bot]
4308edb593 Update dependency msw to v2.4.13 2024-10-22 11:19:04 +00:00
renovate[bot]
059c5a4d02 Update dependency @types/node to v20.16.14 2024-10-22 09:00:43 +00:00
renovate[bot]
200c613672
Update dependency @formatjs/intl-durationformat to ^0.5.0 (#95093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 09:36:19 +01:00
renovate[bot]
5c06bbf8cf Update dependency rudder-sdk-js to v2.48.21 2024-10-21 19:22:44 +00:00
renovate[bot]
8d598ba5f8 Update dependency redux-mock-store to v1.5.5 2024-10-21 18:51:44 +00:00
renovate[bot]
ce917e97f7 Update dependency ol-ext to v4.0.24 2024-10-21 17:06:41 +00:00
renovate[bot]
53142aed07 Update dependency msw to v2.4.12 2024-10-21 16:25:18 +00:00
renovate[bot]
9d1f8fbdb0 Update dependency html-webpack-plugin to v5.6.2 2024-10-21 16:01:05 +00:00
renovate[bot]
40f0a72db0 Update dependency eslint-plugin-jsx-a11y to v6.10.1 2024-10-21 15:27:56 +00:00
renovate[bot]
b43425b527 Update dependency @types/node to v20.16.13 2024-10-21 13:59:11 +00:00
renovate[bot]
2974ab634f Update dependency @types/lodash to v4.17.12 2024-10-21 16:15:42 +03:00
renovate[bot]
669669f093 Update dependency @playwright/test to v1.48.1 2024-10-21 11:09:25 +00:00
renovate[bot]
2ce5f78cdd Update Yarn to v4.5.1 2024-10-21 13:04:13 +03:00
Josh Hunt
dd7f24dfbd
Chore: bump whats new to 11.4 (#94983) 2024-10-21 10:55:47 +01:00
renovate[bot]
532cee2ee3 Update dependency @lezer/common to v1.2.3 2024-10-21 09:32:05 +00:00
renovate[bot]
b64a5848aa
Update dependency @floating-ui/react to v0.26.25 (#94957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 13:24:04 +01:00
renovate[bot]
75fe42876a Update React Aria 2024-10-18 11:38:05 +00:00
renovate[bot]
afeb0fc792
Update dependency @types/testing-library__jest-dom to v6 (#94607)
* Update dependency @types/testing-library__jest-dom to v6

* remove package and fix types

* don't include setupTests in the build tsconfig

* exclude testUtils

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-18 11:59:47 +01:00
Jack Westbrook
573b40ab98
Chore: Resolve duplicate e2e-selectors packages to workspace (#94853)
chore(scenes): resolve e2e-selectors package to workspace
2024-10-17 12:22:51 +02:00
renovate[bot]
ce3da025cc Update scenes to v5.20.2 2024-10-17 09:44:06 +00:00
Jack Westbrook
3c23ab5428
Chore: Resolve scenes e2e-selectors to workspace (#94484)
chore: resolve scenes e2e-selectors to workspace
2024-10-17 10:27:56 +02:00
Ashley Harrison
3e9dd1239a update @grafana/scenes as well + group together in future 2024-10-16 09:42:32 +01:00
renovate[bot]
cd35cf7982 Update dependency @grafana/scenes-react to v5.20.1 2024-10-16 09:42:32 +01:00
Jack Westbrook
9e50866356
Build: Nx improvements (#88341)
* feat(frontend): introduce project.json for every workspace to improve caching

* refactor(frontend): use nx tags for grafana dependson

* refactor(frontend): clean up nx tags for packages and plugins

* build(nx): make grafana dependent on cacheable generate icons command

* build(nx): clean up project files
2024-10-15 14:25:45 +02:00
renovate[bot]
77effa6d90
Update testing-library monorepo (#94632)
* Update testing-library monorepo

* add @testing-library/dom

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-14 12:22:34 +03:00
renovate[bot]
7ef38bd6c1 Update dependency sass to v1.79.5 2024-10-11 10:32:48 +00:00