Commit Graph

9434 Commits

Author SHA1 Message Date
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
Sven Grossmann
98f3b5fecb
Fix dupicated typo into duplicated (#73351)
fix typos in transformation
2023-08-17 00:04:45 +03:00
Matias Chomicki
0fe53fbd1d
Log row: split row-highlighting booleans in two (#73330) 2023-08-16 17:51:18 +02:00
Yelmor
8e7fa50775
Dashboard: Variables Dropdown - Fix Flickering on Refresh (#72566) 2023-08-16 17:32:48 +02:00
Alexa V
3fda30194c
Dashboard: Select the last used data source by default when adding a panel to a dashboard (#71777)
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2023-08-16 17:17:44 +02:00
Yuri Tseretyan
90e3f516ff
Alerting: Update Discord settings to treat 'url' as a secure setting (#69588)
* make discord url secure

* support migrating unsecure settings to secure settings

* Update public/app/features/alerting/unified/utils/receiver-form.ts

Co-authored-by: William Wernert <william.wernert@grafana.com>

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: William Wernert <william.wernert@grafana.com>
2023-08-16 09:03:56 +02:00
Juan Cabanas
c9ed2c80b2
PublicDashboards: Query order bug fixed (#73293) 2023-08-15 14:47:56 -03:00
kay delaney
cd6ed02256
Dashboard: Fix repeated row panel placement with larger number of rows (#72011)
Closes #69833
2023-08-15 14:54:50 +03:00
Sven Grossmann
98b3878231
Logs: Fix scrolling with exploreScrollableLogsContainer feature (#73272)
fix scrolling with `exploreScrollableLogsContainer`
2023-08-15 13:18:19 +02:00
Ashley Harrison
963fffeef1
Chore: fix some more types (#72726)
fix some more types
2023-08-14 16:04:04 +01:00
Fabrizio
0f402347aa
Fix error message for variable names (#72580) 2023-08-14 11:34:54 +02:00
Virginia Cepeda
6c007641e0
Alerting: Remove dump wrapper for yaml config (#73169)
Remove dump wrapper for yaml config
2023-08-13 11:12:28 +02:00
Esteban Beltran
84181eb613
Sandbox: Fix monaco editor custom languages not working correctly inside the sandbox (#72911) 2023-08-11 10:50:57 +02:00
Gilles De Mey
51a67b99f2
Alerting: Always invalidate the AM config after mutation (#73162) 2023-08-11 08:36:49 +02:00
Joey
8c2f439cd7
Table: Support display of multiple sub tables (#71953)
* Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables

* Use nested frames for TraceQL response

* debugging

* Fix cell text and table position

* Update getItemSize

* noHeader size

* Update sub table renderer

* Update table container height

* Cleanup and fix RawPrometheusContainer height

* Update resultTransformer and docker script

* Updates to TableContainer, resultTransformer after merge

* Fixes for table pagination in dashboards

* Cell height and show footer enhancement/fix

* Sub table links

* Update RawPrometheusContainer

* Remove console log

* Update tests

* Update storybook

* Remove Tempo demo

* Store nested data in single field via its values

* Move nested prop into custom

* Tempo demo

* Add field type & update incorrect logic

* Update docker compose image for Tempo

* Update packages/grafana-data/src/field/fieldOverrides.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Simplify logic for getting nestedFrames and rendering sub tables

* Update docs for table

* Update nested table bg color

* Lighten nested table bg color

* Renames

* Migrate frames using parentRowIndex and add deprecation notice

* Update title

* Align expander icon size between Table and interactive table

* Table: Refactor out the expanded rows bits

* fix spacing

* Add line along left side for expanded rows

* Disable hover row background when expanded

---------

Co-authored-by: André Pereira <adrapereira@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-08-10 12:33:46 +01:00
Gilles De Mey
d9695eb507
Alerting: Add "no-rules" to redirect to rule viewer (#73111) 2023-08-09 17:17:41 +02:00
Konrad Lalik
df3d10606d
Alerting: Optimize rule details page data fetching (#72977) 2023-08-08 20:36:38 +02:00
Yuri Tseretyan
6b4a9d73d7
Alerting: Export contact points to check access control action instead legacy role (#71990)
* introduce a new action "alert.provisioning.secrets:read" and role "fixed:alerting.provisioning.secrets:reader"
* update alerting API authorization layer to let the user read provisioning with the new action
* let new action use decrypt flag
* add action and role to docs
2023-08-08 19:29:34 +03:00
Ludovic Viaud
8d79d45972
Transformations: Fix partitionByValues when there is no match (#72981) 2023-08-08 15:10:31 +02:00
Sven Grossmann
533fae4c60
Logs: Fix displaying the wrong field as body (#73025)
* fix displaying the wrong field as body

* fix test

* fix `getFirstFieldOfType` with non-present type
2023-08-08 12:02:30 +02:00
mikkancso
1646b901af
EditDatasource: Fix navtree when dataSourcePageHeader is on (#72827)
use useDataSourceSettingsNav from connections in DataSourceTabPage
2023-08-08 07:53:32 +02:00