Commit Graph

51382 Commits

Author SHA1 Message Date
Ashley Harrison
6f9527b4c2
DashboardGrid: Ensure drag handle always follows the cursor (#88099)
use flushSync in react-grid-layout
2024-05-28 09:46:04 +01:00
Gabriel MABILLE
3d9908f363
Fix: Prevent ExtSvcTokens from containing nil characters (#88243)
* Fix: Prevent ExtSvcTokens from containing nil characters

* Rebase

* Add more logs

* Nit. nil -> NUL

* Nit. Part -> Parts

* Back to const

* Account for comments

Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com>

---------

Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com>
2024-05-28 10:39:46 +02:00
Laura Benz
f6a83432a5
RestoreDashboards: Create trash section (#88278)
* feat: add feature toggle to docs

* feat: create page in BE

* feat: create page in FE

* refactor: set feat toggle as a condition

* refactor

* refactor

* refactor

* feat: add permission conditions

* refactor

* feat: add subtitle to translations

* feat: add to codeowners

* refactor: fix docs situation

* refactor

* Merge main branch into feat branch
2024-05-28 10:26:06 +02:00
gng0
f772056296
DataLinks: Fixes datalinks with onClick and variables in url not being interpolated (#86253)
* Use replaceVariables method on link url, fix and add unit tests

* Refactor href processing for links

* Prettier
2024-05-28 08:16:55 +02:00
Andres Martinez Gotor
0b526acf09
Fix provisioning for a missing plugin (#88354) 2024-05-28 01:47:45 +03:00
Sofia Papagiannaki
39298a656a
Swagger: sync specs with enterprise (#88355) 2024-05-28 01:12:54 +03:00
Laura Fernández
6d98f53e8b
Chore: Remove returnToPrevious feature toggle (#88332) 2024-05-27 17:47:57 +02:00
Steve Simpson
08b18113d2
Alerting: Wire up alertmanagerRemoteOnly feature toggle. (#88329)
* Alerting: Wire up alertmanagerRemoteOnly feature toggle.

Though the mode isn't feature complete yet, it will be useful to have the
feature toggle wired up in order to start testing.

* Apply suggestions from code review

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>

* Formatting

---------

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2024-05-27 16:18:46 +02:00
Misi
aac6e6dfd9
Auth: Update SAML lib to improve HTTP-Post binding (#88287)
* Update lib and docs for HTTP-Post binding

* Improve docs

* fix spelling

* Regenerate go.sum and go.work.sum
2024-05-27 14:56:52 +02:00
Dominik Prokop
6e9543e0ad
Preserve variables and time range when navigating between dashboards (#87966)
* POC preserve filters and group by when navigating between dashboards

* Save all variables and time range

* minor refactor

* Add feature toggle

* Update feature toggle usage

* Delete local storage item if nothing to preserve

* Structural changes

* Simplify restore params code

* Use session storage

* Add tests

* Merge fix

* Remove unused code

* And make it better, errrrrr

* Minor deduplication refactor

* last minor
2024-05-27 14:28:06 +02:00
Marcus Efraimsson
0b1aec6767
Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
Ivan Ortega Alba
66950c96f6
Dashboards: Discard the entire panel if it is newly added (#87562) 2024-05-27 13:46:02 +02:00
kay delaney
c0881cc970
Dashboards: Detect unsaved folder change (#88293) 2024-05-27 12:43:31 +01:00
Luis Felipe Dominguez Vega
4248ff4688
ValueFormats: Add Uruguay peso currency (#88260) 2024-05-27 11:45:37 +01:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 (#88219)
* Bump google.golang.org/grpc to 1.64.0

* Address grpc.Dial deprecation notices

* go mod tidy

* Update go.work.sum

* go work sync
2024-05-27 12:44:39 +02:00
Piotr Jamróz
0530b296d0
Correlations: Enable feature toggle by default (on-prem) (#88208)
* Correlations: Enable feature toggle for on-prem

* Update Loki test
2024-05-27 12:04:37 +02:00
Joao Silva
45faefa8b3
TimeRangePicker: Allow users to navigate quick ranges with arrows instead of Tab (#88138) 2024-05-27 10:33:53 +01:00
Joao Silva
3014103f41
Chore: Remove gf-form from OrganizeFieldsTransformerEditor (#88240) 2024-05-27 10:26:47 +01:00
Levente Balogh
f77f47ff00
Plugins: Update the plugin.json schema with UI extensions meta-data (#88288)
* feat: change the `generated` property

* refactor: update the schema description for the "extensions" field
2024-05-27 11:13:46 +02:00
Timur Olzhabayev
4761326568
Fix: Proper plugin logo loading depending on staging (#88247)
* making logos respect the staging

* making it work when served from subfolders

* fixing helper test
2024-05-27 10:26:30 +02:00
Fabrizio
e7f05f4ff2
Tempo: Support standard span convention (#88268) 2024-05-27 10:10:04 +02:00
Mihai Doarna
e28a34f126
Docs: Add a note about deprecating the settings update API (#87552)
* add a note about deprecating the settings update API

* Update docs/sources/setup-grafana/configure-grafana/settings-updates-at-runtime/index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-05-27 11:08:19 +03:00
Mihai Doarna
934c510dda
Docs: Update SAML docs after the integration with SSO settings API (#87512)
* update SAML docs after the integration with SSO settings API

* fix link

* address feedback

* address feedback
2024-05-27 11:07:24 +03:00
Drew Slobodnjak
14957953db
Stat: Add percent change color modes (#88205)
* Stat: Add percent change color modes

* Apply color mode to percent change component

* Remove todo

* Create percent change color function and add tests

* drew08t/stat-percent-change-color-modes/ maybe fix import error?

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-05-24 14:45:02 -07:00
Steve Simpson
ed42119907
Alerting: Pass metrics Registerer into NewExternalAlertmanagerSender. (#88313)
* Alerting: Pass metrics Registerer into NewExternalAlertmanagerSender.

I will work on a separate change to export the metrics from Grafana, this
is a little more complicated.

* Typo
2024-05-24 23:03:34 +02:00
renovate[bot]
bbef011e43
Update dependency nx to v19.1.0 (#85487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 22:01:56 +01:00
Darren Janeczek
80a0de511f
data trails: alternate legend display for missing label value (#88153)
* fix: alternate legend display for missing label value

* Update public/app/features/trails/ActionTabs/BreakdownScene.tsx

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>

* Update public/app/features/trails/ActionTabs/BreakdownScene.tsx

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>

---------

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
2024-05-24 15:41:20 -04:00
Darren Janeczek
a7d304a871
datatrails: on histogram breakdowns, show label value in legend (#88154)
fix: on histogram breakdowns, show label value in legend
2024-05-24 15:41:00 -04:00
Tim Levett
b5cf90ce78
API: Add in theme support to /render/* endpoint (#88304)
add in theme support to render endpoint
2024-05-24 14:12:31 -05:00
renovate[bot]
d843209ee4 Update babel monorepo to v7.24.6 2024-05-24 18:13:19 +00:00
Steve Simpson
8bcf589301
Alerting: Pass logger into NewExternalAlertmanagerSender (#88256) 2024-05-24 20:11:26 +02:00
Darren Janeczek
5c29052219
datatrails: refactor: move related code to trails/MetricSelect subdir (#88262)
refactor: move related code to trails/MetricSelect subdir
2024-05-24 13:45:21 -04:00
Juan Cabanas
f0ab501075
Chore: Add sharing squad as codeowners in render file (#88306) 2024-05-24 14:28:17 -03:00
Jon Cole
61db22f4b4
Prometheus: get Azure clouds from SDK (#87676)
* Prometheus: get the list of azure clouds from the SDK instead of from a hard coded list

* Update yarn.lock

* Fix lint

---------

Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-05-24 17:56:53 +01:00
Jon Cole
67b90ceba5
Azure: Load custom clouds from ini file (#87667)
* Load custom clouds from config file

* Update docs

* Use the correct list of clouds, add test, fix error condition handling

* Remove on custom cloud from sample.ini and docs

* Remove unnecessary else block

* Use cached json instead of serializing with each request

* Update grafana-azure-sdk-go version to v2.0.4

* update configure-grafana entry for clouds_config

* fix lint errors

* fix lint errors

---------

Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com>
2024-05-24 17:40:04 +01:00
renovate[bot]
9f23e9a53b Update React Aria 2024-05-24 16:28:31 +00:00
Jack Westbrook
a079343fe3
Chore: bump Nx to 19 (#88298)
* chore(npm): bump nx to v19

* build(icons): make sure icons are generated before attempting typecheck
2024-05-24 17:57:12 +02:00
Ryan McKinley
ffc2702552
Plugins: Support Admission validation hooks (#87718) 2024-05-24 18:45:16 +03:00
Andrej Ocenas
b1eb4b7dad
Chore: Remove msagl related config in yarnrc (#88292) 2024-05-24 17:32:46 +02:00
Agnès Toulet
f866157f99
Page: add scrollbar ID to use in image renderer (#88214) 2024-05-24 17:28:43 +02:00
Gilles De Mey
99b5259cc1
Alerting: New list view UI – Part 1 (#87907) 2024-05-24 16:40:49 +02:00
Pepe Cano
51e27200a6
Alerting: add NeedHelpInfo for Configure No data and error handling (#88145) 2024-05-24 15:30:12 +02:00
Sergej-Vlasov
fbb5fd71f9
DashboardScenes: Optimise e2e test and add panels suite (#88170)
* refactor tests after adding additional data-testids

* add panels-suite e2e tests

* wip: add missing selectors

* finalise panels-suite tests

* clean up

* adjust workflow for test run

* restore workflow
2024-05-24 16:22:11 +03:00
Tom Ratcliffe
859b3ff78b
Alerting: Fix "copy link" not including full URL (#88210) 2024-05-24 15:02:46 +02:00
brendamuir
26a01c42a6
Alerting docs: adds settings feature (#88294)
* Alerting docs: adds settings feature

* ran prettier
2024-05-24 15:01:15 +02:00
Tom Ratcliffe
ebdad80dfa
Alerting: Fix rules deleting when reordering whilst filtered (#88221) 2024-05-24 13:49:52 +02:00
Domas
60f9817303
ButtonSelect: Render option custom component (#88272)
allow providing custom component to button select
2024-05-24 14:38:59 +03:00
Sonia Aguilar
caeb9bcea2
Alerting: Template selector in contact points form (#87689)
* WIP

* Refactor and update how we display these fields in the form

* Add test for getTemplateOptions and udpate parseTemplates to handle minus simbol

* fix betterer

* Fix wrapper

* Create new usePreviewTemplate to be reused from TemplatePreview and TemplateContentAndPreview

* remove unnecessary check

* track interactions

* Include the whole content of the template in the preview

* Update parseTemplates function to return default templates

* handle nested templates in parseTemplates function

* Missing border fixed, whitespaces preserved and no empty space at the bottom

* remove unused styles and add a comment in test

* Add missing error in getPreviewResults

* fix styles for template selector containers

* Alerting: PR feedback to move default templates into RTKQ (#88172)

Move default templates to RTKQ API + constant

* move parseTemplates to a utils file and refactor last part of this function

* Keep selected options when loading exising input and when switching between tabs

* Update descritpion in tabs

* Fix not previewing when loading existing values

* Update text addressing Brenda's feedback

* Add test for matchesOnlyOneTemplate function

* Add minheight to viewer container and fix getContentFromOptions function

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-05-24 13:35:48 +02:00
Oscar Kilhed
6775bcb0a3
Dashboard scenes: Fix variable saving inconsistencies (#88163)
* Fix variable saving inconsistencies

* add tests

* for variable changes to be detected, save variables need to be true

* Fix for issue with buildNewDashboardSaveModel creating filter variable withouth filter property

* remove unused import
2024-05-24 13:33:05 +02:00
github-actions[bot]
4bf284cfff
I18n: Download translations from Crowdin (#88267)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-24 10:52:38 +00:00