Commit Graph

9454 Commits

Author SHA1 Message Date
Ashley Harrison
0853819ff7 Chore: friday typings 5 (#73844)
* fix some event.target as stuff

* segment async story

* segmentinput story

* SegmentSelect

* fixing some tests

* more test fixes

* undo change to SilencesFilter
2023-08-29 09:14:15 +01:00
Aditi Patel
b043d8d0e8 PublicDashboards: Warnings when creating a public dashboard are not properly aligned (#73794) 2023-08-28 12:52:49 -03:00
Brendan O'Handley
8dbd70b91b Prometheus: Explore expand raw results in split panel bug fix (#73864)
* make switch id unique

* tests

* tests

* use useId for switch id

* space
2023-08-28 11:43:59 -04:00
Juan Cabanas
36d7cc9384 Dashboards: Show repeated row with Dashboard ds warning (#73787) 2023-08-28 10:00:11 -03:00
Torkel Ödegaard
5bd58cac57 Eslint: Update grafana/eslint-config that allows public accessability modifier (#73906) 2023-08-28 14:57:49 +02:00
Alexa V
97c3cd1af3 Dashboard: Fix Variable Dropdown to Enforce Minimum One Selection when 'All' Option is Configured (#69839) 2023-08-28 14:38:32 +02:00
Torkel Ödegaard
74d453f056 DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879)
* DashboardScheam: Remove old unused legacy props style and timepicker.enable

* Update

* fix test
2023-08-28 12:18:17 +02:00
Josh Hunt
f95405d3c3 Plugins: Allow async panel migrations (#73782)
* Plugins: Allow async panel migrations

* comment
2023-08-28 10:06:55 +00:00
Ivan Ortega Alba
7543a28ae2 Rename "Add new data source" to "Connect data" (#73688)
* DS Picker: Rename "Add new data source" to "Connect data"

* DS Picker: Center empty list CTA
2023-08-28 11:54:51 +02:00
Alex Khomenko
c6f0adf12d Dashboard embed: Use port instead of callbackUrl (#73883) 2023-08-28 12:35:26 +03:00
Torkel Ödegaard
3ee26df41e PublicDashboards: Variables refactor (#73476)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-08-25 13:56:02 -05:00
Gilles De Mey
39077769a8 Alerting: Fix data source copy when switching alert rule types (#73854) 2023-08-25 20:24:50 +02:00
Gilles De Mey
70dc5610c0 Alerting: Fix delete cloud rule from detail page (#73850) 2023-08-25 17:39:35 +02:00
Torkel Ödegaard
eab6250142 DashboardScene: Move to new folder structure, some refactorings and progress on inspect (#73810)
* Progress refactoring

* Update

* Update

* Update

* DashboardScene: Folder struct propsal

* Rename loading to persistance

* Moving and renaming
2023-08-25 14:11:47 +02:00
Aditi Patel
4919b36211 Share: Remove HTML space characters in Link section (#73730) 2023-08-24 17:50:26 -03:00
Konrad Lalik
e7a2c86af8 Alerting: Fix secure settings migration (#73749)
Fix secure settings migration
2023-08-24 14:46:19 +01:00
Haris Rozajac
19ae937aa8 Explore: Unified Node Graph Container (#72558)
* Improve naming; fix tests

* Pass countWarning to titleItems

* Center warning text

* Revert variable name

* Switch from arrow function to direct assignment

* Add ability to make component controlled

* Replace remaining isOpen with collapsed

* Fix test; update story and docs

* Add test; add uncontrolled functionality
2023-08-24 15:30:25 +02:00
jvmdc
7bcb3597fe Alerting: Fix auto-completion snippets for KV properties (#73394) 2023-08-24 11:23:08 +02:00
Torkel Ödegaard
9b891480d6 DashboardScene: Edit mode should enable dragging (#73628)
* DashboardScene: Edit mode should enable dragging

* Update

* Update

* Update scenes lib
2023-08-24 07:26:23 +02:00
Gilles De Mey
a01a903492 Alerting: Fix incorrect timing meta information for policy (#73675) 2023-08-23 17:12:24 +02:00
Sven Grossmann
25fd8f2d59 Logs: Add datalinks to table visualisation in Explore (#73679)
add datalinks
2023-08-23 16:03:19 +02:00
Piotr Jamróz
f11cc0e60e Explore: Improve handling time range keyboard shortcuts inside Explore (#73600)
* Handle time keyboard shortcuts inside Explore

* Remove unused handler for make absolute

* Remove unused code

* Unify handling keyboard shorcuts logic
2023-08-23 16:02:49 +02:00
Polina Boneva
efa428c329 Revert "Dashboard: Set descending z-index of panels in a dashboard" (#73677)
Revert "Dashboard: Set descending z-index of panels in a dashboard (#73401)"

This reverts commit f091e8f84a.
2023-08-23 14:49:31 +03:00
Virginia Cepeda
27fb922f9b Alerting: Add new Recording Rule button when the list is empty (#73502)
* Add button to create RR when there are no alerts

* Remove unneeded import

* Change cards to be shown vertically
2023-08-22 13:05:22 -03:00
Giordano Ricci
53867e3fcd Dashboards: relabel add query button (#73607) 2023-08-22 14:47:45 +01:00
Giordano Ricci
35818fa9ab Explore: Relabel secondary actions buttons (#73605) 2023-08-22 14:36:53 +01:00
Sven Grossmann
997d21f6e5 Logs: Fix log samples not present with empty first frame (#73612)
* fix log samples not present with empty first frame

* also test with empty frames

* rename test file

* remove import
2023-08-22 16:19:51 +03:00
Virginia Cepeda
2c9b74b651 Alerting: Fix Recording Rule QueryEditor builder view (#73348)
* Add missing props when changing recording rule query

* Use optional chaining for model prop
2023-08-22 10:13:55 -03:00
Konrad Lalik
7631b0cf3f Alerting: Improve tests setup (#73316) 2023-08-22 13:50:41 +02:00
Esteban Beltran
050b9d9a85 Sandbox: Fix prismjs syntax for plugins defining its own language (#73393)
* Sandbox: Fix prismjs syntax for plugins defining its own language

* Add clarifying comment
2023-08-22 13:04:57 +02:00
Ihor Yeromin
546b2deb13 A11y: Fix resource picker accessibility (#73488)
* fix(a11y): resource picker
2023-08-21 21:35:18 +02:00
Ihor Yeromin
9e1f528919 A11y: Fix canvas element accessibility (#73483)
* fix(a11y): canvas tooltip element

* fix(a11y): canvas element selection
2023-08-21 21:34:47 +02:00
Dominik Prokop
f00f56bbff DashboardLoaders: Add support for loading library panels (#73406)
* DashboardLoaders: Add support for loading library panels

* Bump scenes

* Scene object for loading library panels

* Remove unused function

* Remove console.log

* Bump scenes

* Review
2023-08-21 08:43:48 -07:00
mikkancso
88cdc38afa Connections: Redirect from outdated URLs (#73278)
Connections: redirect from outdated URLs
2023-08-21 15:58:02 +02:00
Ihor Yeromin
ab587b6884 A11y: Fix resource cards accessibility (#73487)
fix(a11y): resource cards
2023-08-21 12:26:12 +02:00
Ryan McKinley
e605c686f8 Transforms: Catch errors while running transforms (#73451) 2023-08-18 13:55:42 -07:00
lucychen-grafana
ca64d919ad PublicDashboard: Remove Github Disucssion link (#73517)
* remove github disucssion link

* remove unused cx import
2023-08-18 15:59:45 -04:00
Ezequiel Victorero
993f5491a2 DataSourcePicker: remove default property from data source variable selection (#73314) 2023-08-18 07:42:55 -05:00
Alex Khomenko
dd21584961 Dashboard: Fix version restore (#72866)
* Dashboard: Fix version restore

* Update comment
2023-08-18 15:17:45 +03:00
Polina Boneva
f091e8f84a Dashboard: Set descending z-index of panels in a dashboard (#73401)
* set panel z-index to a descending number once they are ordered before they are rendered

* set styling inside grid item

* fix unresponsive RGL when style is overwritten entirely
2023-08-18 14:53:51 +03:00
Sven Grossmann
5e61b54fa3 Logs: Fix permalinks not scrolling into view (#73464)
* fix log line scrolling

* add scrolling tests

* fix `LogRow` tests
2023-08-18 12:54:08 +02:00
Ihor Yeromin
f169151143 A11y: Fix canvas setting button accessibility (#73413)
* fix(a11y): canvas setting button
2023-08-18 09:07:48 +02:00
Juan Cabanas
214f46be1f Dashboards: Widget plugins removed from suggestions tab (#73331) 2023-08-17 15:02:32 -03:00
Matias Chomicki
48c3dc7203 Logs: Hide filters in log details if the data source doesn't support them (#73230)
* Logs: Hide filters in log details if the data source doesn't support them

* Logs Container: use logsQueries prop

* Log details: add filters visibility test
2023-08-17 17:53:11 +02:00
Dominik Prokop
30393459df DashboardsLoader: Enable cursor sync in scenes based dashboard (#73383)
* Bump scenes

* Enable cursor sync in scene dashboard
2023-08-17 07:03:26 -07:00
Torkel Ödegaard
3245e25273 SqlDataSources: Update metricFindQuery to pass on scopedVars to templateSrv (#73333) 2023-08-17 14:58:54 +02:00
mikkancso
6bc7c70c02 Datasources: Cleanup unused code from datasources (#73360)
* remove unused datasource pages

* move useDataSourceSettingsNav from datasources to connections

without any modification in the code yet

The reason for this is that its only usage is in this file, so we are
going to merge it with the other useDataSourceSettingsNav hook in the
next commit.

* merge two useDataSourceSettingsNav's

and rename consts and remove duplicated calls

* simplify useDataSourceSettingsNav
2023-08-17 14:37:39 +02:00
Piotr Jamróz
ab451d76ac Explore: Improve parsing ranges from URL (#72498)
* Fix parsing absolute range

* Silence warning issued by moment js

* Introduce URLRangeValue to enforce better type-checking

* Fix unit tests

* Allow not passing range to generate ExploreUrl

* Use updated time range format in a test

* Allow empty object to be passed as a data link for backward compatibility

* Update mocks

* Post-merge fixes

* Simplify checking if range is passed as an empty object

* Update docs
2023-08-17 12:06:52 +02:00
Yulia Shanyrova
9f4fb71a7b Plugins: remove 'admin/plugins' redirect (#73319)
Redirect was deleted because it is deprecated
2023-08-17 10:30:42 +02:00
Agnès Toulet
24978eff61 Rendering: Fix dashboard screenshot (#73190)
Rendering: fix dashboard screenshot
2023-08-17 09:56:28 +02:00