Zoltán Bedi
76af73b3f3
Update @grafana/plugin-ui dependency to version ^0.10.10 across multiple packages ( #110433 )
2025-09-02 19:05:56 +02:00
Zoltán Bedi
db0a1bc30f
Remove sqlDatasourceDatabaseSelection feature toggle ( #109391 )
...
* Remove `sqlDatasourceDatabaseSelection` feature toggle
* Update e2e tests
2025-08-12 15:22:30 +02:00
grafana-pr-automation[bot]
20d253fc39
I18n: Download translations from Crowdin ( #109502 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-12 08:42:56 +00:00
Josh Hunt
f836ea2ada
CI: Switch jest unit tests to self-hosted runners ( #109304 )
...
* trigger a workflow run for baseline
* attempt to improve caching with upfront action
* CYPRESS_INSTALL_BINARY: 0
* PUPPETEER_SKIP_DOWNLOAD: true
* use ubuntu-x64-large runners
* increase to 16 shards 🚀
* fix incorrect shard total
* ubuntu-x64 runners
* Revert "ubuntu-x64 runners"
This reverts commit 3411c7c5e1039263b17a3065cd7d45fa4c3c8f69.
* try caching node_modules
* fix flakey scopes test
* try just ubuntu-x64-large for yarn-install job
* run again, last one had a dodgy trace
* try different runners for yarn instlal
* Move node_modules cache steps to composite action, use ubuntu-x64 runners for everything
* fix duplicate runs-on
* specify shell for composite action
* fix some flaky tests
* update codeowners
* dedupe yarn.lock
* align yarn action, switch tests back to ubuntu-x64-large
* align yarn action cache keys
* fix required-frontend-unit-tests not checking repo out
* try without the node_modules magic
* actually skip the node_modules caching magic
* skip hardened mode
* skip downloading cypress
* comment
2025-08-08 14:31:14 +01:00
Josh Hunt
72a56ad503
Chore: Remove @grafana/tsconfig ( #109186 )
...
* Chore: Remove @grafana/tsconfig
* update codeowners
* revert changes to grafana-plugin-configs
2025-08-06 15:34:34 +01:00
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
renovate[bot]
50ead8d463
Update testing-library monorepo ( #109121 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-04 12:45:52 +00:00
renovate[bot]
bfa6bb0264
Update dependency typescript to v5.9.2 ( #109025 )
...
* Update dependency typescript to v5.9.2
* remove unused ts-expect-error
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-08-01 11:24:38 +01:00
renovate[bot]
a3e1920983
Update dependency ts-jest to v29.4.0 ( #108964 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-31 11:14:02 +01:00
renovate[bot]
ae15ba562e
Update dependency @types/node to v22.17.0 ( #108936 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 16:47:15 +01:00
Zoltán Bedi
3ff4c6a2d2
Postgres: Switch the datasource plugin from lib/pq to pgx ( #108443 )
...
* Postgres: Switch the datasource plugin from lib/pq to pgx
* Fix lint
2025-07-30 14:47:25 +02:00
Kevin Minehart
22bcd4dab4
Chore: bump version to 12.2.0-pre ( #108623 )
...
* bump version to 12.2.0-pre
* make gen-cue
2025-07-24 21:25:26 -05:00
renovate[bot]
1a879abd4e
Update dependency @types/node to v22.16.5 ( #108431 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 11:04:32 +01:00
renovate[bot]
abd519899f
Update dependency @testing-library/react to v16.3.0 ( #108428 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-22 08:47:52 +00:00
grafana-pr-automation[bot]
bf4940f677
I18n: Download translations from Crowdin ( #108285 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-18 00:39:17 +00:00
grafana-pr-automation[bot]
3fb0e8cd2c
I18n: Download translations from Crowdin ( #108200 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-17 09:35:11 +00:00
grafana-pr-automation[bot]
2c0cfb0dc7
I18n: Download translations from Crowdin ( #108089 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-15 00:38:35 +00:00
renovate[bot]
e22ace4031
Update dependency react-select to v5.10.2 ( #108030 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 05:41:33 +00:00
renovate[bot]
e4f78c462e
Update dependency react-virtualized-auto-sizer to v1.0.26 ( #105005 )
...
* Update dependency react-virtualized-auto-sizer to v1.0.26
* fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-07-11 14:04:04 +00:00
renovate[bot]
35bf093201
Update dependency @types/systemjs to v6.15.3 ( #107774 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-08 12:56:49 +00:00
renovate[bot]
2fabedc363
Update dependency @types/lodash to v4.17.20 ( #107767 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-08 11:50:43 +00:00
grafana-pr-automation[bot]
d22842b52b
I18n: Download translations from Crowdin ( #107750 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-08 10:03:08 +00:00
Ashley Harrison
31b71f79dd
Internationalisation: Manual mark up following review ( #107625 )
...
* mark up and add confirmText to lint rule
* mark up and add ariaLabel to lint rule
* add confirmText to propertiesToCheck
* mark up and add body to propsToCheck
* mark up latest
* mark up 'Dashboard saved'
* mark up filterbyvalue options
* mark up tooltip options
* mark up and add lint rules for noOptionsMessage/loadingMessage
* mark up 'Convert field type'
* mark up placeholderText/noOptionsMessage
* mark up run query
* mark up variable editor fields
* mark up week start options
* mark up dashboard link options
* mark up prom options
* mark up builder/code toggles
* make CI happy
* kick CI
2025-07-07 16:43:19 +01:00
renovate[bot]
17ecd4c051
Update dependency typescript to v5.8.3 ( #101501 )
...
* Update dependency typescript to v5.8.3
* get correct window type
* fix @grafana/data
* update lockfile
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-07-04 14:43:01 +01:00
Hasith De Alwis
976746c05b
PostgreSQL: Fix error on panel when toggling sqlDatasourceDatabaseSelection feature ( #106965 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2025-06-27 10:08:12 +00:00
renovate[bot]
aecac275f5
Update dependency uuid to v11.1.0 ( #106999 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-19 17:20:12 +01:00
Andrew Hackmann
df33310530
Partner data sources: Remove horizontal groups ( #106868 )
...
* remove horizontal groups:
* remove space
2025-06-18 17:16:21 +01:00
renovate[bot]
c463e3a6e4
Update dependency @grafana/plugin-ui to v0.10.7 ( #106910 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 13:08:56 +01:00
renovate[bot]
4bfd7b6d7c
Update dependency immutable to v5.1.3 ( #106838 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 10:24:39 +02:00
grafana-pr-automation[bot]
5448e8fb22
I18n: Download translations from Crowdin ( #106866 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-18 02:32:30 +02: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
kay delaney
9a17e9abd6
Chore: Bump node to v22.16.0 ( #106758 )
2025-06-16 17:29:07 +02: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
Victor Ubahakwe
f71a2062eb
VQB: Allow custom table names in TableSelector ( #106420 )
...
* feat(sql): allow custom table names in TableSelector
Restores the ability to enter custom table names not present in the database
by adding `allowCustomValue` to the Select component. This matches previous
functionality where users could manually specify table names not returned
by db.tables().
fixes : #106348
* empty line 45
2025-06-11 10:29:37 +02:00
beejeebus
6a0cf22b53
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )" ( #106270 )
...
This reverts commit 1e383b0c1e .
2025-06-03 08:45:07 -04:00
Zoltán Bedi
1e383b0c1e
Postgres: Switch the datasource plugin from lib/pq to pgx ( #103961 )
...
* Create libpqToPGX feature toggle
* Refactor PostgreSQL datasource to support PGX with feature toggle
- Updated `ProvideService` to accept feature toggles for enabling PGX.
- Modified integration tests to use the new PGX connection method.
- Introduced new functions for handling PGX connections and queries.
- Enhanced TLS configuration handling for PostgreSQL connections.
- Updated existing tests to ensure compatibility with PGX and new connection methods.
* Update PostgreSQL datasource to enhance connection pooling and error handling
- Increased `MaxOpenConns` to 10 in integration tests for improved connection management.
- Refactored connection handling in `newPostgresPGX` to return a connection pool instead of a single connection.
- Updated health check error handling to utilize context and feature toggles for better error reporting.
- Adjusted `DisposePGX` method to close the connection pool properly.
- Enhanced query execution to acquire connections from the pool, ensuring efficient resource usage.
* Cleanup
* Revert postgres_test unnecessary changes
* Rename feature toggle from `libpqToPGX` to `postgresDSUsePGX`
* Add null check to dispose method
* Fix lint issues
* Refactor connection string generation
* Address comment in health check file
* Rename p to pool
* Refactor executeQueryPGX and split into multiple functions
* Fix lint issues
* The returning error message from PGX is enough no need to separate the error code.
* Move TLS handling to newPostgresPGX function
* Disable ssl for integration tests
* Use MaxIdleConns option
* Remove old feature toggle
* Rename`generateConnectionConfigPGX` to `generateConnectionStringPGX`
* Add back part of the error messages
* Don't show max idle connections option when PGX enabled
* Address comments from Sriram
* Add back Sriram's changes
* PostgreSQL: Rework tls manager to use temporary files instead (#105330 )
* Rework tls manager to use temporary files instead
* Lint and test fixes
* Update pkg/tsdb/grafana-postgresql-datasource/postgres.go
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update betterer
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-05-26 08:54:18 +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
renovate[bot]
e841674745
Update dependency react-select to v5.10.1 ( #104907 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-22 09:06:46 +00:00
renovate[bot]
a3c6b7c28d
Update dependency rxjs to v7.8.2 ( #105351 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 14:34:29 +00:00
renovate[bot]
10b097efa4
Update dependency @react-awesome-query-builder/ui to v6.6.15 ( #105716 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 10:55:43 +00:00
renovate[bot]
7361537253
Update dependency @grafana/plugin-ui to v0.10.6 ( #105715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 11:53:11 +02:00
Kevin Minehart
f7216db6bc
Chore: bump version to 12.1.0-pre ( #104468 )
...
bump version to 12.1.0-pre
2025-04-24 15:47:14 +01:00
renovate[bot]
fbfc943927
Update dependency @react-awesome-query-builder/ui to v6.6.14 ( #103732 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 09:16:21 +01:00
renovate[bot]
5e923bbab8
Update dependency @grafana/plugin-ui to v0.10.5 ( #103690 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 15:50:36 +01:00
Zoltán Bedi
b2ab99c10d
SQL: Fix builder crashes when any in selected ( #102871 )
2025-03-27 15:56:58 +01:00
renovate[bot]
736f94f09c
Update dependency @grafana/plugin-ui to v0.10.4 ( #101459 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 08:33:00 +01:00
renovate[bot]
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
Yuri Tseretyan
674d81d7ee
Chore: Bump version of front-end modules to 12.0.0-pre ( #102615 )
...
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2025-03-21 17:35:55 +02:00
Zoltán Bedi
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