Tobias Skarhed
fa95b41715
TimeSeries: Improve keyboard focus and fix spacebar override ( #86848 )
...
* Make GrpahNG focusable
* Move to VizLayout instead
* Update uPlot plugins for better keyboard support
* Remove unrelated changes
* different fix
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-05-10 14:07:12 +02:00
Torkel Ödegaard
459673b539
Dropdown: Fixes double call to onVisibilityChange ( #87607 )
...
* Dropdown: Fixes double call to onVisibilityChange
* Update
* update
2024-05-10 14:06:53 +02:00
Adela Almasan
3d56257b34
Timeseries: Fix incorrect threshold style ( #87521 )
2024-05-08 23:14:43 +03:00
renovate[bot]
04ce2d2f5a
Update dependency @types/prismjs to v1.26.4
2024-05-08 14:53:35 +00:00
renovate[bot]
98435a67f5
Update dependency @types/node to v20.12.11
2024-05-08 16:08:44 +02:00
renovate[bot]
3e2e06179e
Update dependency @types/jquery to v3.5.30
2024-05-08 13:39:13 +00:00
Joao Silva
f32e4810ab
GrafanaUI: Add tabular
prop to Text component for tabular numbers ( #87440 )
2024-05-08 14:03:21 +01:00
renovate[bot]
f1e5a02af5
Update dependency rc-cascader to v3.25.0 ( #86045 )
...
* Update dependency rc-cascader to v3.25.0
* 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-05-08 15:24:01 +03:00
Tom Ratcliffe
a597300027
Chore: Allow MenuItems to have role=menuitem
when URL is set ( #86886 )
...
Allow passing a role into a MenuItem component, and fallback to default behaviour if not passed
2024-05-07 13:12:02 +01:00
Ashley Harrison
37ef6df3b2
Chore: replace calls to defaultProps
( #87310 )
...
* replace calls to defaultProps
* make linksGetter optional
2024-05-07 10:07:16 +01:00
Fabrizio
f99d4ee92d
Tempo: Fix sorting for nested tables ( #87214 )
2024-05-06 10:41:47 +02:00
Adela Almasan
8a96fcedb2
XyChart: Fix legend ( #87155 )
2024-05-04 01:06:05 +03:00
renovate[bot]
b25f193be0
Update dependency @types/node to v20.12.8
2024-05-03 11:25:38 +00:00
Alex Khomenko
c4c313d20f
Grafana/ui: Update Button and IconButton components to accept icon as component ( #87243 )
...
* Saga-icons: Forward SVG attributes
* Icon prop as component
* Add IconRenderer
* Cleanup
* Fix types
* Update size prop
* Revert storybook
* Update IconButton
2024-05-03 09:22:22 +03:00
renovate[bot]
4d0a3de6fb
Update dependency @floating-ui/react to v0.26.13 ( #87273 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 23:11:39 +01:00
renovate[bot]
79b5fb9f1f
Update babel monorepo to v7.24.5
2024-05-02 18:10:10 +00:00
renovate[bot]
dd9fb83606
Update React Aria ( #87253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 17:27:29 +01:00
kay delaney
bc9010a95b
Scenes: Adjust styles to allow shrinking of variable selectors ( #87085 )
2024-05-02 16:23:29 +01:00
Torkel Ödegaard
281d785442
Select: Fixes issue preserving search term (input) when selecting a value ( #87013 )
2024-05-02 17:13:53 +02:00
Krishna Dhakal
deb6d27406
Core: Replace deprecated jest matcher toBeCalledWith ( #86635 )
...
* Replace depredated matcher from jest
* perform rechecks
---------
Co-authored-by: joshhunt <josh@trtr.co>
2024-05-01 15:33:26 +01:00
Alex Khomenko
7f1b2ef205
Select: Add data-testid to Input ( #87105 )
...
* Select: Add custom input component
* Forward data-testid
* Add input selector
* Props check
2024-04-30 14:04:58 +03:00
Ashley Harrison
c151a97110
Chore: Enable no-unreduced-motion
and fix errors ( #86572 )
...
* enable `no-unreduced-motion` in betterer
* move all animation calls inside handleReducedMotion
* fix violations + enable rule
* update rule README
* remove unnecessary transition from <Collapse>
* remove handleReducedMotion utility and add handleMotion to theme
* update to use new theme value
* handle Dropdown and IconButton
* handle AppChromeMenu and update lint message
* keep rotation at a reduced speed
* handle DashboardLoading
2024-04-29 13:12:36 +01:00
Thomas Wikman
7fab894e9b
DateTimePicker: Alternate timezones now behave correctly ( #86750 )
...
* Add failing tests for timezone handling
* Fix `DateTimePicker.tsx` timezone handling
- Resolves `onBlur` issue
- Resolve Calendar and TimeOfDay issues
- Update test to cover different timezone
* Handle `console.warn` in test
* Handle `console.warn` in test #2
* Better handling of invalid date
When parsing date string with `dateTime`, adding a second `formatInput` aids in both parsing the actual string and avoid `console.warn` when `moment` reverts to be using `Date`.
* add more test cases
* Ash/proposed changes (#86854 )
* simplify
* only need this change
* formatting
* const > let
* add test to ensure calendar is always showing the matching day
* separate state
* undo story changes
* update util function comments
* fix for selecting date in the calendar
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-29 10:46:44 +01:00
Alex Khomenko
8117aad9af
Stack: Add size props ( #86900 )
...
* Abstract sizing styles from Box
* Upd name
* Stack: Add sizing props
* Revert
* Update LoginServiceButtons
2024-04-26 08:17:16 +03:00
Darren Janeczek
ff761bb7d6
Tooltips: Ensure new viz tooltips are visible within modals (alternative solution) ( #86716 )
...
fix: ensure new viz tooltips are visible within modals
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-04-25 16:27:24 -04:00
Erik Sundell
a3ef463499
Grafana packages: Remove E2E workspace ( #86416 )
...
* remove e2e package code and any code referencing it
* update code owners
* remove more references to e2e package
* remove unrelated file
2024-04-25 07:12:43 +02:00
Konrad Lalik
2db56b9c85
GrafanaUI: Add minWidth and maxWidth props to the Box component ( #86607 )
...
* Add minWidth and maxWidth props to the Box component
* Add height props, use theme spacing for sizing
2024-04-24 10:52:00 +02:00
Kyle Cunningham
37d086d49c
Table Panel: Fix images not showing on hover with multiple data links ( #86732 )
...
* Fix issue
* Prettier
* codeincarnate/image-table-fix/ lint
* Make linter happy by using div with role of button + improve a11y
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-04-23 23:03:24 +07:00
Ashley Harrison
a1321d17ca
TimeOfDayPicker: Fix text colours in light mode ( #86771 )
...
fix text colours in light mode
2024-04-23 14:50:42 +01:00
renovate[bot]
c849b6beaa
Update dependency react-i18next to v14 ( #86753 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 11:11:25 +01:00
Thomas Wikman
99cbb5281c
Grafana UI: Add timezone selector to Storybook toolbar ( #86703 )
...
* Add timezone selector to Storybook toolbar
So that it's possible to preview how components that are using date functions, behave when timezone differs from browser/client.
* Re-order imports
2024-04-23 09:09:08 +01:00
renovate[bot]
6c777519d8
Update dependency style-loader to v4 ( #86749 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 09:08:46 +01:00
renovate[bot]
579cf9bd7d
Update dependency esbuild to v0.20.2 ( #76342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:26:02 +01:00
renovate[bot]
41617b174e
Update dependency css-loader to v7 ( #86711 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 07:28:32 +01:00
renovate[bot]
de92317fc7
Update dependency rc-slider to v10.6.2 ( #86704 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 17:15:34 +01:00
renovate[bot]
7564d5cee7
Update dependency core-js to v3.37.0 ( #86676 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 14:18:57 +01:00
renovate[bot]
e7fd2cb0fb
Update dependency sass-loader to v14.2.1
2024-04-19 14:04:45 +00:00
Laura Fernández
913d7da3af
Grafana UI: Text.story.tsx
- Replace VerticalGroup
with Stack
( #86584 )
2024-04-19 16:01:24 +02:00
renovate[bot]
c2f3bf677d
Update dependency @types/react to v18.2.79
2024-04-19 11:39:32 +00:00
Joao Silva
aa326423ed
ColorPicker: Improvements to story organization ( #86539 )
2024-04-19 11:58:20 +01:00
Laura Fernández
9878dfb7d9
Grafana UI: EmotionPerfTest
- Replace VerticalGroup
with Stack
( #86588 )
2024-04-19 12:55:04 +02:00
Laura Fernández
7404a631f6
GrafanaUI: PageToolbar.story.tsx
- Replace VerticalGroup
with Stack
( #86581 )
2024-04-19 12:54:20 +02:00
Ashley Harrison
21588ce7e2
EmptyState: Set a max width on the empty state component ( #86569 )
...
set a max width on the empty state component
2024-04-19 12:52:16 +02:00
Laura Fernández
c5ca90747d
Grafana UI: TagsInput.story.tsx
- Delete unnecessary VerticalGroup
( #86582 )
2024-04-19 12:34:49 +02:00
Laura Fernández
bfb79d20ff
Grafana UI: Menu.story.tsx
- Replace VerticalGroup
with Stack
( #86529 )
2024-04-18 17:35:36 +02:00
Laura Fernández
e65669bc0d
Grafana UI: Checkbox.story.tsx
- Replace VerticalGroup
with Stack
( #86524 )
2024-04-18 17:05:19 +02:00
Laura Fernández
18bd11ca6a
Grafana UI: TextLink.story.tsx
- Replace VerticalGroup
with Stack
( #86526 )
2024-04-18 16:37:48 +02:00
Laura Fernández
bbf4281d8d
Grafana UI: Dropdown.story.tsx
- Replace VerticalGroup
with Stack
( #86521 )
2024-04-18 16:13:08 +02:00
Ashley Harrison
07044309f1
EmptyState: Add completed
variant ( #86497 )
...
* add 'completed' variant
* add central text alignment
2024-04-18 11:22:28 +01:00
Laura Fernández
bc07eedaa9
Grafana UI: Replace VerticalGroup
with Stack
on alerts documentation in Storybook ( #86400 )
2024-04-18 12:16:57 +02:00
Laura Fernández
6b21d12ce0
Grafana UI: FilterPopup
- Replace VerticalGroup
and HorizontalGroup
with Stack
( #86398 )
2024-04-18 12:16:38 +02:00
Torkel Ödegaard
3870ecd2e0
RefreshPicker: Change running state to be less distracting ( #86405 )
...
RefreshPicker: Change running state to not change button variant to destructive
2024-04-18 05:46:43 +02:00
Darren Janeczek
53d2714a18
Tooltips: Ensure new viz tooltips are visible within modals ( #86258 )
...
fix: ensure new viz tooltips are visible within modals
2024-04-17 13:54:10 -04:00
Joao Silva
1997faf617
Select: Increase size of virtualized list options ( #86444 )
2024-04-17 17:01:21 +01:00
Tobias Skarhed
1c2065af60
PanelChrome: Improve accessibility landmark markup ( #85863 )
...
* Add section and use Text component to get h2 for panel
* Remove heading when collapsible
* Make button text truncate
* Update test
* Remove labelledby as it is not needed anymore
* Use testid selectors in test
* Remove async
2024-04-17 16:44:07 +02:00
Matias Chomicki
ec43edd8a1
Loki/Prometheus Query Editor: Disabled cmd/ctrl+f keybinding within the editor ( #86418 )
...
* Prom: disable cmd f within the editor
* Loki: disable cmd f within the editor
* Update public/app/plugins/datasource/loki/components/monaco-query-field/MonacoQueryField.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Monaco: upgrade to 0.34.1
* Loki/Prometheus: allow native search to be displayed
* Formatting
* Monaco: upgrade to 0.34.1
https://github.com/microsoft/monaco-editor/issues/102#issuecomment-1282897640
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-04-17 16:38:43 +02:00
Ashley Harrison
60abf01526
remove stray console.log ( #86440 )
2024-04-17 15:43:38 +02:00
Ashley Harrison
f99d5a1c1a
EmptyState: Add call-to-action
variant ( #85017 )
...
* add default variant
* enhance story
* rename to "initial" + update docs
* default to showing a CTA
* use switch
* translations
* update and use LinkButton
* update default message
* rename "initial" to "nothing-here"
* update variant name to `call-to-action`
* i18n
* add CTA svg
* extract into its own component
2024-04-17 14:23:21 +01:00
Laura Fernández
f1de8940dc
Grafana UI: StackingEditor
and addHideFrom
- Replace HorizontalGroup
with Stack
( #86192 )
2024-04-16 10:46:01 +02:00
Laura Fernández
82f910c0c5
Chore: Use handleReducedMotion
to smooth the animation in LoadingBar
( #85808 )
2024-04-15 17:27:08 +02:00
renovate[bot]
2868264360
Update dependency @types/react-calendar to v4 ( #86132 )
...
* Update dependency @types/react-calendar to v4
* remove @types/react-calendar since it's no longer used
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-15 15:44:12 +02:00
renovate[bot]
6541be39d1
Update dependency @types/react to v18.2.78
2024-04-15 10:45:52 +00:00
renovate[bot]
fc6cad797d
Update dependency @testing-library/react to v15.0.2
2024-04-15 09:42:14 +00:00
renovate[bot]
00daca7f43
Update dependency sass-loader to v14.2.0 ( #86066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 09:18:29 +01:00
Domas
54e1756b49
ButtonSelect: Respect isDisabled option property ( #85954 )
...
make buttonselect respect isDisabled
2024-04-15 10:13:39 +03:00
Torkel Ödegaard
31879f1f5a
useForceUpdate: Return stable function ( #86094 )
2024-04-15 09:13:16 +02:00
Laura Fernández
f3b814a024
Grafana UI: ToolbarButton.story.tsx
- Replace HorizotalGroup
and VerticalGroup
with Stack
( #86067 )
2024-04-12 18:08:43 +02:00
renovate[bot]
c1b8ee8453
Update dependency typescript to v5.4.5
2024-04-12 15:06:30 +02:00
renovate[bot]
a5cd88c67e
Update dependency typescript to v5.4.3 ( #84470 )
...
* Update dependency typescript to v5.4.3
* refactor: solve TS errors
* refactor: update yarn.lock
* refactor: return type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-04-12 14:46:47 +02:00
Ashley Harrison
b3401c802c
EmptyState: make "message" a required prop ( #86029 )
...
* make "message" a required prop on EmptyState
* run i18n:extract
2024-04-12 13:13:28 +01:00
renovate[bot]
c2a81f3020
Update react monorepo
2024-04-12 11:58:02 +00:00
renovate[bot]
63d63ea9fb
Update dependency @testing-library/react to v15.0.1
2024-04-12 10:27:38 +00:00
renovate[bot]
51d5a4c8f2
Update dependency @testing-library/dom to v10 ( #85958 )
...
* Update dependency @testing-library/dom to v10
* update @testing-library/react as well
* fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 17:29:35 +02:00
Laura Fernández
2986273273
Grafana UI: CellActions
- Replace HorizontalGroup
with Stack
( #85860 )
2024-04-11 10:59:23 +02:00
renovate[bot]
1ed3dc22d5
Update react monorepo
2024-04-11 08:47:05 +00:00
renovate[bot]
8461310e36
Update dependency rc-cascader to v3.24.1
2024-04-11 08:27:47 +00:00
Laura Fernández
cd79fe1a7c
Grafana UI: ThemeDemo
- Replace HorizontalGroup
and VerticalGroup
with Stack
and Box
( #85888 )
2024-04-10 18:23:31 +02:00
renovate[bot]
b1ad46e426
Update dependency @types/node to v20.12.7
2024-04-10 15:26:09 +00:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions ( #85839 )
...
* fix some type assertions in loops
* some more cleanup
* some alerting fixes
* put comments in correct place to ignore rule
* couple more
* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
Laura Fernández
22d33bd354
Grafana UI: SecretTextArea
- Replace HorizontalGroup
with Stack
and Box
( #85849 )
2024-04-10 13:41:02 +02:00
Laura Fernández
1dce01fdd7
Grafana UI: PanelChrome
- Replace HorizontalGroup
with Stack
in documentation and stories ( #85843 )
2024-04-10 11:44:03 +02:00
renovate[bot]
0585b55bb1
Update dependency @floating-ui/react to v0.26.12 ( #85842 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 12:26:02 +03:00
renovate[bot]
651223fe2d
Update babel monorepo to v7.24.4
2024-04-10 09:06:54 +00:00
Ashley Harrison
bbf874b96d
ConfirmModal: Pressing enter in confirmation input now triggers primary action ( #85812 )
...
wrap confirm modal in a form
2024-04-10 09:22:22 +01:00
Laura Fernández
88f116e96b
CSS: use prefers-reduced-motion
to let users skip animations ( #85450 )
2024-04-09 15:27:28 +02:00
Kristina
5305316f5a
Explore: Move Query History to be screen wide ( #84321 )
...
* WIP
* Use splitpanewrapper for drawer
* Get rich history pulling from multiple datasources
* highlight pane
* Fix datasource data handling
* create ds/explore map, move around ds lookup
* Handle no filters
* Fix tests and some errors
* Fix context menu issue
* (Poorly) enable scrolling, fix onClose to function
* Remove highlighting, use legacy key, fix casing
* fix filtering to handle non-simple data
* Fix linter, add translations
* Fixing tests~~
* Move to explore drawer and fix some more tests
* Kinda fix drawer stuff?
* Fix remaining card tests
* Fix test
* Fix tests
* Partially fix starred tab tests
* Fix integration tests
* Fix remaining tests 🤞
* Add a test and a clarifying comment behind a couple hooks
* Remove unused code
* Fix button styling and fix animation (but break width)
* Make Drawer using parent width (100%)
* Fix tests and some small catches
* Add tests for selectExploreDSMaps selector
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com>
2024-04-09 07:36:46 -05:00
Laura Fernández
00be24d6b3
Chore: Create handleReduceMotion
util function to manage animations ( #85785 )
2024-04-09 13:10:37 +02:00
Laura Fernández
0bdb96552a
Grafana UI: Modal
- Replace HorizontalGroup with Stack ( #85756 )
2024-04-09 10:31:11 +02:00
Laura Fernández
0e12f60ee6
Grafana UI: FilterPill.story.tsx
- Replace HorizontalGroup
with Stack
( #85736 )
2024-04-08 17:21:58 +02:00
Laura Fernández
f3fb083381
GrafanaUI: DateTimePicker
- replace HorizontalGroup
with Stack
component ( #85663 )
2024-04-08 12:44:01 +02:00
Ashley Harrison
b3cff22db3
Chore: Improve types ( #85659 )
...
* fixing some types
* more type fixes
* few more
* last couple
* tiny tweak
2024-04-08 09:56:21 +01:00
Laura Fernández
9af259a0d6
GrafanaUI: ConfirmModal
- replace HorizontalGroup
with Stack
and Box
component ( #85660 )
2024-04-05 16:11:53 +02:00
Laura Fernández
362c95c606
Grafana UI: Button.story.tsx
- Replace HorizontalGroup and VerticalGroup with Stack and Box ( #85644 )
2024-04-05 15:45:55 +02:00
Laura Fernández
661aaf352e
GrafanaUI: IconButton
- replace HorizontalGroup and VerticalGroup with Stack component ( #85639 )
2024-04-05 12:03:57 +02:00
Kyle Cunningham
67045aa90c
Table Panel: Update background colors to respect transparency ( #85565 )
...
* Update background colors to respect alpha
* codeincarnate/fix-table-background/ lint
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-04 22:55:37 +07:00
Tobias Skarhed
f387cff836
Accessibility: Default Icon to aria-hidden ( #84362 )
...
* Icon: aria hide icon, unless a label is set
* Update doc
* Remove weird auto import
* Fix fialing tests
* Add recommendation for Tooltip
* Consider more aria attributes to support Tooltip
* Handle tabIndex and aria-hidden case
* Add comment about aria-label
2024-04-04 12:07:50 +02:00
Leon Sorokin
130d561924
Chore: Restore some removed UI components to reduce BC surface area ( #85546 )
2024-04-04 04:31:28 -05:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits ( #85500 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Leon Sorokin
d601acac3a
VizTooltips: Remove old tooltips and annotations ( #84420 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 15:32:46 -05:00
renovate[bot]
a360cf0c85
Update dependency @types/node to v20.12.2 ( #85480 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 18:47:56 +03:00
renovate[bot]
ac6e51c94a
Update dependency @types/react to v18.2.74
2024-04-02 15:27:41 +00:00
renovate[bot]
09d4b814f4
Update dependency @types/react-dom to v18.2.23
2024-04-02 10:48:52 +00:00
Torkel Ödegaard
e90b87589f
ModalsContext: Unify modals context and manager ( #84916 )
...
* ModalsContext: Unify modals context and manager
* Clear on location change
* fixes
* Update
* use generics to avoid anys
---------
Co-authored-by: joshhunt <josh@trtr.co>
2024-03-28 13:26:57 +01:00
renovate[bot]
50a57bb88c
Update dependency webpack to v5.91.0 ( #85302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:38:15 +00:00
renovate[bot]
2f18148da2
Update dependency @types/react to v18.2.73
2024-03-27 17:15:47 +00:00
renovate[bot]
c7b4427151
Update dependency date-fns to v3.6.0 ( #85243 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 11:51:19 +00:00
Joao Silva
951d5b4e9f
Storybook: Fix link to Saga ( #85179 )
2024-03-27 11:50:36 +00:00
renovate[bot]
e184520c61
Update dependency @types/react to v18.2.72
2024-03-26 20:04:28 +00:00
Kyle Cunningham
c9f9e94a6c
Table Panel: Fix issue causing incorrect background coloring ( #85121 )
...
Fix color bug
2024-03-27 03:02:31 +07:00
renovate[bot]
a256c064df
Update dependency @types/react to v18.2.71
2024-03-26 17:26:50 +00:00
renovate[bot]
1df15a3a4c
Update dependency @floating-ui/react to v0.26.10 ( #85181 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 16:39:24 +00:00
Chris Bedwell
b4ed72f1b6
Tooltip / Toggletip content link styling: Remove global a element selector inside tooltips ( #84353 )
...
* fix: remove global a tag styles inside tooltips
* corret inside / outside button references in toggletip test
* Remove code and pre styling rules from tooltipUtils
2024-03-26 11:47:12 +00:00
Kyle Cunningham
154868e624
Table Panel: Fix image disappearing when datalinks applied ( #84625 )
...
* Fix link image disappearing
* Prettier
* i18n
* Fix offset to compensate for padding
* Prettier
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-26 04:13:24 +07:00
grafana-delivery-bot[bot]
99b5671fbe
Release: Bump version to 11.1.0-pre ( #85115 )
...
"Release: Updated versions in package to 11.1.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-03-25 21:44:28 +02:00
Adam Bannach
d7f739c8e5
Fix InteractiveTable: React, less hooks rendered than previous render ( #85043 )
...
fix: react-hooks error if data length switches from above or below pageSize
2024-03-25 13:53:45 +02:00
Ashley Harrison
36ee1571b6
EmptyState: Rename "search" variant to "not-found" ( #85062 )
...
* rename "search" variant to "not-found"
* run i18n:extract
2024-03-25 09:55:48 +00:00
Leon Sorokin
d7fa99e2df
XYChart: Refactor to new model (behind feature toggle) ( #82499 )
...
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-03-22 10:44:37 -05:00
Kyle Cunningham
658183d792
Table Panel: Fix hover regression ( #84964 )
...
Fix hover bug
2024-03-22 21:55:17 +07:00
Ashley Harrison
a0bcc44b63
GrafanaUI: Add new EmptyState
component ( #84891 )
...
* add empty search state component
* extract translations
* nicer prop spreading
* actually expose component in grafana-ui
* use requestAnimationFrame
* add rollup-plugin-svg-import
* move to a single EmptyState component with variants
* update docs
* remove CTA
* add some more prop documentation
* just use 1 svg
2024-03-22 14:46:32 +00:00
Adam Bannach
16737c5b27
InteractiveTable: Add expand all to column ( #84966 )
...
* feat: add expand all to InteractiveTable
* chore: pr feedback; type tightening and better testing practice
* chore: pr feedback; type cleanup
2024-03-22 15:55:04 +02:00
Ashley Harrison
bc8c3f99ae
Chore: Remove custom values from TextLink
story ( #84889 )
...
remove default values
2024-03-21 13:33:53 +02:00
Adela Almasan
9fced253f5
VizTooltips: Switch data links display to column ( #84828 )
2024-03-20 17:29:37 +02:00
renovate[bot]
e2109f9b2a
Update babel monorepo to v7.24.3
2024-03-20 12:50:51 +00:00
renovate[bot]
d0935fe44c
Update dependency @testing-library/react to v14.2.2
2024-03-20 12:31:21 +00:00
renovate[bot]
6166c88ab7
Update dependency core-js to v3.36.1
2024-03-19 17:06:50 +00:00
renovate[bot]
aa9dc9c821
Update dependency @types/react-table to v7.7.20
2024-03-19 16:47:05 +00:00
Kyle Cunningham
2a6a1fb3b3
Table Panel: Add ability to set background colors for entire rows ( #83939 )
...
* Table: hacky poc for colored rows
* update
* Update options editor
* Refactor out styling
* Make sure option applies
* Start unifying coloring logic
* Support various options
* Cleanups
* Fix up hover behavior
* Update label
* Fix bug with sorting and make cleanups
* Ensure text color also applies to whole row
* New treatment for cell inspect
* Update cell inspect spacing
* codeincarnate/table-row-background-selected-riffs/ run linter
* Fix hover colors
* Fix coloring
* The other part of color application
* Another color fix
* codeincarnate/table-row-background-selected-riffs/ lint
* Update cell value inspect
* Prettier
* Update cell value inspect coloring
* Fix text coloring
* Update inspect style
* Linting and betterer
* Fix tests
* i18n
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-03-19 23:23:12 +07:00
renovate[bot]
5b1b280798
Update dependency @types/react to v18.2.67
2024-03-19 16:21:08 +00:00
renovate[bot]
97156bb759
Update dependency @types/node to v20.11.30
2024-03-19 15:36:35 +00:00
renovate[bot]
b5d74ac200
Update babel monorepo to v7.24.1 ( #84718 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 12:56:16 +02:00
Ashley Harrison
15194b41b4
Dropdown: Fix keyboard accessibility ( #84683 )
...
* fix dropdown keyboard a11y
* remove unnecessary css
* restore tabIndex to keep linting happy
* use Box in Menu
* fix unit test
2024-03-19 10:22:17 +00:00
Leon Sorokin
2e6bb6416d
VizTooltips: Fix position during bottom or right edge initial hover ( #84623 )
2024-03-18 11:20:43 -05:00
Ashley Harrison
3297d589c0
ConfirmButton: Stop pointerEvents on the correct element ( #84648 )
...
stop pointerEvents on the correct element
2024-03-18 14:04:43 +02:00
Torkel Ödegaard
4dcbf4e5bb
Select: Fixes virtualized select showing empty space above selected value ( #84544 )
...
* Select: Virtualized select bug replication
* Update with fix
* remove story
* Pin version
* Update
* Update
2024-03-15 16:00:58 +01:00
renovate[bot]
25ed621aa3
Update dependency date-fns to v3.5.0 ( #84557 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 12:10:17 +00:00
renovate[bot]
a8432aad3d
Update dependency @types/node to v20.11.28
2024-03-15 10:28:53 +00:00
renovate[bot]
05f737b712
Update dependency @types/react to v18.2.66
2024-03-15 09:02:47 +00:00
Ashley Harrison
321148511b
Chore: Rewrite ConfirmButton
( #84402 )
...
* convert to function component, clean up + fix a11y
* use position: fixed;
* fix
2024-03-14 15:50:44 +00:00
renovate[bot]
81a63efab2
Update dependency rc-cascader to v3.24.0 ( #84453 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 17:39:28 +02:00
renovate[bot]
da66f560a5
Update dependency rc-tooltip to v6.2.0 ( #84454 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 14:59:32 +00:00
Joao Silva
0b033106b0
Cascader: Add clear button ( #84449 )
2024-03-14 14:41:54 +00:00
Laura Fernández
38a8bf10f3
TimeRangePicker: Show UTC+00:00
instead of just UTC
( #84395 )
2024-03-14 13:06:34 +01:00
renovate[bot]
0b806597c3
Update dependency date-fns to v3.4.0 ( #84390 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 09:10:59 +00:00
renovate[bot]
d480d3296c
Update d3 ( #84383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:42:18 +00:00
renovate[bot]
2420c5aa4d
Update dependency @types/node to v20.11.27
2024-03-13 15:17:45 +00:00
renovate[bot]
d6acb474cf
Update dependency @types/react-dom to v18.2.22
2024-03-13 12:47:58 +00:00
Alex Khomenko
7feeb7ce4e
Cascader: Add id prop ( #84240 )
...
* Cascader: Add id prop
* Remove placeholder
2024-03-13 14:01:24 +02:00
Leon Sorokin
220fea966b
CursorSync: Extract EventBus logic into shared plugin ( #84111 )
2024-03-12 17:15:38 -05:00
renovate[bot]
46a35775ae
Update dependency @types/lodash to v4.17.0 ( #84299 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 17:13:14 +02:00
Joao Silva
6080a9c094
Cascader: Don't lose input value when typing ( #84274 )
2024-03-12 15:00:51 +00:00
renovate[bot]
a883df633e
Update dependency @types/react to v18.2.65
2024-03-12 11:30:56 +00:00
Alex Khomenko
59fed9278b
Switch: Remove "transparent" prop ( #83705 )
...
* Switch: Remove transparent prop
* Cleanup
* Remove redundant prop
2024-03-12 12:51:58 +02:00
renovate[bot]
3085d53802
Update dependency @types/node to v20.11.26
2024-03-12 09:32:25 +00:00
renovate[bot]
6e661fa770
Update babel monorepo to v7.24.0 ( #84206 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:46:11 +00:00
renovate[bot]
3449a43ff2
Update react monorepo
2024-03-11 16:24:00 +00:00
Ashley Harrison
0280fac0e3
DatePickerWithInput: Set zIndex for popover correctly ( #84154 )
...
set zIndex for popover correctly
2024-03-11 11:35:59 +00:00
renovate[bot]
534855d086
Update dependency @types/node to v20.11.25
2024-03-11 10:39:32 +00:00
renovate[bot]
ea84a66ff4
Update dependency @emotion/react to v11.11.4
2024-03-11 08:53:49 +00:00
Erik Sundell
a722b2608a
TimeZonePicker: Add e2e selector to change time zone settings button ( #83248 )
...
add selector to change time zone settings
2024-03-07 07:25:48 +01:00
Leon Sorokin
d549a3aabb
VizTooltips: Heatmap fixes and improvements ( #83876 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-03-06 19:30:33 -06:00
Leon Sorokin
1dc6014b10
Dashboard: Revert descending z-index changes ( #83466 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-03-06 16:31:54 +02:00
Leon Sorokin
a4b31ed140
BarChart: Improve x=time tick formatting ( #83853 )
2024-03-05 19:03:50 -06:00
Kyle Cunningham
cb008657cb
Table Panel: Update column filters to use Stack component ( #83800 )
...
* Update filter list to use stack
* Remove dead comments
2024-03-05 21:54:31 +02:00
Kyle Cunningham
f4da9bd09e
Table Panel: Text wrapping fix inspect viewing issues ( #83867 )
...
* Fix inspect viewing issues
* Fix long line wrapping
* Prettier
* Fix text wrapping
* Fix overflowing text
2024-03-06 02:00:41 +07:00
Torkel Ödegaard
9264e2a3bd
Table: Custom headerComponent field config option ( #83254 )
...
* Table: Custom headerComponent field config option
* Table custom header component (#83830 )
* Add tests, fix bug
---------
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
Co-authored-by: Galen <galen.kistler@grafana.com>
2024-03-05 08:49:22 +01:00
Leon Sorokin
7cf419c09a
Dashboard: Revert LayoutItemContext ( #83465 )
2024-03-04 16:47:20 +02:00
Kyle Cunningham
886d8fae36
Table Panel: Improve text wrapping on hover ( #83642 )
...
* Fix up text wrapping
* Make sure there are basic cell styles
* codeincarnate/text-wrapping-hover-pt2/ run prettier
* Add comment for conditional
* Update condition
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-03-02 00:20:14 +07:00
Kyle Cunningham
33cb4f9bf4
Table: Preserve filtered value state ( #83631 )
...
* Hoist state
* codeincarnate/table-filter-state/ lint
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-02 00:19:21 +07:00
Ashley Harrison
086d47d83c
Chore: replace react-popper
with floating-ui
in ExemplarMarker
( #83694 )
...
* replace react-popper with floating-ui in ExemplarMarker
* fix e2e test
* floating-ui uses mousemove
2024-03-01 14:54:39 +00:00
Esteban Beltran
ca81d1f22d
Revert "Chore: Remove components from the graveyard folder in grafana/ui" ( #83687 )
...
Revert "Chore: Remove components from the graveyard folder in grafana/ui (#83…"
This reverts commit 6517431165
.
2024-02-29 15:25:33 +01:00
Josh Hunt
0fd46a1bd3
Revert "CodeEditor: Ensure latest onChange callback is called" ( #83677 )
...
Revert "CodeEditor: Ensure latest onChange callback is called (#83599 )"
This reverts commit 3363e3f2d3
.
2024-02-29 11:40:11 +00:00
Ivana Huckova
a76e21c837
TimeSeries: Support vertical orientation ( #83272 )
...
* Time series with flipped axes
* Ass prop and fix timezone labes
* Remove not needed css
* Fix zoomplugin
* Update comment
* Fix zoomplugin
* Update
* Update TooltipPlugin2
* Update variable names
* Update naming and comments
* Update public/app/plugins/panel/timeseries/TimeSeriesPanel.tsx
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2024-02-29 09:53:00 +01:00
Alex Khomenko
8ed932bb60
Select: Add instructions for resetting a value ( #83603 )
2024-02-29 08:38:09 +02:00
Leon Sorokin
5eb7e09351
VizTooltips: Show data links without anchoring ( #83638 )
2024-02-28 17:06:05 -06:00
Leon Sorokin
9190fb28e8
VizTooltip: Improve edge positioning and a11y ( #83584 )
2024-02-28 11:42:46 -06:00
Josh Hunt
3363e3f2d3
CodeEditor: Ensure latest onChange callback is called ( #83599 )
2024-02-28 16:47:10 +00:00
Ryan McKinley
6517431165
Chore: Remove components from the graveyard folder in grafana/ui ( #83545 )
2024-02-28 08:36:53 -08:00
Ashley Harrison
d83319365f
DatePickerWithInput: use floating-ui
so calendar can overflow scroll containers ( #83521 )
...
* move DatePickerWithInput to use floating-ui
* remove position: absolute from DatePicker, remove unnecessary css from CreateTokenModal
2024-02-28 09:45:11 +00:00
Leon Sorokin
0f1cefa942
VizTooltip: Cleanup ( #83462 )
2024-02-27 12:07:55 -06:00
Ashley Harrison
fc29182f16
Chore: Remove React 17 peer deps ( #83524 )
...
remove react 17 peer dep
2024-02-27 16:34:00 +00:00
renovate[bot]
d04c579fc2
Update dependency webpack to v5.90.3
2024-02-27 11:36:22 +00:00
renovate[bot]
801107892b
Update dependency @types/react to v18.2.60
2024-02-27 10:22:14 +00:00
Leon Sorokin
2c3596854f
BarChart: TooltipPlugin2 ( #80920 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-02-26 19:18:40 -06:00
Adela Almasan
99271441fb
Legend: Allow item copy in Table mode ( #83319 )
2024-02-27 02:35:45 +02:00
renovate[bot]
6097ce5b61
Update dependency @types/react-color to v3.0.12
2024-02-26 21:19:27 +00:00
renovate[bot]
0848e7dd69
Update dependency @types/react to v18.2.59
2024-02-26 21:01:35 +00:00
renovate[bot]
e9a1150b35
Update dependency @types/node to v20.11.20
2024-02-26 17:19:05 +00:00
Leon Sorokin
6e6b9a62a2
VizTooltips: Use global portal ( #81986 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-02-24 00:18:24 +02:00
Jev Forsberg
a97562906c
Table: Add ability for Table to render Standard Options "No value" value when DataFrames or field values are empty ( #82948 )
...
* baldm0mma/no_value_message/ add fieldConfig to Table props
* baldm0mma/no_value_message/ add noValuesDisplayText to table props
* baldm0mma/no_value_message/ add fieldConfig to tablePanel
* baldm0mma/no_value_message/ add tests
* baldm0mma/no_value_message/ update test values
* baldm0mma/no_value_message/ update args in tests
* baldm0mma/no_value_message/ update with NO_DATA_TEXT const
2024-02-23 10:00:24 -07:00
Ashley Harrison
49e18a3e7a
Chore: replace react-popper
with floating-ui
in Popover
( #82922 )
...
* replace react-popper with floating-ui in Popover
* update HoverCard
* fix unit tests
* mock useTransitionStyles to ensure consistent unit test results
2024-02-23 15:00:24 +00:00
Ashley Harrison
604e02be15
Grid: Add alignItems
prop ( #83314 )
...
add alignItems props to Grid
2024-02-23 14:25:44 +00:00
Ashley Harrison
b25667223c
Box: add direction
prop to Box
( #83296 )
...
add "direction" prop to Box
2024-02-23 13:38:36 +02:00
Ashley Harrison
c63456612e
Chore: replace react-popper
with floating-ui
in time pickers ( #82640 )
...
* replace react-popper with floating-ui in RelativeTimeRangePicker
* replace react-popper with floating-ui in DateTimePicker
2024-02-23 10:45:04 +00:00
Kyle Cunningham
a4cc4179c8
Table: Fix units showing in footer after reductions without units ( #82081 )
...
* Add preservesUnits property to reducer registry items
* Hide units when appropriate
* Prettier
* some code cleanup
* Prevent error when no stat is selected.
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-02-22 22:28:15 -06:00
Alvaro Huarte
49299ebd9c
Table Component: Improve text-wrapping behavior of cells ( #82872 )
...
* Fix text-wrapping of cells in Tables
* Set wordbreak on hover for long texts without spaces
2024-02-23 06:20:56 +02:00
renovate[bot]
18ec6fcdd3
Update dependency sass-loader to v14 ( #83255 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 18:26:01 +02:00
renovate[bot]
0b62c15e4b
Update dependency rc-drawer to v7 ( #83162 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-22 15:48:37 +00:00
Jack Westbrook
15d83960ec
Chore: Align usage of tsconfig in yarn workspaces to 1.3.0-rc1 ( #83160 )
...
chore(tsconfig): align all usage in workspaces to 1.3.0-rc1
2024-02-22 15:30:20 +01:00
Jack Westbrook
0dcdfc261b
Monaco Editor: Load via ESM ( #78261 )
...
* chore(monaco): bump monaco-editor to latest version
* feat(codeeditor): use esm to load monaco editor
* revert(monaco): put back previous version
* feat(monaco): setup MonacoEnvironment when bootstrapping app
* feat(monaco): load monaco languages from registry as workers
* feat(webpack): clean up warnings, remove need to copy monaco into lib
* fix(plugins): wip - remove amd loader workaround in systemjs hooks
* chore(azure): clean up so QueryField passes typecheck
* test(jest): update config to fix failing tests due to missing monaco-editor
* test(jest): update config to work with monaco-editor and kusto
* test(jest): prevent message eventlistener in nodeGraph/layout.worker tripping up monaco tests
* test(plugins): wip - remove amd related tests from systemjs hooks
* test(alerting): prefer clearAllMocks to prevent monaco editor failing due to missing matchMedia
* test(parca): fix failing test due to undefined backendSrv
* chore: move monacoEnv to app/core
* test: increase testing-lib timeout to 2secs, fix parca test to assert dom element
* feat(plugins): share kusto via systemjs
* test(e2e): increase timeout for checking monaco editor in exemplars spec
* test(e2e): assert monaco has loaded by checking the spinner is gone and window.monaco exists
* test(e2e): check for monaco editor textarea
* test(e2e): check monaco editor is loaded before assertions
* test(e2e): add waitForMonacoToLoad util to reduce duplication
* test(e2e): fix failing mysql spec
* chore(jest): add comment to setupTests explaining need to incresae default timeout
* chore(nodegraph): improve comment in layout.worker.utils to better explain the need for file
2024-02-22 12:31:40 +01:00
Torkel Ödegaard
bfdb4625a0
Grafana/UI: Replace Splitter with useSplitter hook and refactor PanelEdit snapping logic to useSnappingSplitter hook ( #82895 )
...
* Hook refactor
* Update
* Test
* Update
* Both directions work
* fixes
* refactoring
* Update
* Update
* update
* Remove consolo.log
* Update
* Fix
2024-02-21 12:34:19 +01:00