Commit Graph

54441 Commits

Author SHA1 Message Date
Brendan O'Handley
2113c13e6e
Explore metrics: Add bookmarks empty state (#94291)
* add empty state component for bookmarks

* translations

* remove image, update text

* all text
2024-10-07 10:59:06 -05:00
renovate[bot]
1545a58d3c
Update dependency @grafana/scenes to v5.18.2 (#94321)
* Update dependency @grafana/scenes to v5.18.2

* fix e2e test

* update e2e test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-07 16:04:20 +01:00
Arati R.
ea5cf7c51f
Unified Storage /Folders: Allow Unified Storage subfolders creation (#94327)
* Add parents field to folder DTO
* Allow subfolder creation when folder flag is enabled
* Update UnstructuredToLegacyFolder
* Include parents field when creating folder
2024-10-07 16:48:56 +02:00
renovate[bot]
0d67b5a6e9 Update dependency jest-fail-on-console to v3.3.1 2024-10-07 14:48:24 +00:00
Ieva
d7aca7d0fe
Role mapping: Add group_mapping_uid column to user_role table (#93810)
* add group_mapping_uid column to user_role table

* add group mapping UID to user role struct
2024-10-07 15:47:16 +01:00
jackyin
63bdbb67fc
SubMenu: Fix expanding sub menu items on touch devices (#93208)
* click more in mobile phone

* use stopPropagation stop event

* delete log

* delete inspect click and add stopPropagation

* bug fix

* fix unit tests

* fix e2e tests

* fix old-arch tests

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-10-07 15:22:18 +01:00
grafana-pr-automation[bot]
1a3365d99b
I18n: Download translations from Crowdin (#94317)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-07 17:19:19 +03:00
renovate[bot]
72aa6d6e28 Update dependency i18next to v23.15.2 2024-10-07 14:08:19 +00:00
Brendan O'Handley
aefe08f738
Explore metrics: Add limit for adhoc filters options in providers functions (#94036)
* add limit for adhoc filters in providers functions

* add comments to describe function

* return early if filtersVariable is not an instance of AdHocFiltersVariable

* update function comments

* add tests to confirm the providers are limited to 10000
2024-10-07 09:06:50 -05:00
Lars Stegman
f9361bf5bf
PageHeader: Fill title container width (#94213)
page-header title: flex 1
2024-10-07 15:41:18 +02:00
Juan Cabanas
e2735dd9c8
ShareInternally: Remove menu item description (#94326)
Share internally menu item description removed
2024-10-07 10:36:36 -03:00
renovate[bot]
65fc40385a Update dependency eslint-plugin-react to v7.37.1 2024-10-07 13:33:33 +00:00
renovate[bot]
32c55555cb Update dependency @types/node to v20.16.10 2024-10-07 13:00:31 +00:00
Misi
0539ccf10d
Auth: Fix redirection when auto_login is enabled (#94311)
* Fix for SAML auto login

* Fix for OAuth auto login
2024-10-07 14:59:00 +02:00
Matheus Macabu
6bd2f9f3ea
CloudMigrations: remove duplicated import on test (#94322) 2024-10-07 15:32:52 +03:00
renovate[bot]
45835f7ea2 Update dependency @types/lodash to v4.17.10 2024-10-07 10:54:58 +00:00
Matheus Macabu
712314e832
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage (#94257)
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage

This feature toggle requires the `onPremToCloudMigrations` toggle to be enabled in order to work.

Given migration of Alerts (and child resources) is more critical, this flag was separated from
the main one.
2024-10-07 12:53:24 +02:00
Matheus Macabu
e89aef57cb
CloudMigrations: wire ngalert to cloud migration service and add slicesext.Map helper (#94254)
* CloudMigrations: add slicesext.Map function to simplify dto creation

* CloudMigrations: wire ngalert to cloud migration service
2024-10-07 12:53:14 +02:00
Matheus Macabu
9af095d730
CloudMigrations: Add data types for alerts resources (#94251) 2024-10-07 12:52:31 +02:00
Dana Axinte
d88be2819d
CloudMigrations: Store parent folder name in cloud_migration_resource table (#94009)
* use name in fe

* store parent folder name in local db

* clean up

* tiny test

* trial react

* rename to parent name

* go lint

* generate api and ts

* go tests

* rearrange

* clean

* update with suggestions from josh

* make library elements work

* updates from comments

* global migration types

* parent name for alter table
2024-10-07 11:35:08 +01:00
Arati R.
5a9bd1d1cf
K8s/Folders: Fix folder create payload (#94273)
* Fix createdBy and updatedBy
* Fix refreshing permission cache
* Update created time
* Fix user identifier parsing
2024-10-07 13:32:25 +03:00
Ashley Harrison
d04dcb3da0
SingleTopNav: Fix tab order for docked menu (#94306)
fix tab order for docked menu when singleTopNav is enabled
2024-10-07 11:16:30 +01:00
renovate[bot]
0c8433c9e5 Update dependency @react-types/overlays to v3.8.10 2024-10-07 10:10:31 +00:00
renovate[bot]
b65fc7c74e Update dependency @grafana/scenes to v5.18.1 2024-10-07 10:09:35 +00:00
maicon
261be0facd
UniStore: Evaluate Folder DTO attributes (#93968)
* UniStore: Evaluate Folder DTO attributes

* Handle AccessControl

* Reduce the number of parameters to newToFolderDto

* Detach Metadata helpers from HTTPServer

* Add tests

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2024-10-07 12:08:16 +02:00
renovate[bot]
5a7d6c104e Update dependency @grafana/faro-web-tracing to v1.10.2 2024-10-07 09:33:22 +00:00
Roberto Jiménez Sánchez
19c77eaae1
CloudMigrations: Fix traceability & HTTP Client initialisation (#94141)
* Add traceability to Migration Assistant feature

* Fix some compilation errors

* Fix lint issues

* Use async context

* Add trace for LibraryElements
2024-10-07 11:31:45 +02:00
Alex Khomenko
9680722b78
Dashboards: Switch to useParams hook (#94060)
* Update DashboardScenePage

* Update SoloPanelPage

* Update DashboardPage

* Cleanup

* Switch to useLocation

* Do not use location from history
2024-10-07 12:11:57 +03:00
Matheus Macabu
4bc7a35f56
UnifiedStorage: fix watcher test (#94301) 2024-10-07 12:07:48 +03:00
kay delaney
4569872048
Chore: Add tests for HelpWizard (#94271) 2024-10-07 10:02:01 +01:00
Jo
acd13e05ef
Teams: Support team UIDs in APIs (#94011)
* support team UIDs in APIs

* unify middleware logic and add team tests

* add UID test to resource permissions

* remove unused middleware
2024-10-07 10:18:24 +02:00
Tim Mulqueen
413548806d
add zendesk to enterprise ds list (#91751) 2024-10-07 11:10:20 +03:00
Georges Chaudy
03f55e5288
Unistore : Ensure Watch works in HA mode (#94120)
* Revert "Revert "Unistore : Ensure Watch works in HA mode." (#94097)"

This reverts commit 7c3fc2f261.

* make previous_resource_version nullable

* handle nil case
2024-10-07 10:01:53 +02:00
Alex Khomenko
3bda6c2c0a
Routing: Use location from hooks (#94148)
* Update GrafanaRoute

* Update Silences

* Update PublicDashboardPage

* Cleanup

* Switch to the location from locationService

* Move location to render
2024-10-07 09:31:13 +03:00
Alex Khomenko
d730c66579
Routing: Remove useRouteMatch hook (#94152)
* Update useSilenceNavData.ts

* Update MuteTimings

* Update AppRootPage.tsx

* Cleanup props

* Remove empty file
2024-10-07 08:21:44 +03:00
Brandon
fbad76007d
Alerting: Limit and clean up old alert rules versions (#89754) 2024-10-05 00:31:21 +03:00
Drew Slobodnjak
4ec75bcc60
Transformations: Show filter for single query (#94238) 2024-10-04 14:17:46 -07:00
Matthew Jacobson
099055e8a5
Alerting: Verify receiver permission read on rule create/update (#94286)
* Alerting: Verify receiver permission read on rule create/update
2024-10-04 23:52:38 +03:00
Yuri Tseretyan
27c7e33217
Alerting: Update permissions to reciever and template test API (#94282)
* add action "alert.notifications.receivers:test" to receiver creator

* update API permissions to accept new granular actions
2024-10-04 15:52:44 -04:00
renovate[bot]
03ff8a5cdb Update dependency @react-types/menu to v3.9.12 2024-10-04 19:06:30 +00:00
Drew Slobodnjak
d0abb08f31
Limit: Prevent negative limit (#94237) 2024-10-04 12:05:16 -07:00
renovate[bot]
797da67467 Update dependency @lezer/common to v1.2.2 2024-10-04 17:27:16 +00:00
renovate[bot]
a18482da38
Update dependency @grafana/scenes to v5.18.0 (#94281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 20:26:11 +03:00
Ivan Ortega Alba
d09017f7a2
Dashboard Scene: Sync variable state with TemplateSrv result (#93327)
* Generate options for variables through TemplateSrv

* Add refresh when object changes

* Remove unnecesary static function

* Extract logic

* Add extra test case when variable changes and refresh event is triggered

* bring back old logic, query options should not live in the dashboard json

* add missing change

* Add support to keep variable options in query

* tests

* move refreshEvent to DashboardVariableDependency

---------

Co-authored-by: alexandra vargas <alexa1866@gmail.com>
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2024-10-04 20:19:18 +03:00
Misi
2b320b0f9e
Auth: Only apply redirection if the user is signed in (session storage redirection) (#94279)
Fix: do not redirect if the user is not signed in
2024-10-04 20:06:06 +03:00
renovate[bot]
6344eeac3b Update dependency @grafana/faro-web-sdk to v1.10.2 2024-10-04 16:52:13 +00:00
Torkel Ödegaard
938bc9c2cc
DashboardScene: Update matcher options immutably (#93960) 2024-10-04 17:39:35 +02:00
Haris Rozajac
84cee7cab6
Query Library: Vertical space between rows; change "Run query" button color (#94177) 2024-10-04 09:38:23 -06:00
Gabriel MABILLE
fe3ada4a6c
Revert "AuthN: Managed plugin Service Accounts general availability" (#94270)
Revert "AuthN: Managed plugin Service Accounts general availability (#93384)"

This reverts commit 943525391e.
2024-10-04 17:28:24 +02:00
renovate[bot]
b70650e098 Update dependency @grafana/faro-web-sdk to v1.10.2 2024-10-04 15:24:27 +00:00