Ashley Harrison
1021f05e32
Accessibility: Make either tooltip or aria-label required when no button children present ( #109131 )
...
* ensure button must have tooltip/aria-label when no children
* fix violations
* restore some unnecessarily removed labels
* use types instead of interfaces as before
* further fixes
* fix unit test
* commit translations and fix unit test
* upgrade plugin-ui to 0.10.8
* set aria-label + unit tests
2025-08-05 12:04:35 +01:00
Ashley Harrison
6fcfa5f9e4
Internationalisation: Scope package translation keys ( #106844 )
...
* fix grafana-prometheus markup
* fix grafana-sql package translations
* Revert "fix grafana-sql package translations"
This reverts commit 3a85160deb .
* fix grafana-sql translations
2025-06-17 15:43:32 +01:00
Ashley Harrison
84eafb9a56
Internationalisation: Mark up @grafana/sql package ( #105842 )
...
* scaffolding for package
* crowdin scaffolding
* markup
* add translations
* fix locale location
* fix tsconfig?
* undo bundler change
* object tranlsations, expose loadResources and call in mssql
* prettier
* remove useTranslate
* extract translations
* last couple of fixes
* remove deleted files
2025-06-12 10:52:04 +01:00
Shubham Nainwal
5d62ec901d
VQB: Add selected columns to GROUP BY dropdown ( #106349 ) ( #106391 )
...
* feat: add selected columns support to GROUP BY dropdown
* feat(vqb): allow selecting columns in GROUP BY dropdown #106349
2025-06-11 15:04:48 +02:00
Smit Patel
e389407907
Grafana-[data,sql,ui]: Use named imports ( #105734 )
...
grafana-[data,sql,ui]: use named imports
2025-05-22 17:08:46 +01:00
Zoltán Bedi
b2ab99c10d
SQL: Fix builder crashes when any in selected ( #102871 )
2025-03-27 15:56:58 +01:00
cbadf9faad
Update dependency @react-awesome-query-builder/ui to v6.6.13 ( #98723 )
...
* Update dependency @react-awesome-query-builder/ui to v6.6.13
* Fix api changes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2025-03-25 16:02:27 +01:00
Zoltán Bedi and ismail simsek
5a7916133e
Chore: Remove sqlQuerybuilderFunctionParameters feature toggle ( #100809 )
...
* chore: remove `sqlQuerybuilderFunctionParameters` ff
* Update packages/grafana-sql/src/components/visual-query-builder/SelectRow.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2025-02-19 15:38:27 +01:00
Ivana Huckova
58a3e0ae86
Remove @grafana/experimental in @grafana/o11y-ds-frontend and @grafana/sql ( #99501 )
...
* Remove @grafana/experimental in @grafana/o11y-ds-frontend
* Remove @grafana/experimental in @grafana/sql
* Fix mock in test
2025-01-28 10:48:19 +01:00
Zoltán Bedi and Jack Baldry
85c696c4ad
SQL: Add macro support in select case ( #88514 )
...
* Feat: timeGroup macro handling in VQB
* Add tests
* Add functions to SQL ds
* Fix lint errors
* Add feature toggle
* Add rendering based on object
* Fix lint
* Fix CI failures
* Fix tests
* Address review comments
* Add docs
* Fix JSX runtime warnings
* Remove docs part that mentions suggest more macros
* Update docs/sources/shared/datasources/sql-query-builder-macros.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Add smoke test for this feature
* lint
* Add supported macros to influx
* Add setupTests.ts to include in tsconfig.json
* Import jest-dom instead of setupTests.ts
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-11-04 17:13:35 +01:00
Ashley Harrison
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
Zoltán Bedi
a1851b4c0a
SQL: change buttons aria-label to title ( #88744 )
2024-06-07 11:40:11 +02:00
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
Alex Khomenko
c4aca053e5
DateTimePicker: Return cleared value in onChange ( #88377 )
...
* DateTimePicker: Return cleared value in onChange
* Update story
2024-05-28 17:11:15 +03:00
Ashley Harrison
f1dbe39533
Chore: Improve typings ( #88282 )
...
* remove some type assertions
* some more type assertion fixes
* nicer
* shortcircuit while loop when hitting something that isn't an HTMLElement
2024-05-28 13:20:57 +01:00
Zoltán Bedi
a4fe7f39ea
E2E: Rewrite mysql tests to playwright ( #83424 )
...
* E2E: Rewrite mysql tests to playwright
* Fix lint
* Add more selectors and address comments
* Scope locators when locating text
* Don't run it 20 times
* Update new-datasource-variable to assert mysql
2024-03-19 23:07:48 +01:00
Gábor Farkas
29e8a355cb
sql: extract frontend code into separate package ( #81109 )
...
* sql: extract frontend code into separate package
* updated package version
2024-01-26 11:38:29 +01:00