Commit Graph

21194 Commits

Author SHA1 Message Date
Ezequiel Victorero
83ea51f241
Scenes: Add snapshots view support (#81522) 2024-02-06 19:29:57 -03:00
Kevin Yu
6f8852095e
CloudWatch: Remove core imports from CloudWatchRequest (#81422)
* CloudWatch: Remove core imports from CloudWatchRequest and use appEvents for notifications

* add error message to variable query editor multi filters

* fix tests

* fix lint

* fix lint

* add test for non multi-variable

* pr comments
2024-02-06 22:22:41 +02:00
Adela Almasan
315eb5acc3
VizTooltips: Remove default width/height values (#81832) 2024-02-06 12:00:19 -08:00
Kevin Yu
6373557c78
CloudWatch: remove core imports from CloudWatchMetricsQueryRunner (#80926)
* CloudWatch: remove core imports from CloudWatchMetricsQueryRunner

* use getAppEvents to publish error

* use default wait time

* put test back in original position

* fix throttling error message link
2024-02-06 21:24:14 +02:00
Kevin Yu
aafff73899
CloudWatch: Remove core imports from LegacyLogGroupSelector (#80843) 2024-02-06 20:58:49 +02:00
Kevin Yu
0d3cf9a08b
CloudWatch: Remove core imports from ConfigEditor (#80837)
* CloudWatch: Remove core imports from ConfigEditor

* test
2024-02-06 10:44:42 -08:00
renovate[bot]
0b72ee2b77
Update dependency semver to v7.6.0 (#81989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 19:58:42 +02:00
paulJonesCalian
3942d67f89
chore: Fix typo in GraphTresholdsStyleMode enum (#81960) 2024-02-06 08:20:42 -08:00
Esteban Beltran
ec5623f552
Sandbox: Fix cloneDeep not working inside plugins (#81950) 2024-02-06 16:47:29 +01:00
Ezequiel Victorero
eab7990349
ShareModal: Remove shareView param when creating a sharing URL (#81976) 2024-02-06 12:21:15 -03:00
Ashley Harrison
28b336ac80
DockedMegaMenu: Clean up toggle and old code (#81878)
* remove toggle

* remove code not behind toggle

* remove old MegaMenu

* rename DockedMegaMenu -> MegaMenu and clean up go code

* fix backend test

* run yarn i18n:extract

* fix some unit tests

* fix remaining unit tests

* fix remaining e2e/unit tests
2024-02-06 13:43:11 +00:00
Joey
390461f9e1
Tempo: Move query ref to TraceQLEditor (#81686)
Move ref to TraceQLEditor
2024-02-06 13:30:59 +00:00
Darren Janeczek
16df04e260
datatrails: improve width responsiveness for breakdown label selector (#81838)
* fix: make datatrails breakdown label selector responsive
2024-02-06 08:08:57 -05:00
Ashley Harrison
e2c2704296
Browse Dashboards: Imported dashboards now display immediately in the dashboard list (#81819)
* create importDashboard method in rtk query

* fix unit tests

* Revert "fix unit tests"

This reverts commit 72cd81c803.

* fix unit test
2024-02-06 10:46:24 +00:00
Ashley Harrison
8c38ebfeae
Command Palette: Add empty state (#81903)
* add an empty state for the command palette

* cleaner logic
2024-02-06 10:37:56 +00:00
renovate[bot]
1771010450 Update dependency @types/react to v18.2.55 2024-02-06 10:06:27 +00:00
Sergej-Vlasov
3605d85c4c
Dashboards: Remove advancedDataSourcePicker feature toggle (#81790)
* remove advancedDataSourcePicker feature toggle from DataSourcePickerWithPrompt

* remove advancedDataSourcePicker toggle from DataSourcePicker and adjust tests that relied on old picker

* adjust failing tests in QueryVariableEditorForm

* move DataSourceDropdown to DataSourcePicker file

* covert style declaration syntax to object style in DataSourcePicker

* remove advancedDataSourcePicker  feature flag from registry

* remove .only from test

* adjust QueryVariableEditor test to avoid console.error
2024-02-06 09:20:07 +00:00
Victor Marin
613da422ca
Scenes: Migrate permissions settings page (#81781)
* Migrate permissions settings page

* fix
2024-02-06 10:32:55 +02:00
William Wernert
2ab7d3c725
Alerting: Receivers API (read only endpoints) (#81751)
* Add single receiver method

* Add receiver permissions

* Add single/multi GET endpoints for receivers

* Remove stable tag from time intervals

See end of PR description here: https://github.com/grafana/grafana/pull/81672
2024-02-05 20:12:15 +02:00
Jev Forsberg
49b49e28af
Baldm0mma/xy tooltip tests (#81746)
* baldm0mma/xyTooltipTests/ add first tests

* passing test!!!

* baldm0mma/xyTooltipTests/ add tests

* baldm0mma/xyTooltipTests/ revert destructure move

* baldm0mma/xyTooltipTests/ clean up test

* baldm0mma/xyTooltipTests/ update test names

* baldm0mma/xyTooltipTests/ ignore ts issue

* baldm0mma/xyTooltipTests/ update any

* baldm0mma/xyTooltipTests/ add follwing types

* baldm0mma/xyTooltipTests/ remove "field"

* baldm0mma/xyTooltipTests/ remove debug
2024-02-05 10:10:53 -07:00
Leon Sorokin
d5ac9340e5
Histogram: Add approx bucket count option (#80990) 2024-02-05 11:09:36 -06:00
Torkel Ödegaard
1fe32ce36e
FieldOptions: Revert scalable unit option as we already support this via custom prefix/suffixes (#81893)
* StandardFieldOptions: Revert scalable unit option

* forgot to save merge fixes
2024-02-05 16:42:22 +01:00
Matias Chomicki
c87e4eb724
Log rows: add re-renders test cases (#81566)
* Log rows: add re-renders test cases

* Logs panel: add re-render test cases

* Logs panel: update setup and properly trigger rerenders
2024-02-05 17:20:50 +02:00
Torkel Ödegaard
61c7fcc270
DashboardScene: Action toolbar progress (#81664)
* DashboardScene: Action toolbar progress

* Add discard confirmation modal

* minor fix

* Update

* tweaked

* Updating

* Progress

* Update

* Update

* Added some unit tests

* fix test

* Change name to Exit edit

* Tweaks

* fix test

* Minor margin fix

* Move share to left of edit
2024-02-05 16:08:12 +01:00
Darren Janeczek
96772e1a32
datatrails: improve handling of error states and disable states (#81669)
* fix: Cascader: allow disabled state

* fix: datatrails metrics selection scene stability
  - clear panels and filter data when datasource changes
  - detect metric names loading / error state and disable components accordingly
  - put all scene variable dependencies together
  - reset metric names without clearing panels when time range changes
2024-02-05 09:45:47 -05:00
Torkel Ödegaard
d3f7231a27
DashboardScene: Reload when someone else saves changes (#81855)
* DashboardScene: Reload when someone else saves changes

* Update public/app/features/dashboard-scene/pages/DashboardScenePage.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Fixes

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-02-05 15:25:12 +01:00
Sonia Aguilar
8f65e36b06
Alerting: Show warning when cp does not exist and invalidate the form (#81621)
* Show warning when cp does not exist and invalidate the form

* Set error in contact selectedContactPoint form field manually

* use RHF validate and trigger

* Fix defaultvalue not being set in contact point and update the error message text

* Simplify refetchReceivers prop definition in ContactPointSelectorProps

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-02-05 15:14:08 +01:00
renovate[bot]
d63590112f Update dependency @testing-library/jest-dom to v6.4.2 2024-02-05 14:07:30 +00:00
renovate[bot]
d17a77f4a2
Update dependency @types/react to v18.2.53 (#81879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 12:36:43 +00:00
Torkel Ödegaard
a5d890984b
Dashbboard: Fixes time picker schema default issues (#81847)
* Dashbboard: Fixes time picker schema default issues

* Fix tests

* fix imports
2024-02-05 12:32:59 +01:00
Torkel Ödegaard
071b301e39
Dashboard: Dashboard schema fixes and scene to save model fixes (#81867) 2024-02-05 12:27:44 +01:00
Joao Silva
ded0554bac
TextLink: Do not strip base from external urls (#81799) 2024-02-05 10:48:08 +00:00
Torkel Ödegaard
6e3048c6fa
DashboardScene: move overlay out from each edit view (#81852) 2024-02-05 11:17:33 +01:00
Ashley Harrison
dcf58555e8
Chore: Some test type fixes (#81812)
some test type fixes
2024-02-05 09:47:30 +00:00
Hugo Kiyodi Oshiro
ed62aefeb0
Plugins: Never disable add new data source for core plugins (#81774) 2024-02-05 09:32:58 +01:00
Tania
14a36b4040
Folders: Forbid performing operations on folders via dashboards HTTP API (#81264)
* Forbid creating folders via dashboard api

* Update delete endpoint

* Update docs
2024-02-04 01:16:19 +01:00
Darren Janeczek
bd0fd21852
fix: datatrails verify different time range before creating new history node (#81839)
fix: datatrails verify different time range
2024-02-03 10:20:04 -05:00
renovate[bot]
d65df0191b
Update dependency react-hook-form to v7.50.0 (#81796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 19:30:27 +02:00
fabienne-m
9b4b0eed99
Add translations for new navigation items pdc and collector (#81351)
* Add translations for new navigation items pdc and collector

* run yarn i18n:extract

* run prettier
2024-02-02 16:46:50 +00:00
Ryan McKinley
ed925c81d4
Chore: deprecate/remove folderId from more typescript (#81194) 2024-02-02 18:42:43 +02:00
Fabrizio
4f1f5636bb
Tempo: Support backtick strings (#81802) 2024-02-02 16:48:30 +01:00
Oscar Kilhed
bdb592d9ec
Scenes: Refactor panel editor tab counts (#81777)
* refactor editor tab counts

* Capitalize tab component property since it's a component
2024-02-02 16:04:23 +01:00
Ashley Harrison
a30f8645d1
Chore: Migrate frontend platform code to use data-testid for selectors (#81787)
* migrate some stuff from aria-label to data-testid

* convert styles to objects

* fix unit tests

* empty commit to kick drone now enterprise branch is there
2024-02-02 13:26:37 +00:00
Sofia Papagiannaki
cf6ebb0548
Swagger: Remove redundant annotation (#81780) 2024-02-02 15:11:23 +02:00
Matias Chomicki
e749c2b062
Infinite scroll: implementation clean up (#81725)
* Infinite scroll: clean up for clarity

* Infinite scroll: clean up test

* Formatting

* Infinite scroll: disable by feature flag

* Infinite scroll: improve visibility of the lower loader
2024-02-02 14:45:20 +02:00
renovate[bot]
574078b977 Update dependency webpack to v5.90.1 2024-02-02 12:39:20 +00:00
Laura Fernández
42cd4266b4
ReturnToPrevious: make href optional (#81691) 2024-02-02 13:14:58 +01:00
Gilles De Mey
e1197641f3
Alerting: Fixes for pending period (#81718) 2024-02-02 12:58:04 +01:00
Oscar Kilhed
ae5e49e5ce
Chore: Address flaky test in PanelDataTransformationsTab.test.tsx (#81779)
* address flaky test

* Disable flaky tests
2024-02-02 13:33:32 +02:00
renovate[bot]
8d980fef71 Update dependency @types/react to v18.2.51 2024-02-02 10:31:11 +00:00