Jo
466f8a1f5a
Teams: Move team API to own service ( #76347 )
...
* move team API to its own service
* remove uneeded import
* reshare pref api logic
2023-10-12 10:10:54 +02:00
Esteban Beltran
665dc1fa44
Sandbox: e2e tests for apps running inside the frontend sandbox ( #76357 )
...
* Sandbox: Add tests for apps inside the sandbox
* Force type to prevent flawky test
2023-10-12 09:43:59 +02:00
Sonia Aguilar
fbbf9b1a8f
Alerting: Use new endpoints in the Modify Export ( #75796 )
...
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-10-12 09:04:59 +02:00
Leon Sorokin
94c15e4926
TooltipPlugin2: Raise parent grid item z-index when pinned ( #76379 )
2023-10-12 01:19:22 -05:00
Victor Marin
4dfffa3c32
Add context to transformation editor ( #76317 )
...
* Add context to editor so field calculation does not return undefined variable and shows on next transform
* fix bug where default alias would get interpolated
2023-10-12 08:43:32 +03:00
Leon Sorokin
65a94d9e75
ZoomPlugin: No-op on modifier keys ( #76398 )
2023-10-12 00:05:21 -05:00
kay delaney
a12cb8cbf3
LibraryPanels: Add RBAC support ( #73475 )
2023-10-12 00:30:50 +01:00
Dan Cech
d003ffe439
Update origin annotation names ( #76301 )
...
* Update origin annotation names
k8s does not support annotation names with multiple slashes in them, so this PR updates the origin annotations to match the format for updated and created annotations.
* fix tests
2023-10-11 18:28:26 -04:00
Virginia Cepeda
ea50695cfe
Alerting: add help texts to insights ( #76366 )
...
* Change texts and add spacing between sections
* Minor text changes
* Display timeseries with 0 values if result is empty
2023-10-11 23:10:23 +01:00
Alexander Weaver
f6649d7a97
Revert "Alerting: Remove vendored models in migration service" ( #76387 )
...
Revert "Alerting: Remove vendored models in migration service (#74503 )"
This reverts commit 6a8649d544
.
2023-10-11 14:21:21 -05:00
Giordano Ricci
54050be9f6
Explore: Use short units in graphs ( #76358 )
2023-10-11 19:52:19 +01:00
Matthew Jacobson
6a8649d544
Alerting: Remove vendored models in migration service ( #74503 )
...
This PR replaces the vendored models in the migration with their equivalent ngalert models. It also replaces the raw SQL selects and inserts with service calls.
It also fills in some gaps in the testing suite around:
- Migration of alert rules: verifying that the actual data model (queries, conditions) are correct 9a7cfa9
- Secure settings migration: verifying that secure fields remain encrypted for all available notifiers and certain fields migrate from plain text to encrypted secure settings correctly e7d3993
Replacing the checks for custom dashboard ACLs will be replaced in a separate targeted PR as it will be complex enough alone.
2023-10-11 17:22:09 +01:00
Drew Slobodnjak
046e9b7672
Canvas: Button API - Block Calls to Grafana ( #76309 )
...
* Canvas: Button API - Block Calls to Grafana
* Move origin check inside of api logic
* Change grafana url source from href to origin
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-11 09:21:02 -07:00
Ryan McKinley
6983af3a70
Playlist: Add an api wrapper for playlist requests ( #76308 )
2023-10-11 19:19:13 +03:00
Torkel Ödegaard
bf7fae4bd3
Tempo: Fix type errors that appeared when removing the "any" type from DataQueryResponseData ( #75600 )
...
* Tempo: Improving typing of data types
* last fix
* Fix
2023-10-11 18:04:54 +02:00
Andrej Ocenas
7329e2dc62
Flamegraph: Fix inefficient regex generating error on some function names ( #76377 )
2023-10-11 17:57:01 +02:00
Dominik Prokop
46dc898a87
Fix container width not being set after latest scenes update ( #76372 )
...
* Fix container width after latest scenes update
* typecheck
2023-10-11 17:56:50 +03:00
Aaron Godin
c2cbb0a924
noBasicRole feature: Change RolePickerInput to not show the "None" role ( #76300 )
...
Change RolePickerInput to only show the basic role when it's not the None role (no basic role feature)
2023-10-11 09:42:09 -05:00
Kyle Cunningham
2049ffc718
Chore: Add grafana-data transformations to BI squad in CODEOWNERS ( #76314 )
...
Add transformations directory to bi-squad
2023-10-11 09:34:19 -05:00
Jo
79b2974215
Teams: Allow Services to register deletes ( #76325 )
...
* add team RegisterDelete
* fix-docs
2023-10-11 15:57:03 +02:00
Torkel Ödegaard
72a1de855c
Schema: Clean up / correct panel schema ( #76346 )
...
* Schema: Clean up / correct panel schema
* fixes
2023-10-11 15:56:42 +02:00
Torkel Ödegaard
bcf850f8bf
DashboardScene: Set maxDataPointsFromWidth to true ( #76319 )
...
* DashboardScene: Set maxDataPointsFromWidth to true
* fix
2023-10-11 15:56:10 +02:00
George Robinson
05e12e787b
Alerting: Add provenance field to /api/v1/provisioning/alert-rules ( #76252 )
...
This commit adds the missing Provenance field to responses for
/api/v1/provisioning/alert-rules.
2023-10-11 14:51:20 +01:00
Horst Gutmann
6b52bb9c27
Chore: Upgrade Go to 1.20.10 ( #76359 )
2023-10-11 16:49:24 +03:00
renovate[bot]
755805597b
Update dependency core-js to v3.33.0 ( #76341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:40:04 +01:00
Ashley Harrison
effd2a1189
Navigation: Split admin into subsections behind navAdminSubsections
feature toggle ( #76280 )
...
* split admin into subsections behind feature toggle
* make authentication a section header
* add translations for subsections
* rename translation keys
* add subtitles
2023-10-11 14:37:36 +01:00
ismail simsek
14d01e2b6e
Prometheus: Remove prometheusResourceBrowserCache feature toggle ( #76172 )
...
* Remove prometheusResourceBrowserCache feature toggle
* Remove prometheusResourceBrowserCache feature toggle from prometheus datasource
* Update tests
2023-10-11 15:18:56 +02:00
Piotr Jamróz
ddb9b64128
Explore: Remove redundant TODO ( #76262 )
...
Remove redundant todo
2023-10-11 15:18:43 +02:00
ismail simsek
bd23757a42
Chore: Reorder InfluxDB languages in combobox ( #76352 )
...
Reorder the languages in combobox
2023-10-11 15:16:21 +02:00
Giuseppe Guerra
123f34c73d
Chore: Bump grafana-plugin-sdk-go to v0.180.0 ( #76349 )
...
Bump grafana-plugin-sdk-go to v0.180.0
2023-10-11 14:43:31 +02:00
Karl Persson
1528d6f5c4
Authn: Prevent empty username and email during sync ( #76330 )
...
* Move errors to error file
* Move check for both empty username and email to user service
* Move check for empty email and username to user service Update
* Wrap inner error
* Set username in test
2023-10-11 14:27:43 +02:00
Torkel Ödegaard
e46e66313d
DashboardScene: Support for Angular panels ( #76072 )
...
* Could work
* it's working
* remove comment
* Update comment
* Make options work
* Progress
* Update panel class name
* Update public/app/angular/panel/AngularPanelReactWrapper.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Fixes
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-11 14:27:20 +02:00
Erik Sundell
d17f25d8c4
Chore: Remove reference to storybook 6 ( #75815 )
...
remove reference to storybook 6
2023-10-11 14:09:10 +02:00
Khushi Jain
42fb42a90d
PublicDashboards: Add validation deletion ( #75336 )
2023-10-11 11:59:13 +00:00
Karl Persson
3fc925364f
Siningkeys: Fix test setup ( #76333 )
...
* Don't use integration tests for service and init store only once for integration tests
* Set one key as expired in test
2023-10-11 13:50:38 +02:00
Dominik Prokop
6968f4d6ff
DashboardScene: Share snapshot ( #76132 )
...
* Dashboard snapshot creation logic and tests
* Add variable type to serialized json, add refresh prop to datasource var
* WIP Snapshots tab UI
* Use Grafana snapshot query for a generated snapshot
* Make anno snapshots backwards compatible
* Share snapshot tab UI
* Single panel snapshot
* Remove unused param
* Snap update
* Ts fix
* One more snap fix
* Basic rows support
* Add tests for basic rows
* Bettererupdate
2023-10-11 04:24:18 -07:00
Torkel Ödegaard
555acdf180
Drawer: Add 1 grid unit padding between title and tabs ( #76249 )
2023-10-11 13:18:24 +02:00
renovate[bot]
0ec15de905
Update dependency @types/node to v18.18.4 ( #76336 )
...
* Update dependency @types/node to v18.18.4
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-11 11:08:41 +00:00
renovate[bot]
ae84ec38d5
Update dependency chrome-remote-interface to v0.33.0 ( #76337 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:03:14 +03:00
Joao Silva
5f6fea33f2
Chore: Improve typings in OptionsUI and Explore ( #76245 )
2023-10-11 11:43:25 +01:00
Giuseppe Guerra
50504ba008
Plugins: Chore: Renamed instrumentation middleware to metrics middleware ( #76186 )
...
* Plugins: Chore: Renamed instrumentation middleware to metrics middleware
* Removed repeated logger attributes in middleware and contextual logger
* renamed loggerParams to logParams
* PR review suggestion
* Add contextual logger middleware
* Removed unused params from logRequest
* Removed unwanted changes
* Safer FromContext method
* Removed traceID from logParams
2023-10-11 12:42:32 +02:00
Ashley Harrison
abd2c9c287
Navigation: Hide docked menu and dock button on mobile ( #76334 )
...
* hide docked menu and dock button on mobile
* add logic to handle hamburger menu button on mobile
2023-10-11 11:33:15 +01:00
renovate[bot]
58ba11ecbd
Update dependency @testing-library/user-event to v14.5.1 ( #76329 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 11:18:30 +01:00
ismail simsek
9035a498ca
Chore: Export closestIdx function from @grafana/data ( #76176 )
...
* export calculateFieldDisplayName function
* export closestIdx function
* Use getFieldDisplayName
2023-10-11 11:44:36 +02:00
Josh Hunt
8d9ef716fe
I18N: Collect stats on number of untranslated strings in message catalogues ( #76272 )
...
* I18N: Collect stats on number of untranslated strings in message catalogues
* eachLeaf -> eachMessage
* use __dirname
2023-10-11 12:26:39 +03:00
renovate[bot]
a0ab1e4fd7
Update dependency @rollup/plugin-node-resolve to v15.2.3 ( #76261 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:18:54 +01:00
renovate[bot]
9d2e8f650b
Update dependency @rushstack/ts-command-line to v4.16.1 ( #76282 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:17:05 +01:00
Joey
07b08fc09f
Tempo: Disable show matches only button when no matches ( #76124 )
...
* Disable show matches only button when there are no matches
* Update tests
2023-10-11 09:51:48 +01:00
Oscar Kilhed
608f066ca5
PanelConfig: Add option to calculate min/max per field instead of using the global min/max in the data frame. ( #75952 )
...
* Add option to calculate min max per field
* Fix eslint warnings
* Add back hideFromDefaults that went missing
* whitespace
* Add tests
* Refactor range calculation
* Rename localMinMax -> fieldMinMax
* Remove the lint exceptions
Removing these as to not hide these once we get around to fixing the
underlying typing issue.
* Update docs
2023-10-11 10:50:11 +02:00
Andres Martinez Gotor
1f8b08202e
Chore: Avoid showing plugin version if it's %VERSION% ( #75974 )
2023-10-11 10:49:30 +02:00