Commit Graph

4621 Commits

Author SHA1 Message Date
Ashley Harrison
95ad094438
Sparkline: Add test to make sure the Sparkline at least renders (#94880)
add test to make sure the sparkline at least renders
2024-10-17 16:38:11 +03:00
Tobias Skarhed
9f78fd94d7
New Select: Async functionality (#94147)
* Initial async

* Set value

* Update story

* Ignore older returned requests

* Add tests

* Update async test

* Support custom value

* Fix ignore late responses test

* Add act to test

* Fix final test

* Remove comment and fix type error

* refactor async story to look more like api call

* allow consumers to pass in a value with a label, for async

* compare story to async select

* Move 'keep latest async value' into seperate hook

* remove null fn from useLatestAsyncCall

* remove commented assertion

* move custom value to top

* before/afterAll & useRealTimers

* create a user

* no useless await

---------

Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
2024-10-16 13:16:09 +01:00
Ashley Harrison
4b72c159d8
Box: Expose position property (#94726)
expose position property on Box
2024-10-15 14:38:07 +01:00
kay delaney
7104782a74
Chore: Remove unused sass variables (#94723) 2024-10-15 13:38:42 +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
Ihor Yeromin
bcf62612f3
Table: Improve code readability (#94690)
feat(table): improve code radability
2024-10-14 18:57:19 +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
Josh Hunt
64bb94cc62
Combobox: Measure text of longest label for dropdown width (#93937)
* Combobox: Measure text of longest label for dropdown width

* remove commented out code

* add story to compare to Select

* move magic numbers to constants to reference, and calculate the scrollbar width

* look at first 100,000 items
2024-10-11 15:10:44 +01:00
grafana-delivery-bot[bot]
032d0669cd
Release: Bump version to 11.4.0-pre (#94569)
bump version 11.4.0-pre

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 11:31:04 +01:00
renovate[bot]
e32caccc15 Update babel monorepo to v7.25.8 2024-10-10 15:39:53 +00:00
renovate[bot]
e30c398087
Update dependency @hello-pangea/dnd to v17 (#94543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 15:56:59 +01:00
owensmallwood
8349db4947
Table Component: Skip flaky test (#94506)
* skip flaky test

* use skip method on test
2024-10-09 22:40:42 +03:00
Tobias Skarhed
5f61266931
AutoSizeInput: Forward onChange event (#94459)
Forward onChange event
2024-10-09 14:38:56 +02:00
renovate[bot]
f2093c9f05 Update dependency react-dropzone to v14.2.9 2024-10-08 13:01:24 +00:00
renovate[bot]
5b7ae2bb93 Update dependency rc-slider to v11.1.7 2024-10-08 12:30:04 +00:00
renovate[bot]
8fbd8eabec Update dependency @types/node to v20.16.11 2024-10-08 11:48:39 +00:00
Drew Slobodnjak
3e583ff423
VizRepeater: Prevent opposite scrollbar (#94230)
* VizRepeater: Prevent opposite scrollbar

* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx

Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>

* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx

Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>

---------

Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
2024-10-07 10:05:09 -07:00
jackyin
63bdbb67fc
SubMenu: Fix expanding sub menu items on touch devices (#93208)
* click more in mobile phone

* use stopPropagation stop event

* delete log

* delete inspect click and add stopPropagation

* bug fix

* fix unit tests

* fix e2e tests

* fix old-arch tests

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-07 15:22:18 +01:00
renovate[bot]
32c55555cb Update dependency @types/node to v20.16.10 2024-10-07 13:00:31 +00:00
renovate[bot]
45835f7ea2 Update dependency @types/lodash to v4.17.10 2024-10-07 10:54:58 +00:00
renovate[bot]
77e1f222a0
Update babel monorepo to v7.25.7 (#94262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 15:58:12 +01:00
renovate[bot]
6ed3868921 Update dependency @emotion/css to v11.13.4 2024-10-04 14:22:51 +00:00
renovate[bot]
94444319ec Update React Aria 2024-10-04 13:59:26 +00:00
Ihor Yeromin
9801b92c3d
Table: Fix table cell text jumping on hover (#93913)
fix(table): table cell text jumping on hover
2024-10-04 13:20:15 +02:00
Tobias Skarhed
e48d166c3e
New Select: width auto sets width based on content (#93800)
* Add inline prop for AutoSizeInput

* Rename to autoSize

* Use conditional props and width auto

* remove variable

* Remove 100% max width
2024-10-03 11:45:22 +03:00
kay delaney
1b82595251
UI/AutoSizeInput: Fixes issue where controlledValue being null caused crash (#94078) 2024-10-01 16:02:26 +01:00
renovate[bot]
8338e92a70
Update dependency sass-loader to v16 (#94006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:30:32 +01:00
Tom Ratcliffe
af82dfa95d
Alerting/Chore: Fix TimeRangeInput not working across multiple months (#93622) 2024-09-30 10:26:07 +01:00
jackyin
e23ba32722
Transformations: Fix crash in Config from query results (#93427) 2024-09-28 09:04:40 -05:00
Adela Almasan
47b51326cc
VizTooltip: Update datalinks styling (#93950) 2024-09-28 05:33:10 +01:00
Leon Sorokin
165ca3b4e8
Chore: uPlot v1.6.31 (#93952) 2024-09-27 23:11:05 -05:00
Ihor Yeromin
d5e35c4b78
Legend: Render legend threshold colors (#92838)
* feat(barchart): render legend threshold and value mapping colors

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-09-27 17:02:03 +02:00
renovate[bot]
0401fa1652
Update dependency @faker-js/faker to v9 (#93917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 15:35:15 +01:00
renovate[bot]
0e4c90dd87
Update emotion monorepo (#93914)
* Update emotion monorepo

* add @emotion/serialize package + update unit test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-09-27 15:16:12 +01:00
xiyu95
ce8c42ab35
chore: enforce the validationMessageHorizontalOverflow for InlineField (#93858)
chore: enforce the validationMessageHorizontalOverflow prop for inlineField
2024-09-27 07:01:18 -07:00
Jack Westbrook
012d62782c
Fix: Prevent import errors caused by Rollup 4 (#93903)
fix(packages): prevent import errors by injecting exports.esmodule and check for default prop
2024-09-27 12:18:52 +01:00
Jack Westbrook
f22bee8ca2
Build: Migrate packages to rollup v4 (#93731)
* chore(packages): bump rollup and rollup plugins to latest

* chore(packages): fix rollup node-externals plugin imports

* chore(packages): update build/bundle scripts to pass configPlugin arg to rollup

* feat(packages): migrate rollup configs to be esm compliant

* feat(packages): build using es2018 target and use same tsconfig and tsc for rollup
2024-09-27 11:00:13 +02:00
renovate[bot]
efe8739864 Update dependency @types/node to v20.16.9 2024-09-26 14:55:59 +00:00
renovate[bot]
ad960827cc Update dependency @types/jquery to v3.5.31 2024-09-26 14:33:05 +00:00
Hugo Kiyodi Oshiro
be8c8baf6f
ConfirmModal: Allow button disable to be externally managed (#93446) 2024-09-26 15:56:25 +02:00
Edvard Falkskär
20a66343bd
SparklineCell: Improve text alignment factor (#93539) 2024-09-26 14:41:03 +03:00
kay delaney
6c8f24adc9
Dashboards: Fix issue with percentage difference formatting (#93389)
* Dashboards: Fix issue with percentage difference formatting

---------

Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-09-26 11:15:51 +01:00
Adela Almasan
c36f7aa92b
VizTooltip: Improved sizing (#93762)
Co-authored-by: Staton Hysell <staton.hysell@grafana.com>
2024-09-25 20:47:03 -05:00
renovate[bot]
2c98767d17
Update dependency webpack to v5.95.0 [SECURITY] (#93751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:19:58 +01:00
Tobias Skarhed
1f7457c02c
New Select: Extract floating ui setup into hook (#93387)
* New Select: Extratc floating ui setup into hook

* Remove unused exports

* Rename exported floatStyles

* Set maxHeight instead of using js to find it

* Extarct into seperate file
2024-09-25 16:27:17 +02:00
renovate[bot]
5cd9ef562d
Update dependency react-loading-skeleton to v3.5.0 (#93740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:41:18 +03:00
Ashley Harrison
8e5459791b
SingleTopNav: Initial changes (#93694)
initial changes for single top nav
2024-09-25 14:27:30 +03:00
Josh Hunt
d2d1de39a7
GrafanaUI: Make Drawer extend to full height (#93725) 2024-09-25 12:05:20 +01:00
renovate[bot]
a0de3ef867 Update dependency @types/node to v20.16.7 2024-09-25 10:46:05 +00:00
Adela Almasan
2b94a82baa
AngularMigration: Migrate series Graph to BarGauge (#92609) 2024-09-25 00:42:59 +03:00