Tobias Skarhed
92491dd78c
New Select: Semi-dynamic option width support ( #92284 )
...
* Fix button role and input id
* Use static height and dynamic width
* Estimate dynamic width
* Extract constant
* Remove unused code
* Extract dynamic width into a hook
* Remove console.log
* Add comment to the constants
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>
* Update packages/grafana-ui/src/components/Combobox/getComboboxStyles.ts
---------
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>
2024-08-27 15:51:25 +02:00
Ashley Harrison
2318e32c9f
Chore: Migrate legacy dropdown
styles to emotion/angular file ( #92282 )
...
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
renovate[bot]
a99e32947a
Update dependency @floating-ui/react to v0.26.23 ( #92470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 13:44:26 +03:00
Jack Westbrook
c0a719caa7
Datalinks: Fix context menu position for body scroll ( #92389 )
...
* fix(datalinks): position context menu offest to vertical window scroll
* feature toggle change
* enhance boot data mock with empty featureToggles
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-27 13:28:48 +03:00
Marcus Andersson
95409f53d2
Bugfix: QueryField typeahead missing background color ( #92216 )
...
Added missing styles to the typeahead menu.
2024-08-22 16:16:48 +01:00
Ashley Harrison
e675455502
PublicDashboards: Fix public dashboards when publicDashboardsScene
is enabled ( #92187 )
...
* fix public dashboards pages when publicDashboardsScene is enabled
* properly handle react-grid-layout at small screen sizes
* use unset instead of auto
2024-08-21 16:16:12 +01:00
Torkel Ödegaard
4bc64dd747
Page/Body: Only show scrollbar lane gutter when needed ( #92186 )
...
* Page/Body: Only show scrollbar lane gutter when needed
* Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-21 14:44:12 +02:00
Ashley Harrison
4d82139a33
Chore: Migrate _button
SCSS styles to emotion globals ( #92135 )
...
migrate button styles to emotion globals
2024-08-21 12:46:30 +01:00
renovate[bot]
f26258984a
Update dependency core-js to v3.38.1
2024-08-21 11:30:50 +00:00
renovate[bot]
9494e9b847
Update dependency @types/react-transition-group to v4.4.11
2024-08-21 10:58:24 +00:00
Ashley Harrison
292982f30b
Collapse: stop cropping focus rings ( #92190 )
...
remove overflow: hidden; from bodyContentWrapper
2024-08-21 11:01:53 +01:00
Leon Sorokin
74ebc66520
VizTooltip: Fix positioning at bottom and right edges on mobile ( #92042 )
2024-08-20 08:48:37 -05:00
renovate[bot]
90c5845b72
Update React Aria
2024-08-20 09:36:55 +00:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 ( #91678 )
...
* Update dependency typescript to v5.5.4
* fix missing typeof
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-20 10:11:57 +01:00
Ashley Harrison
ab312914cd
Chore: cleanup util SCSS styles ( #92078 )
...
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Ihor Yeromin
5233e4b47f
Stat: Fix double-zero percent render ( #91848 )
...
fix(stat): percent zero case
2024-08-20 04:25:15 +03:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 ( #92056 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
Drew Slobodnjak
d3c6e2b203
Table: Avoid rtl when using datalinks with units ( #92038 )
2024-08-16 15:42:20 -07:00
Tobias Skarhed
b0031c0781
New Select: Set highlighted index to selected item on open ( #91951 )
...
* Set highlighted index on open
* Remove console log
* Use defaultHighLightedIndex
2024-08-16 14:47:39 +02:00
Kyle Cunningham
f14fd5828a
Table panel: Improve cell inspector ( #91862 )
...
* Improve cell inspector
* Update types
* Prettier
* Type checking fixes
2024-08-15 22:04:36 +07:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre ( #91863 )
...
* bump version 11.3.0-pre
* fix linters with: yarn run prettier:write
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-08-14 18:34:14 -03:00
Adela Almasan
f6b55ced6f
Canvas: Remove null
data links ( #91859 )
2024-08-14 23:58:39 +03:00
Kyle Cunningham
40144eb3c8
Table: Fix edge case where text wrapping crashes on undefined header widths ( #91850 )
...
Make sure we don't read from header groups if it's undefined
2024-08-15 01:49:28 +07:00
Torkel Ödegaard
db5d8f03b7
Drawer: Fixes incorrect mask background and flickering ( #91890 )
2024-08-14 16:04:35 +02:00
Yulia Shanyrova
8044cb50f1
Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel ( #90325 )
...
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel
* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments
* Fix the typo
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
* hasAccessToExplore
* changes after review, add translations
* fix betterer
* fix betterer
* fix css error
* fix betterer
* fix translation labels, fix position of the right panel
* fix the build
* add condition to show updatedAt for plugin details
* add test to check 2 new fields at plugin details right panel;
* change the gap and remove report abuse button from core plugins
* add more tests
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-08-13 11:55:30 +02:00
Domas
6dce2ecbde
Sparkline: Support spanNulls graph config prop ( #91797 )
...
support spanNulls config prop for sparkline
2024-08-12 15:36:52 +03:00
Ashley Harrison
369cd6f81e
Chore: Migrate dashboard_grid
styles to emotion ( #91673 )
...
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
Ashley Harrison
dface46474
Chore: Migrate gf-form
classes to emotion globals ( #91632 )
...
* migrate gf-form classes to emotion globals
* should be sm due to the different way the breakpoints work
2024-08-12 13:16:16 +01:00
Ashley Harrison
78f78753c7
Chore: Migrate Modal
SCSS styles to emotion ( #91569 )
...
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
Adela Almasan
9001b2e0ee
Datalinks: UX update ( #91657 )
2024-08-08 09:17:09 -05:00
renovate[bot]
d5848384f8
Update dependency core-js to v3.38.0 ( #91633 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:11:22 +01:00
renovate[bot]
f0d0fa901a
Update dependency @floating-ui/react to v0.26.22 ( #91622 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 14:05:58 +01:00
Ashley Harrison
e8d5d5fbff
Storybook: Fix Input
story ( #91564 )
...
fix type + prefix/suffix
2024-08-07 11:05:20 +01:00
Adela Almasan
e91f16fc46
Datalinks: UX improvements ( #91352 )
2024-08-06 19:10:37 +03:00
renovate[bot]
0dbfeb0c6e
Update dependency @floating-ui/react to v0.26.21 ( #91572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 15:28:05 +03:00
Ashley Harrison
2e3f48a49d
Navigation: Fix browse dashboards/scenes dashboards when bodyScrolling
is enabled ( #91479 )
...
set explicit height (not min-height) so everything works in safari
2024-08-06 09:51:31 +01:00
renovate[bot]
670132ead8
Update dependency @types/node to v20.14.14
2024-08-02 09:56:04 +00:00
Ashley Harrison
ce8f5b5e1a
Navigation: Fix <Portal>
when bodyScrolling
is enabled ( #91335 )
...
fix portal when bodyScrolling is enabled
2024-08-02 10:29:51 +01:00
renovate[bot]
d8245966a4
Update dependency rc-cascader to v3.27.0 ( #91396 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 16:25:47 +03:00
Ashley Harrison
66bfb31d8e
Tooltip: Handle case where document.body
is the scrolling element ( #91385 )
...
* handle case where body is the scrolling element
* use instanceof Node instead
2024-08-01 13:34:23 +01:00
Drew Slobodnjak
e6531d0ecd
Table: Fix negative numbers during rtl styling ( #91347 )
...
* Table: fix negative numbers during rtl styling
* revert field config unit check as it is no longer needed with fix implemented in this PR
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-07-31 15:28:24 -07:00
renovate[bot]
7570ea8c4f
Update babel monorepo ( #91079 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 16:32:58 +01:00
Victor Marin
24d2fad921
Fix long datalinks to fit in panel options editor ( #91203 )
...
fix long datalinks to fit in panel options editor
2024-07-31 17:26:50 +03:00
Esteban Beltran
782b725d87
Plugins Catalog: Display Request data source and view roadmap links ( #91175 )
...
* Add roadmap links to connection tab
* move to its own component
* add roadmaplinks to the catalog browse page
* use trans for text
* Change TextLink to accept ReactNode
* use Space component
* Add translations
2024-07-31 13:12:16 +02:00
Tobias Skarhed
ff54333881
Combobox: Add clear and reset onBlur ( #90943 )
...
* Add clear and reset onBlur
* use selectItem
* Use downshift hooks instead
* Fix Clear bug and extract i18n
* Remove useMemo from story
* Add loading state to many options story
* Set fallback to null
* Fix unused import
* Use onBlur and pass it to Downshift instead
2024-07-31 10:37:09 +02:00
renovate[bot]
e3842df675
Update dependency @types/node to v20.14.13
2024-07-30 11:57:59 +00:00
Leon Sorokin
90349b21f7
VizTooltip: Hide on page scroll even if anchored ( #91084 )
2024-07-26 22:27:49 +03:00
Kavindu Nilshan
0b822478b6
Resolved the issue stated in issue #90426 . ( #90465 )
...
* Resolved the issue stated in issue #90426 .
* Method created to get the length of the url.
* Applied the length logic and intentional fall through in switch.
* Changed the way length calculated
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* Remove un-used method getUrlLength
* Refactoring
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
2024-07-25 10:06:23 -06:00
Adela Almasan
0a870e6a88
Canvas: Element data links refactor ( #90636 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-07-25 07:13:21 -05:00
Laura Fernández
944cc87f65
Combobox: Styling for dropdown ( #90140 )
...
* Add getSelectStyles
* Modify combobox styles
* Fix option with description styles
* Add highlightedIndex
* Undo estimateSize changes
* Create getComboboxStyles
* Add floating ui to Combobox
* Use elements to apply existing refs
* Delete width on styles
* Fix menu styling
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
* Changes suggested in reviews
* Delete container styles
* Delete container styles
* Add calculated height to ul element
* Show all options in the many options story
* Replace deprecated code
* Remove console.log
* Fix ts error
* Fix ts error
* Fix val is mull error
* Fix ts error
* Add comment in the code
* Modify the comment
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-07-25 11:17:23 +02:00