Commit Graph

903 Commits

Author SHA1 Message Date
renovate[bot]
7bd2e21464
Update dependency core-js to v3.20.0 (#43094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 11:13:49 +00:00
Josh Hunt
4f6d08f14b
I18N: Add Lingui core translation framework. (#41827)
* I18N: Add Core Lingui framework for translating the UI

* Make FieldSet accept ReactNode for the label, so it can be translated

* Translate a phrase in the User profile edit form

* Translate phrase

* run lingui compile before webpack builds

* init i18n more lazily

* i1n:compile in drone lint step

* wip for getting tests to work

* Use mock lingui/macros because its too hard to use the real macros in Jest...

* mock messages for tests

* use specific lingui version

* add comment for test helper

* we actually don't need the i18n setup in tests because we mock out <Trans />

* update package.json

* remove unneded imports

* revert back babel core version

* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00
Gábor Farkas
f9b6baa783
monaco-editor: updated from 0.31.0 to 0.31.1 (#43146) 2021-12-15 14:09:44 +01:00
Alexander Emelin
f4cc353225
Live: proxy subscribe data for subscribe and runstream plugin calls (#42824)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-14 20:12:00 +03:00
renovate[bot]
1d79fc9360
Update dependency classnames to v2.3.1 (#43090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 13:15:23 +01:00
renovate[bot]
e82a522422
Update dependency autoprefixer to v10.4.0 (#43056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 13:12:04 +01:00
renovate[bot]
55b6052ebe
Update dependency axios to v0.24.0 (#43057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:52:17 +00:00
renovate[bot]
fbb78604e7
Update dependency @visx/tooltip to v2.2.2 (#43047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 11:51:11 +00:00
renovate[bot]
1562ba85c4
Update dependency @visx/shape to v2.4.0 (#42991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 16:12:12 +00:00
renovate[bot]
a10708713c
Update dependency @reduxjs/toolkit to v1.7.0 (#43036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:41:27 +00:00
renovate[bot]
e5a990a14f
Update dependency @popperjs/core to v2.11.0 (#42396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:40:13 +00:00
renovate[bot]
0432ef2943
Update dependency @visx/scale to v2.2.2 (#42990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 14:03:52 +00:00
renovate[bot]
f9a8e41710
Update dependency @rushstack/node-core-library to v3.44.2 (#42756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-13 13:58:07 +00:00
Dominik Prokop
12619065a4
Dependencies: Bump monaco to 0.31.0 (#43022) 2021-12-13 13:21:50 +01:00
renovate[bot]
3811d7d276
Update dependency @swc/helpers to v0.3.2 (#42811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 15:33:50 +00:00
renovate[bot]
adc31f8f43
Update dependency @types/testing-library__jest-dom to v5.14.2 (#42814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 15:05:13 +00:00
renovate[bot]
494b711bfe
Update dependency @react-aria/utils to v3.10.0 (#42790)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 15:04:45 +00:00
renovate[bot]
d39ff81de9
Update dependency @react-aria/interactions to v3.7.0 (#42775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 15:04:09 +00:00
Zoltán Bedi
328b922a58
Chore: Upgrade yarn and editor sdks (#42847) 2021-12-08 14:40:24 +01:00
renovate[bot]
39ac11d300
Update dependency @kusto/monaco-kusto to v4.1.2 (#42821)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 11:33:37 +01:00
renovate[bot]
c2e2c658ce
Update dependency @opentelemetry/exporter-collector to v0.25.0 (#42395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 09:58:43 +01:00
renovate[bot]
0bd30c8256
Update dependency @testing-library/jest-dom to v5.16.1 (#42795)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 09:56:39 +01:00
renovate[bot]
62465a9048
Update dependency @react-types/shared to v3.10.0 (#42792)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 09:50:40 +01:00
Ashley Harrison
a345b06095
Chore(dependencies): Tidy up deps in our packages (#42085)
* Chore(dependencies): Tidy up deps in root package

* Tidy up dependencies in @grafana/data

* Tidy up dependencies in @grafana/e2e

* Tidy up @grafana/e2e-selectors packages

* Tidy up packages in @grafana/runtime

* tidy up packages in @grafana/ui

* tidy up packages in jaeger-ui-components

* Readd regenerator-runtime in @grafana/data
2021-12-06 17:32:55 +00:00
renovate[bot]
d8d009ecce
Update dependency @kusto/monaco-kusto to v4.1.2 (#42387)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-06 17:09:28 +01:00
renovate[bot]
d5f63ff7bd
Update dependency @types/d3 to v7.1.0 (#42473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-06 16:35:48 +01:00
Erin Noe-Payne
4d5e39abff
Analytics: Add user id tracking to google analytics (#42763) 2021-12-06 16:34:19 +01:00
renovate[bot]
8318fab960
Update dependency @types/papaparse to v5.3.1 (#42538)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-06 15:04:15 +00:00
renovate[bot]
0a4cc54a3b
Update dependency @types/slate-plain-serializer to v0.7.1 (#42539)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-06 11:58:43 +01:00
Jack Westbrook
776d796bcb
Grafana UI: Bump storybook to 6.4.4 (#42634)
* chore(storybook): bump dependencies to 6.4.4

* chore(yarn): update packageExtensions to match latest storybook

* fix(storybook): get webpack builds to pass

* fix(storybook): theme switching works in docs

* fix(storybook): use text logo so accessibility link doesnt break layout
2021-12-06 11:15:53 +01:00
Zoltán Bedi
fdc7eef0f4
Add grafana/experimental package (#42289)
* Add grafana/experimental package

* CloudWatch: Use experimental for components

* Use canary version of experimental

* Update sort order
2021-12-06 09:37:54 +01:00
Maria Alexandra
e468fcf518
Navigation: Implement Keyboard Navigation (#41618)
* Navigation: Start creating new NavBarMenu component

* Navigation: Apply new NavBarMenu to NavBarNext

* Navigation: Remove everything to do with .sidemenu-open--xs

* Navigation: Ensure search is passed to NavBarMenu

* Navigation: Standardise NavBarMenuItem

* This extra check isn't needed anymore

* Navigation: Refactor <li> out of NavBarMenu

* Navigation: Combine NavBarMenuItem with DropdownChild

* use spread syntax since performance shouldn't be a concern for such small arrays

* Improve active item logic

* Ensure unique keys

* Remove this duplicate code

* Add unit tests for getActiveItem

* Add tests for NavBarMenu

* Rename mobileMenuOpen -> menuOpen in NavBarNext (since it can be used for mobile menu or megamenu)

* just use index to key the items

* Use exact versions of @react-aria packages

* Navigation: Make the dropdown header a NavBarMenuItem

* Navigation: Stop using dropdown-menu for styles

* Navigation: Add react-aria relevant packages

* Navigation: Refactor NavBarDropdown to support react aria

* Navigation: apply keyboard navigation to NavBar component

* Navigation: UseHover hook for triggering submenu on navbar

* Navigation: rename testMenu component to NavBarItemButton

* WIP

* some hacks

* Refactor: clean up keybinding events

* Navigation:  render subtitle on item menu and disable it

* Navigation: Adds react-aria types (#42113)

* Refactor: refactor out to NavBarItemWithoutMenu

* Refactor: cleaning up stuff

* Refactor: comment out unused code

* Chore: Removes section and uses items only

* Chore: fix NavBarNext

* Chore: adds tests

* Refactor: minimize props api

* Refactor: various refactors

* Refactor: rename enableAllItems

* Refactor: remove unused code

* Refactor: fix clicking on menuitems

* Refactor: use recommended onAction instead

* Navigation: Fix a11y issues on NavBar

* Navigation: Fix a11y navBar Next

* Navigation: Remove unnecessary label prop, use link.text instead

* Apply suggestions from code review

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Apply unit tests suggestions from code review

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

* Update react-aria/menu package to latest version and apply PR suggestion

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-12-06 06:58:17 +01:00
Ashley Harrison
cc9151d382
Dependencies: Jest 27 (#42681)
* Update jest monorepo

* Update version of marked so it doesn't throw an error, set testEnvironment

* Fix some unit tests

* Remove all these tests that aren't actually working...

* use spyOn instead of mocking the whole module

* Fix linting

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 17:09:25 +00:00
renovate[bot]
4f2ae190a2
Update dependency @rushstack/node-core-library to v3.43.2 (#42429)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 16:30:52 +00:00
renovate[bot]
e89c9b9194
Update dependency @types/angular to v1.8.3 (#42471)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 16:26:18 +00:00
renovate[bot]
34f6873d2d
Update dependency @testing-library/user-event to v13.5.0 (#42465)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:45:21 +01:00
renovate[bot]
868428528f
Update dependency @testing-library/jest-dom to v5.15.1 (#42463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 18:12:47 +01:00
renovate[bot]
98dcac7596
Update dependency @testing-library/dom to v8.11.1 (#42461)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 16:22:20 +00:00
renovate[bot]
2550e69cf8
Update dependency @sentry/utils to v6.15.0 (#42433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 15:44:13 +00:00
renovate[bot]
6e8cc426d6
Update babel monorepo (#42381)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:54:29 +01:00
renovate[bot]
0ab4afa2b7
Update sentry-javascript monorepo to v6 (#41991)
* Update sentry-javascript monorepo to v6

* Pass fetch implementation to FetchTransport and stub in unit tests

* kick drone

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-23 15:59:32 +00:00
renovate[bot]
035e676cad
Update dependency react-select to v5 (#41604)
* Update dependency react-select to v5

* Remove @types/react-select and update types accordingly

* Fix all unit tests

* Add @ts-expect-error to individual errors, remove prefix as it doesn't seem to exist?

* Another minor typescript fix

* Apply fixes from torkel's PR

* Fix last typescript error

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-23 12:11:26 +00:00
Jack Westbrook
8b3725b9f2
Chore: Bump versions to 8.4.0-pre (#42116) 2021-11-23 11:23:02 +01:00
Petros Kolyvas
3340d7ad44
Docs: Whats new 8.3 - Preliminary (#41930)
* Initial placeholder docs for candlestick panel

* Initial What's new for 8.3

* Delete candlestick.md

Removing this file as it's part of another branch/pr

* Oops forgot to hit save in VSCODE. Rookie mistake
2021-11-22 14:46:57 +01:00
renovate[bot]
2f0f45e7aa
Update typescript-eslint monorepo to v5 (#42046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 13:57:19 +01:00
renovate[bot]
cf995ea420
Remove tether dependency since it's not used anymore (#41632)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-19 17:47:06 +00:00
renovate[bot]
4f884a31de
Update dependency cypress to v9 (#41588)
* Update dependency cypress to v9

* Update e2e test to work with Cypress 9

* kick drone

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-11-19 17:19:53 +00:00
renovate[bot]
c659d6fa4c
Update dependency immutable to v4 (#41238)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 12:02:59 +00:00
Josh Hunt
3b497f3e8d
Chore: Move babel config to a root babel.config.json (#41615)
* Chore: Move babel config to a root babel.config.json

* Re-add babel cache settings to webpack

* Re-add production browserlist in babel config

* re-add babel hot refresh config

* fix storybook
2021-11-18 16:38:58 +00:00
renovate[bot]
b233a7d8d2
Update dependency lint-staged to v12 (#41676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 15:03:27 +00:00