589340e03c
GrafanaUI: Deprecate Select in favor of Combobox ( #100294 )
...
* GrafanaUI: Deprecate Select
* add deprecated decorator to stories
* tweak message
2025-02-14 16:07:26 +00:00
861686adaa
Combobox: Tighten up storybook documentation ( #100313 )
...
* Add JSDoc comments to more props
* Remove in-dev decorator
* reword MDX documentation and add migration guide
2025-02-14 17:34:44 +02:00
da66060f75
Grafana/ui: Export UsersIndicator ( #100698 )
...
grafana-ui: Export UsersIndicator
2025-02-14 11:58:42 +02:00
dc3de1a1d5
Badge: Add darkgrey color ( #100699 )
2025-02-14 11:57:30 +02:00
5aeaa18ac2
Canvas: One click links and actions ( #99616 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-13 11:46:29 -06:00
2bdeb727cf
Chore: Bump react-router to v5.3.4 ( #100500 )
2025-02-13 18:36:16 +02:00
afe8b08a48
MultiCombobox: Fix labels disappearing on selected items when filtering ( #100602 )
...
* Fix label disappearing on filtering
* Remove only from test
* Fix custom value test
2025-02-13 16:03:54 +02:00
fbf96916aa
Alerting: Use alerting-specific error boundary for page components ( #99980 )
...
Use alerting-specific error boundary for page components
2025-02-13 09:20:45 +01:00
3dcd885644
Data links: Show oneClick option just for specific panels ( #100298 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-12 16:14:52 -06:00
21861867c1
Combobox: Fix broken styles for options ( #100536 )
...
Add basicOption styles to Combobox
2025-02-12 18:51:39 +02:00
cfc529cb03
Design/Theme: Change dropdown background in dark themes ( #100415 )
...
* Dropdowns: Change background for Selects/Comboboxs
* Update
* Update
* Review fixes
* Update
2025-02-12 17:22:56 +01:00
b44b82606a
MultiCombobox: Add grouping ( #100297 )
2025-02-12 11:19:28 +01:00
79bd3ffd8c
Update dependency rollup-plugin-esbuild to v6.2.0 ( #100421 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 14:44:41 +00:00
8c0e087ce2
Update dependency esbuild to v0.25.0 [SECURITY] ( #100426 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 16:04:18 +02:00
bbe21bb1d2
Bump Scenes to 5.42.0 ( #100205 )
...
* update scenes and weekStart prop type
* update test
* adjust weekStart type in schemaV2
* clean up weekStart error message
* clean up weekStart in test data
2025-02-11 13:20:47 +00:00
43d7d00247
Combobox: fix check for existing options when creating a custom value ( #100123 )
2025-02-11 14:13:42 +01:00
9bdacf3833
DesignSystem: Menu and popover styling update to use new elevated background token ( #100255 )
...
* DesignSystem: Menu and popover styling tweak proposal
* Fix submenu
* Themes: Add elevated prop
* Update themes
* update
* Fixed tests
* Update
* fix markdown lint
* Update packages/grafana-data/src/themes/createColors.ts
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* Update contribute/style-guides/themes.md
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* Update
* Update
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-02-11 12:27:04 +01:00
d87ef806f0
LoadingBar: Use a theme variable instead of hardcoded hex color ( #100407 )
...
use the theme variable in our loadingbar instead of a hardcoded hex color
2025-02-11 11:17:15 +00:00
e5154ce799
Combobox: Add tests for labels with Combobox ( #100044 )
...
* Add tests for labels with Combobox
* clean
2025-02-11 09:44:38 +00:00
f2d34254d3
Panel: Editor theme can't change ( #99621 )
...
editor theme can't change
2025-02-11 09:51:59 +02:00
27ece859e7
MultiCombobox: Export from grafana/ui ( #100368 )
...
* MultiCombobox: Export from grafana/ui
* Fix typos
* Update options styles
2025-02-10 17:37:17 +02:00
dec07c4c34
Update-faro-versions-in-grafana-packages ( #100354 )
...
* update faro versions in grafana-runtime
* update faro packages in root
* update Faro version in Grafana UI
* upgrade faro version in grafana-prometheus
* replace deprecated type
2025-02-10 15:07:32 +01:00
68700e3d7d
TimeRangePicker: Options list padding ( #100343 )
2025-02-10 14:12:23 +01:00
2518012569
grafana-ui: Update InlineField error prop type to React.ReactNode ( #100347 )
2025-02-10 13:46:46 +02:00
f5c049012b
Chore: Data links and Actions components refactor ( #100097 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-07 20:03:05 -06:00
bce05cd48d
VizActions: Add confirmation message ( #100012 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-02-07 16:58:09 -06:00
79d7e11fa4
Menu: Uniform padding to make menu item hover state look better ( #100275 )
...
* Menu: Uniform padding
* tweak menu header
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-02-07 19:07:10 +01:00
be42685852
Dashboards: Add tabs layout ( #100127 )
2025-02-07 16:50:53 +02:00
53030e7960
Card: Render description element based on children type ( #100276 )
2025-02-07 16:39:13 +02:00
882b993496
Card: Use div for description ( #100272 )
2025-02-07 15:30:22 +02:00
c43517d278
Explore: Fix resizing split view with Loki query editor ( #100257 )
2025-02-07 12:05:45 +01:00
677060862c
Combobox: Fix list not being virtualized initially in some cases ( #100188 )
...
* Combobox: Set arbitrary initial max size
* Remove ?
* Set initial values to 0
2025-02-06 17:34:52 +01:00
f8509273cb
Slider: Fix text input box being too wide ( #100138 )
...
* Fix Input width from className not being respected
* Also use width prop in Slider
2025-02-06 16:14:38 +00:00
7d3a77a45c
Themes: Add new theme definitions behind feature toggle ( #100129 )
...
* create new toggle
* add survey link behind feature toggle
* fix translations
* better theme structure
* add all the themes back
* update matrix
* fix mars contrast
* fix color contrast probs with tron
* fix a11y issues with synthwave/victorian themes
* fix aubergine/zen
* rename green + gold
* rename to space
* rename, only enable 4 for grafanacon
* add survey link
* fix info color in sapphiredusk
* handle extra themes in storybook
2025-02-06 11:08:04 +00:00
d5f1f4eb5c
ComboBox: Fall back to substring matching for symbols/operators ( #100148 )
2025-02-06 09:33:08 +00:00
f89da88f0f
Storybook: Support an arbitrary number of themes ( #100111 )
...
* support more themes in storybook
* default to dark theme
* fix type error
* change theme in docs container
* add TODO
* only show extra themes in development mode
* add comment
2025-02-06 09:16:47 +00:00
bb15f24dcd
Alerting: Update design of rule details tab and add updated by
( #99895 )
2025-02-04 16:56:17 +02:00
eb2f8182c0
Dashboards: Allow custom quick time ranges specified in dashboard model ( #93724 )
...
* TimeRangePicker: allow to customize quick ranges per dashboard
* TimeRangePicker: show selected custom time range using its name
* rangeutil: add tests for describeTextRange + quickRanges
* Fix up tests, and add an extra case for hidden time ranges
* Don't construct an object to find options, add findRangeInOptions util
* fix type errors detected by TypeScript
---------
Co-authored-by: joshhunt <josh@trtr.co>
2025-02-04 14:36:28 +00:00
88c62cd828
Chore: Manually update versions and update grafana-test-datasource
to "workspace:*" ( #99999 )
...
* baldm0mma/ manually update deps and run yarn
* baldm0mma/ update version from workspace to actual version
* baldm0mma/ revert some workspaces
* baldm0mma/ update workspace
* baldm0mma/ update deps
2025-02-03 15:12:05 -07:00
74e3beabd0
MultiCombobox: add CustomValue
as an option ( #99815 )
2025-02-03 11:41:54 +01:00
9ae5552cab
Update testing-library monorepo ( #99889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-31 13:30:24 +00:00
2df05505db
MultiCombobox: Add Clear all
button ( #99668 )
2025-01-30 11:44:15 +01:00
e61036271a
Update dependency react-select to v5.10.0 ( #99775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-30 09:47:58 +00:00
3954a1948c
Data links: Remove messaging around deprecating compact Explore URLs ( #99780 )
2025-01-29 13:44:09 -06:00
1795a2b4e3
Bar Gauge: Add extra padding for scrollbar ( #99722 )
...
* Add extra padding in bar gauge if scroll exists
* Add thin scroll bars, and fix test
* add comment about height calculation
2025-01-29 13:02:56 -06:00
03f89a1925
MultiCombobox: Show placeholder
when there is no options selected ( #99743 )
2025-01-29 15:02:53 +01:00
52a6c27d99
VizTooltip: Check useragent to perform consistently on all mobile devices ( #99655 )
...
* Add useragent check to be comprehensive
* move check outside function and add hopefully clarifying comment
2025-01-28 16:00:15 +02:00
8b9d4d1358
Update dependency @types/node to v22.12.0 ( #99638 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 13:37:10 +00:00
9d635edd0e
MultiCombobox: Async options ( #99469 )
...
* remove managed isOpen state, add hook to abstract away options/async functionality
* split useOptions into new file
* refactor stories
revert combobox stories to what's in main. I screwed up that rebase
* change onChange type, clean up what calls onChange, add debounce and useLatestAsyncCall
* tests (mid trying to figure out the act stuff)
* tests
* debounce-promise doesn't work with rollup?
* just some minor code clean up
* fix type import
2025-01-28 13:36:59 +00:00
8c2824cf3b
MultiCombobox: Autosize ( #99510 )
...
* Add input auto resizing
* Initial auotsize
* Initial implementation
* Remove px
* Remove unused import
* Handle backspace and support the width prop
* Make sizing work with useComboboxFloat
* Remove unused expression
* Add supoport for min and max width
* Change space for clicking
2025-01-28 11:03:08 +01:00