Commit Graph

21760 Commits

Author SHA1 Message Date
Ashley Harrison
7ad2ec9665
EmptyState: use not-found empty state variant everywhere in core (#85007)
* use EmptyState component everywhere in core

* remove GrotNotFound core component

* update unit tests

* search -> not-found

* fix 3 more
2024-03-27 12:15:12 +00:00
Gilles De Mey
a574db6f64
Alerting: Fix removing nested policy (#85242) 2024-03-27 13:58:59 +02:00
Gilles De Mey
90a1e8a82f
Alerting: Make hovercard accessible (#85195) 2024-03-27 10:05:30 +01:00
renovate[bot]
e184520c61 Update dependency @types/react to v18.2.72 2024-03-26 20:04:28 +00:00
renovate[bot]
a256c064df Update dependency @types/react to v18.2.71 2024-03-26 17:26:50 +00:00
renovate[bot]
5146896264
Update dependency @kusto/monaco-kusto to v10 (#81382)
* Update dependency @kusto/monaco-kusto to v10

* match types + update mocks

* Add missing esModule

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-03-26 16:10:06 +00:00
kay delaney
08ef6e1a42
Scenes: Fix crash when searching panel options (#85180)
Closes #81883
2024-03-26 14:55:54 +00:00
Carl Bergquist
b214b07695
Scopes: Name relationship objects *binding (#84955)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com>
2024-03-26 15:52:12 +01:00
Karl Persson
c39b9b2cbe
EmailVerification: Generate emails after rename (#85175) 2024-03-26 15:50:11 +01:00
linoman
4e5bff0ada
Auth Drawer: Use redux store to load settings (#85110)
* use actions instead of importing the backend service

* Replace the test render for redux-rtl
2024-03-26 14:56:31 +01:00
Mihai Doarna
6ddced7ba8
SSO: add the missing fields to the okta provider (#85152)
* add the missing allowSignUp field to okta provider

* add autoLogin to okta
2024-03-26 14:45:45 +02:00
Andrej Ocenas
aba65747c9
Nodegraph: Fix issue with rendering single node (#84930)
Fix for single node graph case
2024-03-26 13:43:43 +01:00
Alex Khomenko
d105323f15
SaveDashboardForm: Remove deprecated Form usage (#84172)
* SaveDashboardForm: Remove deprecated Form usage

* Update
2024-03-26 14:14:17 +02:00
Torkel Ödegaard
d039a0a485
DataTrails: Fixes home page background issue to make Cards work better (#85055)
* DataTrails: Fixes home page background issue to make Cards work better

* Update DataTrailsHome.tsx
2024-03-26 10:39:56 +01:00
Erik Sundell
28ecd83987
Datasources: Add fixed width to name field in config editor (#84970)
add fixed width to name field
2024-03-26 10:13:09 +01:00
Darren Janeczek
5d477d711a
datatrails: do not show the "le" label (#85114)
fix: do not show the "le" label
2024-03-26 09:00:25 +01:00
Ryan McKinley
4cda34ff7d
Expressions: Create json schema for query types (#84032) 2024-03-26 06:58:56 +02:00
Darren Janeczek
2e06677240
datatrails: throttle the resetting of yaxis (#85117)
fix: throttle the resetting of yaxis
2024-03-25 19:33:57 -04:00
Darren Janeczek
7c03cc83c6
Datatrails: hide empty breakdown panels, improve loading status (#85028)
feat: hide empty breakdown panels, improve loading status
2024-03-25 18:56:03 -04:00
grafana-delivery-bot[bot]
99b5671fbe
Release: Bump version to 11.1.0-pre (#85115)
"Release: Updated versions in package to 11.1.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-03-25 21:44:28 +02:00
Juan Cabanas
bb5c5f38db
Scenes: Add reporting tab in share modal (#85086) 2024-03-25 16:37:00 -03:00
github-actions[bot]
82b82675f7
I18n: Download translations from Crowdin (#85006) 2024-03-25 10:59:46 +00:00
Ashley Harrison
36ee1571b6
EmptyState: Rename "search" variant to "not-found" (#85062)
* rename "search" variant to "not-found"

* run i18n:extract
2024-03-25 09:55:48 +00:00
Oscar Kilhed
6c6b93d8e0
Dashboards: Fix an issue where the dashboard would unmount and then mount again causing requests to cancel under some circumstances (#85003)
* Fix issue where dashboard unmounts and mounts again causing requests to be canceled

* Fix tests, add test
2024-03-25 09:28:36 +02:00
Brendan O'Handley
d084595211
Prometheus: Use frontend package in Prometheus DS with a feature toggle (#84397)
* add feature toggle usePrometheusFrontendPackage

* add feature toggle logic to Prometheus module

* use config editor with package and remove configOverhaul feature toggle

* update betterer because we will be removing other files as we replace with files from @grafana/prometheus

* fix exemplar ds picker selector

* add more description to ts-ignore

* remove go.work.sum change

* copy go.work.sum from main

* update go.work.sum after talking with ismail

* put back the promlib entry

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-03-22 19:47:53 -05:00
Nathan Marrs
cdb64cb7eb
Canvas: Address connection vertex bug (#85026) 2024-03-23 01:54:10 +02:00
Khushi Jain
076dd53a40
Chore: Remove gf-form from InfluxDB Annotation Query Editor (#84809)
Chore: Remove gf-form from Annotation Query Editor - Influx DB
2024-03-23 00:52:40 +01:00
Lars Stegman
188aed05f9
Transformer: Config from Query: set threshold colours (#83366)
* Fix typo

* Create handler arguments

* Create handler arguments editor

* Create link in editor

* Add labels to arguments editor fields

* Create unit tests

* Hide "Additional settings" header when no additional settings possible

* Remove div

* Fix invalid DOM

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-03-22 15:39:01 -06:00
Adela Almasan
5b0b8cb4bf
DashboardAI: UX improvements (#84934) 2024-03-22 15:39:26 -05:00
Nathan Marrs
26473a0074
Canvas: Add "infinite" pan / zoom functionality (#84968)
* attempt at solving issue and resetting bounds to match panel content

* cleanup failed experiments

* add toggle for infinite pan - dont love naming but open to suggestions; clean up scene transform function

* add ability to "infinite" zoom (i.e. render more canvas via zooming out)

* slight refactor

* revert refactor as it broke things
2024-03-22 21:38:45 +01:00
Darren Janeczek
810c224039
datatrails: synchronize the range of the y axis for all breakdown panels (#84781)
feat: sync the yaxis of breakdown panels
2024-03-22 16:19:11 -04:00
Dominik Prokop
b6cea0d7fe
VizPanelManager: Load default/last used data source if no data source specified for a panel (#84999) 2024-03-22 21:08:40 +01:00
Nathan Marrs
566cee7d6b
Canvas: Add ability to rotate elements (#83295) 2024-03-22 13:00:50 -07:00
Yuri Tseretyan
b9abb8cabb
Alerting: Update provisioning API to support regular permissions (#77007)
* allow users with regular actions access provisioning API paths
* update methods that read rules
skip new authorization logic if user CanReadAllRules to avoid performance impact on file-provisioning
update all methods to accept identity.Requester that contains all permissions and is required by access control.

* create deltas for single rul e 

* update modify methods
skip new authorization logic if user CanWriteAllRules to avoid performance impact on file-provisioning
update all methods to accept identity.Requester that contains all permissions and is required by access control.

* implement RuleAccessControlService in provisioning

* update file provisioning user to have all permissions to bypass authz

* update provisioning API to return errutil errors correctly

---------

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2024-03-22 15:37:10 -04:00
Drew Slobodnjak
0b4830ccfd
Canvas: Add corner radius option (#84873)
* Canvas: Add corner radius option

* Update connection radius logic

* Simplify angle calcs

* Simplify math to be a bit more clear and efficient

* Add checks for hyperbola behavior

* Prevent arc calcs if no radius

* Add comments for SOME clarity

* Add some more clarity to comments

* Fix linter issue

* Check for segment overlap for first vertex

* Update public/app/plugins/panel/canvas/components/connections/ConnectionSVG.tsx

* Add comment for calc clarity
2024-03-22 12:32:12 -07:00
Torkel Ödegaard
863a3d1c2c
TeamsTable: Improve user experiance with links (#84973) 2024-03-22 20:27:50 +01:00
Ezequiel Victorero
c57c033522
Snapshots: Viewers can not create a Snapshot (#84952) 2024-03-22 14:31:01 -03:00
Andreas Christou
4855751d0d
CloudMonitoring: Only run query if filters are complete (#85004)
* Only run query if filters are complete

- Update tests

* Fix tests
2024-03-22 19:06:51 +02:00
Yuri Tseretyan
e138ae3eb9
Alerting: Improve openAPI specification and docs for export endpoints (#85008) 2024-03-22 18:25:27 +02:00
Leon Sorokin
d7fa99e2df
XYChart: Refactor to new model (behind feature toggle) (#82499)
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-03-22 10:44:37 -05:00
Nathan Marrs
7df8d6e8cb
Canvas: Fix crash when trying to add wind turbine element (#84962) 2024-03-22 09:31:27 -06:00
ismail simsek
5c146c7832
InfluxDB: Fix querying with template variables without using regex operator (#84953)
* remove regex wrappers if the operator is not a regex operator

* fix import
2024-03-22 16:14:11 +01:00
Juan Cabanas
8d4ca72f2a
PublicDashboards: Scene migration (#84409) 2024-03-22 11:48:21 -03:00
Ashley Harrison
a0bcc44b63
GrafanaUI: Add new EmptyState component (#84891)
* add empty search state component

* extract translations

* nicer prop spreading

* actually expose component in grafana-ui

* use requestAnimationFrame

* add rollup-plugin-svg-import

* move to a single EmptyState component with variants

* update docs

* remove CTA

* add some more prop documentation

* just use 1 svg
2024-03-22 14:46:32 +00:00
github-actions[bot]
2ad1eef21f
I18n: Download translations from Crowdin (#84912)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-22 14:36:52 +00:00
Darren Janeczek
08c24e4133
datatrails: feat: metadata for metric panels (#84872)
* feat: metadata for metric panels

* fix: missing import?

* fix: async await to get description first

- also add description to metric-name-only panels

* fix: change description, remove from main viz

* fix: remove import
2024-03-22 10:05:20 -04:00
Darren Janeczek
a2795f1291
datatrails: fix: only show datatrails link for timeseries dashboard panels (#84942)
fix: only show datatrails link for timeseries dashboard panels
2024-03-22 10:05:03 -04:00
Ezequiel Victorero
d2dd15e223
PublicDashboards: Change tab title (#84997) 2024-03-22 10:55:43 -03:00
Adam Bannach
16737c5b27
InteractiveTable: Add expand all to column (#84966)
* feat: add expand all to InteractiveTable

* chore: pr feedback; type tightening and better testing practice

* chore: pr feedback; type cleanup
2024-03-22 15:55:04 +02:00
Andre Pereira
93ca49b785
Explore Metrics: Show toast when bookmarking (#84987)
* Show toast notification when bookmarking a trail

* Copy change

* Move to LinkButton

* Secondary solid button
2024-03-22 15:33:50 +02:00