Adela Almasan
9fced253f5
VizTooltips: Switch data links display to column ( #84828 )
2024-03-20 17:29:37 +02:00
Alex Khomenko
b9b42ba10f
Grafana/icons: Add icons package ( #82314 )
...
* Add separate icons package
* Update package.json
* Codeformat
* Use the new icon
* Sanitize SVGs
* Sync deps
* Add publish script
* Add pre-commit hook
* Test pre-commit
* Rename
* Comment out local dev configs
* Add generate action
* Update readme
* Update script
* Add license
* Rename icons to icons-generated
* Codeformat
* Update lerna
* Remove fill attribute from SVG path elements
* Revert lerna upgrade
* Update codeowners
* Add lint scripts
* Exclude more attributes
* Add missing deps
* Update lockfile
* Remove CI actions
* Remove generated components from VC
* Fix path
* Build ESM only
* Include cjs
* Update lockfile
* Move generated icons into src
* Update lockfile
* Sync deps with grafana
* Update lockfile
* Update lockfile
* Update package name
* Cleanup
* Memoize the components
* Publish esm only
* Do not overwrite props
* Add generate script to build
* Update comment
* Generate typedefs from index.ts
* test
* test
* Restore
* Add more complex icons
* Add readme
* Update lockfile
* Make the package private
* Move package exclusion to lerna.json
* Remove exclusion
* Revert
* test packages
* Fix
* Fix
* Revert
* Move generate icons script to the root
* Update script
* Remove icons script
* Move icons exclusion to package.json
2024-03-20 17:03:40 +02:00
Ida Štambuk
18eac9df9e
Feature toggles: Remove redshiftAsyncQueryDataSupport and athenaAsyncQueryDataSupport toggles ( #84653 )
2024-03-20 15:14:21 +01: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
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
renovate[bot]
9d058f8db0
Update dependency eslint-plugin-react to v7.34.1
2024-03-19 17:44:17 +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
Andreas Christou
6bb7ab261a
AzureMonitor: User authentication support ( #81918 )
...
* Stub out frontend user auth
* Stub out backend user auth
* Add context
* Reorganise files
* Refactor app registration form
* Alert for user auth service principal credentials
* AzureMonitor: Add flag for enabling/disabling fallback credentials for current user authentication (#82332 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Update azure-sdk
* Fix lint
* Update test
* Bump dependency
* Update configuration
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Docs review
* AzureMonitor: User authentication frontend updates (#83107 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Fix bug in authTypeOptions
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
* Update public/app/plugins/datasource/azuremonitor/components/QueryEditor/QueryEditor.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
* Add documentation links
* Fix broken link
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
* AzureMonitor: Update docs for current user authentication (#83440 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Update docs
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Feedback
* Spelling
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Docs review
* Update docs with additional configuration information
* Fix to appropriately hide the query editor
* Typo
* Update isCredentialsComplete
* Update test
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
2024-03-19 16:32:24 +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]
107dd15e12
Update dependency @types/eslint to v8.56.6
2024-03-19 14:58:44 +00:00
renovate[bot]
83597e6c37
Update dependency @swc/helpers to v0.5.7 ( #84725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:24:10 +00:00
renovate[bot]
bc0f054fa7
Update dependency @braintree/sanitize-url to v7.0.1
2024-03-19 11:20:26 +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
renovate[bot]
31bbd49459
Update dependency @rollup/plugin-terser to v0.4.4 ( #84550 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 10:37:33 +00: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
Agnès Toulet
7c17290da5
Chore: Fix Webpack config for Windows ( #84709 )
2024-03-19 09:36:54 +01:00
Tim Levett
d3571c399a
substring should be lowercase ( #84682 )
2024-03-18 16:40:46 -05: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
b1b65faf02
Variables: Support static keys in AdHocFiltersVariable ( #83157 )
...
* initial start
* don't use getTagKeysProvider
* some cleanup
* undo kinds adjustment
* simplify
* remove async declaration
* add description and a couple of unit tests
* add transformSaveModelToScene test
* add tests for AdHocVariableForm
* add tests for AdHocFiltersVariableEditor
* update to defaultKeys
* fix snapshots
* update to 3.13.3
2024-03-18 16:12:00 +00:00
Rob
677b765dab
NodeGraph: Edge color and stroke-dasharray support ( #83855 )
...
* Adds color and stroke-dasharray support for node graph edges
Adds support for providing color, highlighted color, and visual display of node graph edges as dashed lines via stroke-dasharray.
* Updates node graph documentation
* Updates documentation
Adds default for `highlightedColor`
* Update docs/sources/panels-visualizations/visualizations/node-graph/index.md
Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com >
* Update packages/grafana-data/src/utils/nodeGraph.ts
Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/node-graph/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Removes highlightedColor; deprecates highlighted
Per [request](https://github.com/grafana/grafana/pull/83855#issuecomment-1999810826 ), deprecates `highlighted` in code and documentation, and removes `highlightedColor` as an additional property. `highlighted` will continue to be supported in its original state (makes the edge red), but is superseded if `color` is provided.
* Update types.ts
Missed a file in my last commit. Removes `highlightedColor` and deprecates `highlighted`.
* Add test scenario in test data source
---------
Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-03-18 16:26:22 +01:00
Erik Sundell
ebcca97052
Annotation query: Render query result in alert box ( #83230 )
...
* add alert to annotation result
* cleanup
* add tests
* more refactoring
* apply pr feedback
* change severity
* use toHaveAlert matcher
2024-03-18 14:26:56 +01:00
Levente Balogh
155e38edfe
Plugin Extensions: Add prop types to component extensions ( #84295 )
...
* feat: make it possible to specify prop types for component extensions
* Update packages/grafana-runtime/src/services/pluginExtensions/getPluginExtensions.ts
* chore: adapted test case
* chore: update betterer
* feat: update types for configureComponentExtension()
* fix: remove type specifics for `configureExtensionComponent`
* Update betterer config
---------
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
2024-03-18 15:14:51 +02:00
Isabella Siu
00f16cd018
CloudWatch Logs: Remove toggle for cloudWatchLogsMonacoEditor ( #84414 )
2024-03-18 08:56:57 -04: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
Josh Hunt
ed3bdf5502
I18n: Expose current UI language in @grafana/runtime config ( #84457 )
...
* I18n: Expose current UI language in Grafana config
* fix
2024-03-18 11:00:43 +00:00
Joey
f5e83d07a7
Tempo: Deprecate old search ( #84498 )
...
* Add logic to update query from old search to new search i.e. nativeSearch to traceqlSearch
* Remove nativeSearch query and transform
* Update tracking
* Remove nativeSearch from query field
* Udpdate gen comment
* Fix tests
* Add tests
* Remove comments
* Remove log
* Remove log
* Update comment
* Update ids etc for migratedQuery
* Remove old nativeSearch folder
* Fix tests, manual testing
2024-03-18 09:17:10 +00:00
Josh Hunt
f2628bfad4
Whitelabelling: Override version in UI from config ( #84392 )
...
* Unify how the version is shown in the UI
* use versionString in dashboard help bundles
* fix lint
* remove comment
* fix test types
* make test less flakey
2024-03-15 18:39:13 +02:00
Drew Slobodnjak
f273681956
Canvas: Add vertex control to connections ( #83653 )
...
* Canvas: Add vertex control to connections
* Add function for vertex conversion
* Add vertex interface
* Add future vertex handling
* Only show vertices when connection selected
* Add vertices to save model
* Apply select constraint to first midpoint
* Add some infrastructure for vertex edit
* Render vertex edit and capture events
* Save vertex edit on button release
* Handle adding new vertices
* Limit number of vertices to 10
* Handle zoom for vertex edit and creation
* Rename future to add
* Remove more references to future
* Remove unsued console log
* Clean up styles
* Add some clarity for path generation
* Add clarity to connections event handling
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-03-15 09:35:07 -07: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
Isabella Siu
a0b68deae4
Cloudwatch: Remove cloudWatchWildCardDimensionValues feature toggle ( #84329 )
2024-03-15 09:49:53 -04:00
renovate[bot]
7a28ce7795
Update dependency eslint-webpack-plugin to v4.1.0 ( #84571 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 13:04:38 +00: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
Jack Westbrook
0acb400248
Chore: Remove unused rollup plugin dependencies ( #84492 )
...
* chore(runtime): remove unused rollup-plugin-terser dependency
* chore(packages): remove more unused rollup plugins
2024-03-15 12:02:27 +01: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
Nick Richmond
8389ce3862
Prometheus: Fix incorrect baseline in classic histogram ( #83863 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-03-15 02:49:13 +02:00
renovate[bot]
6d19894a7d
Replace dependency rollup-plugin-terser with @rollup/plugin-terser 0.1.0 ( #84487 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 16:01:58 +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
Gilles De Mey
8765c48389
Alerting: Remove legacy alerting ( #83671 )
...
Removes legacy alerting, so long and thanks for all the fish! 🐟
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Sonia Aguilar <soniaAguilarPeiron@users.noreply.github.com >
Co-authored-by: Armand Grillet <armandgrillet@users.noreply.github.com >
Co-authored-by: William Wernert <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-03-14 15:36:35 +01:00
Gilles De Mey
336acaf0bf
Alerting: Promote new alerting detail view ( #84277 )
2024-03-14 15:18:01 +01:00
Laura Fernández
38a8bf10f3
TimeRangePicker: Show UTC+00:00 instead of just UTC ( #84395 )
2024-03-14 13:06:34 +01:00
linoman
831ee9ee16
samlsettings: add sso settings saml feature flag ( #84433 )
...
* add feature flag for ssosettings saml configuration
* add generated files
2024-03-14 12:04:45 +01:00
Dmitry Filimonov
33154abcd9
FlameGraph: adds ability to add context menu items ( #81675 )
...
* pyroscope: adds ability to add context menu items
* moves things around
* removes console.log
* improvements
* Change the extra context button API shape
* Add test
* lint
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-03-14 11:00:30 +01:00