Commit Graph

51 Commits

Author SHA1 Message Date
Domas
15d4169813
Frontend logging: Remove Sentry javascript agent support (#67493)
* remove Sentry

* fix sourcemap resolve
2023-05-02 12:10:56 +03:00
Ashley Harrison
1261345b81
Chore: Upgrade to react 18 (#64428)
* update react 18 related deps

* fix some types

* make sure we're on react-router-dom >= 5.3.3

* Use new root API

* Remove StrictMode for now - react 18 double rendering causes issues

* fix + ignore some @grafana/ui types

* fix some more types

* use renderHook from @testing-library/react in almost all cases

* fix storybook types

* rewrite useDashboardSave to not use useEffect

* make props optional

* only render if props are provided

* add correct type for useCallback

* make resourcepicker tests more robust

* fix ModalManager rendering

* fix some more unit tests

* store the click coordinates in a ref as setState is NOT synchronous

* fix remaining e2e tests

* rewrite dashboardpage tests to avoid act warnings

* undo lint ignores

* fix ExpanderCell types

* set SymbolCell type correctly

* fix QueryAndExpressionsStep

* looks like the types were actually wrong instead :D

* undo this for now...

* remove spinner waits

* more robust tests

* rewrite errorboundary test to not explicitly count the number of renders

* make urlParam expect async

* increase timeout in waitFor

* revert ExplorePage test changes

* Update public/app/features/dashboard/containers/DashboardPage.test.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/app/features/dashboard/containers/PublicDashboardPage.test.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/app/features/dashboard/containers/PublicDashboardPage.test.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Update public/app/features/dashboard/containers/PublicDashboardPage.test.tsx

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* skip fakeTimer test, ignore table types for now + other review comments

* update package peerDeps

* small tweak to resourcepicker test

* update lockfile...

* increase timeout in sharepublicdashboard tests

* ensure ExplorePaneContainer passes correct queries to initializeExplore

* fix LokiContextUI test

* fix unit tests

* make importDashboard flow more consistent

* wait for dashboard name before continuing

* more test fixes

* readd dashboard name to variable e2e tests

* wait for switches to be enabled before clicking

* fix modal rendering

* don't use @testing-library/dom directly

* quick fix for rendering of panels in firefox

* make PromQueryField test more robust

* don't wait for chartData - in react 18 this can happen before the wait code even gets executed

---------

Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2023-04-11 10:51:54 +01:00
Ashley Harrison
986a1c2a1b
Chore: group uLibrary updates in renovate, revert uplot update for now (#64386)
* group uLibrary updates in renovate, revert uplot update for now

* fix json
2023-03-08 11:48:51 +00:00
renovate[bot]
8ac92aab19
Update dependency @testing-library/dom to v9 (#63908)
ignore testing-library/dom updates until react 18

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-03-01 05:38:13 -05:00
Ashley Harrison
14dd1be244
Chore: update copy-webpack-plugin and remove from renovate ignore list (#62459)
update copy-webpack-plugin and remove from renovate ignore list
2023-01-30 16:01:44 +00:00
Ashley Harrison
d9d103a2bf
Chore: remove node-fetch from dep + ignore list (#62455)
remove node-fetch from dep + ignore list
2023-01-30 11:47:32 +00:00
Andre Pereira
afd39c18ba
Explore: Refactor trace view and move to core (#61938)
* Move TraceView to core grafana

* Remove unused code

* yarn install

* Remove jaeger-ui-components from CODEOWNERS and other tools

* Type fixes

* yarn install

* Remove mock that we no longer need

* Fix merge conflicts

* Re-add Apache license for trace view components

* Use an exclamation-circle instead of triangle to denote errors

* Remove eslint disables and update betterer results instead
2023-01-27 14:13:17 +00:00
Ashley Harrison
8149efc729
Chore: group visx updates together (#60895)
group visx updates together
2023-01-04 14:32:57 +00:00
Domas
c2cea076ee
Chore: Add deprecation warnings for Sentry (#60165) 2022-12-13 16:41:42 +02:00
Ashley Harrison
a09d9d68a8
Chore: fix glob pattern in renovate config (#60146)
fix glob pattern
2022-12-12 14:19:14 +00:00
Ashley Harrison
c91c828c46
Renovate: use rebaseWhen: conflicted to try to speed up renovate runs (#60028) 2022-12-09 09:45:38 +00:00
Ashley Harrison
2b3c86d201
Chore: Remove unused/deprecated @types definitions (#59888)
* remove @types/rc-tree, @types/classnames

* remove @types/rc-time-picker

* remove @types/reselect

* remove @types/testing-library__react-hooks

* only include known package.json's
2022-12-07 10:10:59 +00:00
Ashley Harrison
334b498632
group d3 updates together (#58309) 2022-11-07 10:30:23 +00:00
Gábor Farkas
ce13ab7077
renovate: group @types/slate* with slate* (#58053) 2022-11-02 13:42:53 +00:00
Ashley Harrison
cff6d1cf8b
Chore: group some packages to reduce number of PRs (#57912)
* group some packages to reduce number of PRs

* Group slate + slate-react together

* kick drone
2022-11-01 11:52:17 +00:00
kay delaney
a70aba1384
Chore: Update slate and related packages (#54566)
* Chore: Update slate and related packages
2022-09-06 15:23:48 +01:00
Alex Ratner
fecf4c41ad
Dashboard: Spelling corrections in end-user visible dialogs (#53340) 2022-08-09 10:19:30 +02:00
Gábor Farkas
bf824221d2
renovate: add more default-labels (#51373) 2022-06-24 10:59:06 +00:00
Gábor Farkas
b6a590e535
do not update react-redux (#50700) 2022-06-14 08:39:21 +02:00
Ashley Harrison
f7d5c8cdbd
ignore deps blocked by react 18 for now (#50300) 2022-06-07 14:21:22 +01:00
renovate[bot]
e273c9a958
Ignore dependency updates to node-fetch as it's ESM only (#49235)
* Update dependency node-fetch to v3

* add node-fetch to the renovate ignore list as it's esm only at the moment

* revert back to 2.6.7

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-05-19 15:18:28 +01:00
kay delaney
de3e981985
Chore: Upgrade typescript to 4.6.4 (#49016) 2022-05-17 12:08:10 +01:00
Gábor Farkas
525ecab3ee
renovate: stop updating "@mdx-js/react" (#45909)
it is a peer-dependency of "@storybook/addon-docs" with version 1.x, the new version is 2.x. we should update them together.
2022-02-25 15:30:23 +01:00
Gábor Farkas
9a87755c3e
renovate: do not update the "commander" package (#45839) 2022-02-24 16:59:48 +01:00
Gábor Farkas
85af6d2718
renovate: do not update monaco-editor (#45762)
* renovate: do not update monaco-editor

* renovate: alphabetically sort the entries
2022-02-24 12:06:53 +01:00
Jack Westbrook
d0d5304662
Revert "Update dependency react-hook-form to v7.26.1" (#45761)
* Revert "Update dependency react-hook-form to v7.26.1 (#43670)"

This reverts commit 175891a5e3.

* chore(renovate): prevent bumping react-hook-form so plugins dont break
2022-02-23 12:22:45 +01:00
Ashley Harrison
12176e24ef
Chore: update eslint (#44982) 2022-02-07 13:46:02 +00:00
Gábor Farkas
aa22499b29
packages: disable auto-updating of slate-related package (#44640) 2022-01-31 11:15:06 +01:00
Jack Westbrook
ed7552db79
Renovate: Separate storybook from monthly patches (#44373) 2022-01-24 12:44:36 +01:00
renovate[bot]
274abf53ba
Add copy-webpack-plugin to ignore list for now (#41965)
* Update dependency copy-webpack-plugin to v10

* Ignore copy webpack plugin for now

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-01-13 14:58:26 +01:00
Ashley Harrison
f74b21c119
Dependencies: downgrade typescript to 4.4.4 for now (#43970)
* Downgrade typescript to 4.5.2 for now

* Downgrade to 4.4.4 instead :(

* kick drone

* Update .github/renovate.json5

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-01-13 10:08:38 +00:00
Ashley Harrison
f2336fd981
Need to add a group name to ensure they're batched correctly (#43796) 2022-01-07 12:32:09 +00:00
Ashley Harrison
1fe098ecd2
Enable patch updates in renovate (#43795) 2022-01-07 11:27:23 +00:00
Ashley Harrison
6aa05c5d05
Dependencies: Fix broken renovate config (#42379) 2021-11-26 17:36:23 +01:00
Ashley Harrison
84744aa04f
Dependencies: enable minor version updates + turn on batched monthly patch updates (i think) (#42376) 2021-11-26 15:59:01 +00:00
renovate[bot]
68ce617f07
Ignore react-icons bump for now (#41537)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-22 17:32:31 +00:00
renovate[bot]
ce4490cbba
can't bump execa until esm modules (#41967)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-19 15:56:59 +00:00
renovate[bot]
98f87c4c49
Ignore history/react-router-dom for now (#40932)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-19 12:29:57 +00:00
Gábor Farkas
cd01384d3a
renovate: ignore packages/grafana-toolkit (#41602) 2021-11-11 14:52:33 +01:00
renovate[bot]
0d4533ae74
Update dependency postcss-loader to v6 (#41460)
* Update dependency postcss-loader to v6

* Revert "Update dependency postcss-loader to v6"

This reverts commit c3d59a8241.

* Do not upgrade postcss-loader until webpack 5

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-11-10 13:57:45 +01:00
Gábor Farkas
486fbac23b
renovate: do not update "less" for now (#41463)
* renovate: block updating less & less-loader for now

* more specific rules
2021-11-10 13:29:20 +01:00
renovate[bot]
edd54f59be
Update dependency html-loader to v3 (#41147)
* Update dependency html-loader to v3

* Chore(dependencies): Ignore html-loader in grafana-toolkit until it moves to webpack 5

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-08 15:34:18 +00:00
renovate[bot]
9b2ac8adde
Chore(renovate): Ignore d3-interpolate until we move to esm modules (#41005)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-04 17:53:57 +00:00
renovate[bot]
9e29484c80
Chore(renovate): Ignore d3-scale-chromatic until we move to esm modules (#40819)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-04 16:35:47 +00:00
Gábor Farkas
0b61d83739
renovate: block updating eslint for now (#41199) 2021-11-02 15:06:07 +01:00
Jack Westbrook
1767e6aab6
Chore: bump Husky to v7 (#40797)
* chore: bump husky to v7 according to husky migration guide

* chore(renovate): remove husky from list of ignored deps
2021-11-02 11:53:27 +01:00
renovate[bot]
68c5f43468
Chore(dependencies): Ignore globby until we move to esm modules (#40914)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-01 13:14:37 +00:00
renovate[bot]
34e937d847
Chore: Ignore systemjs/d3-force type updates (#40518)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-25 15:27:33 +01:00
renovate[bot]
91c0b5a47f
Dependencies: Ignore d3-force for now (#40818)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-10-25 11:49:24 +01:00
Ashley Harrison
e9df40d7d0
Chore: Ignore copy-webpack-plugin updates in toolkit (#40812)
* Chore(dependencies): Ignore updates to copy-webpack-plugin in @grafana/toolkit for now

* Chore(dependencies): Ignore updates to css-loader in @grafana/toolkit for now

Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-10-22 15:03:47 +01:00