Commit Graph

56175 Commits

Author SHA1 Message Date
grafana-pr-automation[bot]
bff389aa41
I18n: Download translations from Crowdin (#98187)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-18 18:19:23 +02:00
Gabriel MABILLE
987357327d
Chore: Update authlib (#98191) 2024-12-18 17:16:34 +01:00
renovate[bot]
59f71566df
Update dependency @rtk-query/codegen-openapi to v2 (#98135)
* Update dependency @rtk-query/codegen-openapi to v2

* update cloud migration generated endpoints

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 18:16:21 +02:00
Ashley Harrison
5aabc0781c
Chore: remove @types/dompurify since the main package exports types now (#98196)
remove @types/dompurify since the main package exports types now
2024-12-18 15:56:19 +00:00
Ieva
30321a59a9
Fix broken builds (#98198)
* fix broken builds

* fix broken builds
2024-12-18 17:24:56 +02:00
Misi
5ecc3343db
Docs: Add org role mapping improvements to SAML docs (#98178)
Docs: Add org role mapping improvements
2024-12-18 16:12:50 +01:00
Liza Detrick
67a85fc358
feat: (Navlinks) - Add Adaptive Traces to Cost mgmt navlinks (#97981) 2024-12-18 09:05:18 -06:00
Misi
26c323b5a6
Chore: Do not return the token on refresh error (#98171)
* Small improvements

* Remove unused error
2024-12-18 15:30:39 +01:00
renovate[bot]
9532f738d5
Update dependency lru-cache to v11 (#98194)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 14:23:43 +00:00
Ieva
40a9f7162a
AuthZ service: Build folder tree and check inherited permissions (#98074)
* build folder tree and check inherited permissions

* don't fetch dashboards

* remove unused queries
2024-12-18 14:19:16 +00:00
renovate[bot]
a727372573
Update dependency ini to v5 (#98193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 16:16:32 +02:00
Sergej-Vlasov
e7ab142348
Update scenes to v5.35.0 (#98174)
* Update scenes to v5.35.0

* update test to mock console.warn

* use updateLocale

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 14:15:59 +00:00
Syerikjan Kh
beaa26764c
fix: upgrade/install button interaction event condition (#98142) 2024-12-18 09:03:10 -05:00
renovate[bot]
f186c452d5
Update dependency immutable to v5 (#98189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 15:56:49 +02:00
renovate[bot]
e308675b44
Update dependency i18next-browser-languagedetector to v8 (#98188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 15:36:04 +02:00
Torkel Ödegaard
697b5a2de7
Table: Fixes broken cell action styles (#98154)
* Table: Fixes broken cell action styles

* restore debug change
2024-12-18 14:35:30 +01:00
renovate[bot]
4377d0f890
Update dependency i18next to v24 (#98182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 13:17:44 +00:00
renovate[bot]
76c2707383
Update dependency eslint-plugin-testing-library to v7 (#98181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 13:13:13 +00:00
Gabriel MABILLE
961211b21a
AuthZ Service: Add caching (#98008)
* AuthZ Service: Add caching

* split in functions

* Test getUserTeams

* Add tests to getUserBasicRole

* Test getUserPermissions

* Cache user identifiers

* fix test
2024-12-18 14:07:19 +01:00
Sriram
90bc574599
Public Dashboard: Added postgresql alias grafana-postgresql-datasource as supported public dashboard (#97148)
added grafana-postgresql-datasource
2024-12-18 12:54:26 +00:00
Pepe Cano
001cc853a5
Alerting docs: update Monitor status section (#98179)
* Minor updates to `Declare incidents` docs

* change URL

* View alert state history + restructuring

* Complete alert state

* alert state

* change heading

* View alert rules

* Monitor alerts
2024-12-18 13:23:15 +01:00
Jack Westbrook
b88ce9df38
Chore: Remove Dashboard datasource barrel file (#98040)
* chore(dsahboard-datasource): delete barrel file

* refactor(dashboards): update paths for dashboard ds imports

* chore(betterer): update file

* style(dashboard-datasource): fix linting errors
2024-12-18 13:18:55 +01:00
Tom Ratcliffe
6df7d1fbc0
Alerting: Split out components for notification policies (#97191) 2024-12-18 12:16:46 +00:00
renovate[bot]
89774f3c8d
Replace usage of react-test-renderer and @testing-library/react-hooks (#98152)
* Update dependency @types/react-test-renderer to v19

* replace usage of react-test-renderer

* use renderHook from @testing-library/react in most tests

* update tests to work without @testing-library/react-hooks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-12-18 11:55:25 +00:00
renovate[bot]
b710e26a40
Update dependency date-fns to v4 (#98172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 11:52:16 +00:00
grafana-pr-automation[bot]
55bbea3974
I18n: Download translations from Crowdin (#98138)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-18 13:17:34 +02:00
flopp999
7f6c794ecd
Update create-notification-policy.md (#98077)
found an extra /
2024-12-18 12:39:17 +02:00
renovate[bot]
829685ed4f
Update dependency css-minimizer-webpack-plugin to v7 (#98163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 10:29:39 +00:00
renovate[bot]
3dac836bf9
Update dependency @types/uuid to v10 (#98161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 10:27:59 +00:00
Misi
a5635d7e89
Auth: Update external session data regardless if the improved session handling is enabled (#98139)
Update ext session tokens regardless if the ft is enabled
2024-12-18 11:27:50 +01:00
renovate[bot]
a572dca2d6
Update dependency @grafana/plugin-e2e to v1.14.0 (#98160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 12:00:48 +02:00
Igor Suleymanov
ea346cf1f9
Add investigations app to go.mod (#98158)
What

Update dependencies in go.mod and add investigations app module.

Why

The investigations app was introduced as a new sub-module in
https://github.com/grafana/grafana/pull/98084 and since it's imported by
code inside the main `grafana/grafana` module it now is required to be
part of the main `go.mod`.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2024-12-18 11:48:55 +02:00
Sonia Aguilar
cdd74aa144
Alerting: Fix ash not showing history graph in firefox (#98128)
fix getEventsSceneObject
2024-12-18 10:45:10 +01:00
renovate[bot]
02a3edf30c
Update dependency type-fest to v4.30.2 (#98130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 09:40:34 +00:00
renovate[bot]
0dea8101d5
Update dependency knip to v5.41.0 (#98129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 09:40:04 +00:00
Jackson Coelho
f46c07aba7
feat: Add investigations app backend (#98084)
* add initial structure for investigations app backedn

* update version

* Fix codegen & paths

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Fix Go workspace and CODEOWNERS

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* update kinds for investigation

* update dockerfile

* update codeowners

* update dependabot

* update golangci

* add investigation app and watcher

* run make update-workspace

* run make update-workspace

* register investigation app

* add investigation app to wireset

* add investigations app provider to api initializer

* fix imports

* update feature toggle

* fix cue definition and api initializer

* clean up removing unecessary components

* remove watcher feature toggle

* add investigations backend behind feature toggle

* revert change

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2024-12-18 10:31:03 +02:00
renovate[bot]
e8b6d43110
Update dependency @types/diff to v6 (#98136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 08:56:18 +01:00
Dominik Prokop
070f0e4457
Dashboard API versions handling (#96666)
* structure apic

* API versioning proposal

* Make api service independent from version

* Update v2

* Fix public dashboards page test

* Uncomment reload dashboard feature code

* Revert

* Betterer

* Fix imports

* useV2DashboardsAPI feature toggle

* POC/v2 schema: Add v1<-> v2 transformers (#97058)

* Make dshboard access interface more precise

* Add first pass for schema v1<->v2 transformers

* Update response transformer test

* Import fixes

* Manage dashboards validation: Handle v2 schema

* Handle new dashboard with v2

* Fix tests

* Move dashboard is folder error handling to legacy API implementation

* Add tests for dashboard api client

* betterer

* Use dashboard DTO when capturing dashbaord impression

* prettier

* Dashboard API: resolve folder metadata

* Add tests for resolving folder metadata

* Fix DashboardPicker

* Renames and nits

* POC Alternative Suggestion for  Dashboard API versions handling (#97789)

* Add transitional_dashboard_api, reset components that are not ready for v2 schema, and start working on migrating
DashboardPicker to use v2 schema

* reset DashboardScenePageStateManager

* Improve logic in transitional api, also remove isDashboardResource checks from components

* REmove transitional_dashboard_api and apply PR feedback

* Apply PR feedback, use 'v2' as a parameter and remove unnecesary if

* Fix tests

* Adding missing comments from original PR and also changing order to improve diffing in github :)

* update betterer

* fix prettier

* Add tests for DashboardPicker

* Do not use unified alerting mocks

* Fix unused type in dashboard test

* Improve comments in DahboardPicker

* Update folder validation fn

* Validation update

* Update legacy api test

* Lint

---------

Co-authored-by: alexandra vargas <alexa1866@gmail.com>
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-12-17 22:17:09 +01:00
Isabel Matwawana
31e67b5ba3
Docs: Add invite new member section (#97967) 2024-12-17 14:10:09 -05:00
Ezequiel Victorero
7bdf521ba3
Share: Add invite user to the sharing menu (#97067)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2024-12-17 15:08:35 -03:00
Galen Kistler
8c03caad88
Table panel: expose TableCellInspector and TableCellInspectorMode in @grafana/ui package (#98125)
chore: expose TableCellInspector and TableCellInspectorMode
2024-12-17 11:52:26 -06:00
Adela Almasan
03d176fae4
Tooltips: Generate data links in TooltipPlugin2 (#97818)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-12-17 11:48:39 -06:00
renovate[bot]
8d4e5a4e09
Update dependency @types/dompurify to v3.2.0 (#98122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 16:42:13 +00:00
Stephanie Hingtgen
b3985a4d37
k8s: Dashboards: allow querying of unistore (#97995) 2024-12-17 10:35:46 -06:00
renovate[bot]
d8ddbcda51
Update dependency @grafana/experimental to v2.1.6 (#98121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 16:22:17 +00:00
Matheus Macabu
146860930b
Build: update vektah/gqlparser/v2 to v2.5.20 to address Dependabot alert (#98106) 2024-12-17 17:20:23 +01:00
Dominik Prokop
0cd4c751a6
Scopes search: Don't regex-escape filter input value (#98117) 2024-12-17 17:05:38 +01:00
Erik Sundell
d6ebec6921
E2E: Fix selectors related to scenes powered dashboards (#98112)
* fix broken scenes selectors

* fix broken test
2024-12-17 17:02:37 +01:00
Adam Simpson
57d94ed01f
ds-querier: return error if failed to get ds client (#97698)
* ds-querier: return error if failed to get ds client

* add log line

* no empty ref

* fix test
2024-12-17 10:38:44 -05:00
Haris Rozajac
27c979b0bf
Dashboard SchemaV2: Use id in PanelSpec (#98069)
* PanelSpec: replace uid with id

* Update examples
2024-12-17 08:35:55 -07:00