Commit Graph

2648 Commits

Author SHA1 Message Date
Tobias Skarhed
924a94cf80 New Select: Use virtual list (#89290)
* use react-virtual

* Render story with 100k items

* Dyanmic height and TanStack

* Remove weird item

* Add numberOfOptions to story

* Update class name

* Update class name
2024-06-20 16:51:17 +03:00
renovate[bot]
52a824f4ed Update dependency @grafana/scenes to v5.1.2 (#89454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 12:53:56 +03:00
Josh Hunt
db78604bd4 I18n: Add utility for locale-aware duration formatting (#89351)
* I18n: Add utility for locale-aware duration formatting

* fix message

* add fallback
2024-06-19 10:37:20 +01:00
Josh Hunt
6597bed9f7 Chore: Bump ws (#89371) 2024-06-18 19:26:02 +03:00
dependabot[bot]
791bcd93df Bump ws from 7.5.6 to 7.5.10 (#89362)
Bumps [ws](https://github.com/websockets/ws) from 7.5.6 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.6...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 17:05:43 +02:00
Agnès Toulet
44a40f8e0c E2E: Add SMTP tester (#88392)
* E2E: Add SMTP tester

* fix loadlocation issue when running tests on alpine

* temporary update

* add log

* update run-suite

* Update run-suite

* Update run-suite

* Update run-suite

* Update yarn.lock

* apply suggestions + cleanup logs

* update yarn.lock & package.json

* fix swagger
2024-06-18 14:32:19 +02:00
renovate[bot]
063082acbc Update dependency @grafana/scenes to v5.0.3 2024-06-14 12:06:17 +03:00
Torkel Ödegaard
e3da5ed35d Scenes: Upgrade to latest URL sync system (#88836)
* Urlsync updates

* Update

* Fixing tests

* Update to latest canary

* fix

* Update

* Update

* Update

* Fix data trails issue

* Data trails fixes

* Update

* correctly sync scene object graph with url state

* Update
2024-06-14 10:23:51 +02:00
grafana-delivery-bot[bot]
40e3601982 Release: Bump version to 11.2.0-pre (#89184)
* "Release: Updated versions in package to 11.2.0-pre"

* fix newline

---------

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
Tobias Skarhed
5e2f08de31 New Select: Initial scaffolding (#89114)
* Initial scaffolding

* Extend props from Input

* Rename to Combobox

* Use search icon

* Remove use of SelectableValue

* Remove unused import

* Memoize
2024-06-13 13:41:14 +02:00
Matias Chomicki
7e9e5f5346 Chore: bump @grafana/experimental (#89119)
* Chore: bump @grafana/experimental

* chore: upgrade all package.json
2024-06-13 08:46:59 +00:00
Gábor Farkas
a6a12d7f2e fixed yarn.lock (#88971) 2024-06-10 12:33:49 +03:00
Matias Chomicki
3237fc1cc2 Loki: Added support for negative numbers in LogQL (#88719)
Loki: Add support for negative numbers in LogQL
2024-06-10 10:30:34 +02:00
Bogdan Matei
56ce88dea3 Filters: Introduce enrichFiltersRequest (#88913) 2024-06-10 09:09:59 +02:00
Kyle Cunningham
8aa1bbe27c Table Panel: Enable text wrapping (#86895)
* Calculate row height

* Move things around

* Update getItemSize to use text bounding box

* Update types

* Cleanups and reminders

* Calculate line height

* Update line height calculation

* Remove debugging

* Add cell option editing

* Prettier

* Use field configured for text wrapping

* Add TODO

* Make sure column configuration is correct

* Update height heuristic and hover behavior

* Disable overflow on hover with text wrapping

* Update heuristic

* Clean things up

* Color background cell options

* Fix tests

* Prettier

* React deps

* Remove old hook dep

* Fix type errors

* Update label and description for editor

* Fix non-wrapped case

* Make sure color background works

* Prettier

* Address review comments

* fix prettier

* Add heuristic for field sizing

* Fix up logic

* Prettier

* Fix test

* Oh prettier 🙈

* Don't wrap text on non-string fields

* Add wrapping to color text cell

* Prettier

* Fix option not showing for auto cell type

* Move longest field guessing into function

* Clean things up

* Add tests

* Make sure text won't flake

* Prettier

* Remove spurious import

* Ignore any in this case

* Add alpha label

* Prettier

* Fix typecheck

* Fix crash when sampling when there are undefined records

* Update heuristic to take into account long strings

* Prettier

* Update scale factors

* Update field index selection

* Prettier

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-06-07 23:15:33 +07:00
Jack Westbrook
0e73c4d387 Storybook: Bump to 8.1.6 (#88899)
* chore(storybook): bump to latest 8.1.6

* chore(yarn): dedupe yarn.lock post storybook update

* chore(typescript): align react types across repo
2024-06-07 14:31:31 +02:00
Ashley Harrison
5f33943397 Select: Revert "preserving custom value" changes (#88856)
* revert Select changes as we can handle it outside of the base select component

* update scenes

* update scenes properly

* revert changes to azure-monitor e2e tests
2024-06-06 17:33:31 +01:00
renovate[bot]
504f64e248 Update opentelemetry-js monorepo (#88850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 15:31:16 +01:00
renovate[bot]
d88f2734ae Update dependency type-fest to v4.19.0 (#88844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 14:44:52 +01:00
renovate[bot]
bc7a8d6dfa Update dependency @grafana/scenes to v4.26.3 2024-06-06 12:48:28 +00:00
renovate[bot]
c6720f1c06 Update dependency nx to v19.2.0 (#88833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 14:10:36 +02:00
renovate[bot]
b0e73590ef Update dependency eslint-plugin-jsdoc to v48.2.8 2024-06-06 10:22:39 +00:00
renovate[bot]
a11ef646e4 Update dependency @grafana/scenes to v4.26.2 2024-06-06 10:03:21 +00:00
renovate[bot]
7e2305418a Update dependency stylelint to v16.6.1 (#88792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 12:42:33 +03:00
renovate[bot]
8dcbd74803 Update dependency rc-drawer to v7.2.0 (#88785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 16:03:06 +01:00
renovate[bot]
1ceb9e8e9d Update babel monorepo to v7.24.7 2024-06-05 14:14:01 +00:00
renovate[bot]
0188fc3e1f Update dependency rc-cascader to v3.26.0 (#88777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:52:25 +01:00
renovate[bot]
3a6034b58e Update dependency prettier to v3.3.1 (#88771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:18:22 +01:00
renovate[bot]
a58ac462c1 Update dependency knip to v5.17.4 (#88759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 15:18:39 +03:00
renovate[bot]
cd5f485df7 Update dependency tslib to v2.6.3 2024-06-05 10:08:51 +00:00
renovate[bot]
4443438fab Update dependency @types/node to v20.14.2 2024-06-05 09:48:36 +00:00
renovate[bot]
9bec35563a Update dependency @grafana/plugin-e2e to v1.3.2 2024-06-05 09:20:09 +00:00
renovate[bot]
b101b37e2c Update dependency @grafana/lezer-logql to v0.2.4 (#88745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:53:23 +01:00
renovate[bot]
45336105b2 Update dependency glob to v10.4.1 (#88717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:32:39 +01:00
renovate[bot]
404de83b06 Update dependency eslint-webpack-plugin to v4.2.0 (#88715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 18:44:58 +03:00
renovate[bot]
93b223f1e9 Update dependency esbuild-plugin-browserslist to ^0.12.0 (#88705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 16:27:12 +01:00
renovate[bot]
aaf95f7a08 Update dependency centrifuge to v5.2.0 (#88699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 15:28:39 +01:00
renovate[bot]
d4c28aa757 Update dependency @types/react-highlight-words to v0.20.0 (#88693)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:54:22 +01:00
renovate[bot]
b8cd5bb57c Update dependency @types/node to v20.14.1 (#88689)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
renovate[bot]
ee157949e4 Update dependency @grafana/scenes to v4.26.0 (#88677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:29:20 +01:00
renovate[bot]
66bc0fa9e9 Update dependency nx to v19.1.2 2024-06-04 11:06:10 +00:00
renovate[bot]
de2d8fadcc Update dependency @grafana/plugin-e2e to v1.3.1 2024-06-04 10:38:46 +00:00
renovate[bot]
de67734871 Update dependency @react-awesome-query-builder/ui to v6.5.2 (#88630)
* Update dependency @react-awesome-query-builder/ui to v6.5.2

* fix type errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-06-04 12:15:16 +03:00
Josh Hunt
407bbe1f4b Keybinds: Vendor Mousetrap (#88603)
* vendor mousetrap

* fix js lint errors

* name to .ts - start refactoring to typescript

* refactor Mousetrap to valid typescript

rename local functions/variables
update types of CallbackInfo
Specify MouseCallback and cleanup types

* Use vendored mousetrap

* use vendored mousetrap

* add globalBind, and remove dependency on external mousetrap

* Update public/app/core/services/keybindingSrv.ts

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-06-04 09:35:19 +01:00
renovate[bot]
f902e16d26 Update dependency @grafana/plugin-e2e to v1.3.0 (#88624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 15:08:02 +01:00
renovate[bot]
54a3ed1c7c Update dependency yaml to v2.4.3 2024-06-03 13:32:11 +00:00
renovate[bot]
f204dd5bf1 Update dependency type-fest to v4.18.3 2024-06-03 13:05:43 +00:00
renovate[bot]
0ba54152dc Update dependency ts-jest to v29.1.4 2024-06-03 12:27:33 +00:00
renovate[bot]
44c62dd536 Update dependency sass to v1.77.4 2024-06-03 11:44:55 +00:00
renovate[bot]
6003d26088 Update dependency rudder-sdk-js to v2.48.8 2024-06-03 10:50:13 +00:00