Commit Graph

3635 Commits

Author SHA1 Message Date
renovate[bot]
64248edbb0
Update dependency recompose to v0.30.0 (#43705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 14:00:08 +00:00
renovate[bot]
9280894e8c
Update dependency react-use to v17.3.2 (#43702)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 13:52:54 +00:00
Uchechukwu Obasi
62d44fcffc
InfoTooltip: refactor component to be accessible (#43613)
* InfoTooltip: refactor component to be accessible

* new: create ghostMode prop to allow turning on/off button styles

* update infoToolTip component to use ghostMode prop

* update story to show ghostMode state

* fix condition to work properly

* nit fix

* revert changes to former infoTooltip state

* InfoTooltip: use iconButton instead to achieve keyboard a11y

* fix minor type nit
2022-01-05 13:36:13 +01:00
renovate[bot]
8dc4c23a89
Update dependency jquery to v3.6.0 (#43348)
* Update dependency jquery to v3.6.0

* Handle type changes

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-01-05 11:08:13 +00:00
Dimitris Sotirakis
3625c617fa
Add packages:publishTest command (#43696) 2022-01-05 10:53:46 +01:00
MeetzhDing
9c67ce77d8
Transformations: groupBy transformation now preserves data order (#43584)
* fix: groupBy transformers keep the order of numeric keys

* fix: groupBy transformers keep the order of numeric keys
2022-01-05 09:49:15 +00:00
Uchechukwu Obasi
8aa496dfb4
BarGuage: Fixes vertical view flip and bar misalignment when used with datalinks (#43655)
* BarGauge: fix vertical view flip issue

* fix bar misalignment in vertical and horizontal orientations

* add test to prevent bar misalignment in the future
2022-01-04 17:21:29 +01:00
renovate[bot]
c302552714
Update dependency react-colorful to v5.5.1 (#43657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 15:14:25 +00:00
renovate[bot]
567e2b5fd8
Update dependency react-dropzone to v11.4.2 (#43660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 13:20:09 +00:00
renovate[bot]
143517bf1b
Update dependency prop-types to v15.8.0 (#43656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 12:28:02 +00:00
renovate[bot]
0ad440069f
Update dependency @types/jest to v27.4.0 (#43643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 10:06:17 +00:00
renovate[bot]
8fcab78b33
Update dependency date-fns to v2.28.0 (#43645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 10:05:22 +00:00
renovate[bot]
d411fcb228
Update dependency rc-slider to v9.7.5 (#43474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 09:25:19 +00:00
renovate[bot]
c4dd772422
Update dependency postcss-loader to v6.2.1 (#43464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 09:19:26 +00:00
Marcus Andersson
efd7a12686
Chore: Revert externalization of the tslib so it gets bundled with plugins. (#43556)
* Revert externalization of the tslib so it gets bundled with the plugins.

* Adding pnp-webpack-plugin to properly resolve dependencies in nested plugins.

* added dependency on lodash.
2021-12-30 08:53:42 +01:00
Leon Sorokin
e75edc810d
BarChart: color by field, x time field, bar radius, label skipping (#43257)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-23 10:04:41 -08:00
Ryan McKinley
4233a62aeb
DashboardPreviews: add dashboard previews behind feature flag (#43226)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
2021-12-23 09:43:53 -08:00
Uchechukwu Obasi
545d6c4ddb
Chore: move closePopover utility to a standalone file (#43478)
* Chore: move close popover utility to a standalone file

* remove duplicate function in colorpicker

* fixed incorrect import

* make method slightly flexible by removing type parameter
2021-12-23 18:08:02 +01:00
renovate[bot]
b87c737a14
Update dependency react-calendar to v3.5.0 (#43480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:37:32 +01:00
Uchechukwu Obasi
98bf9a6d2a
Tooltip: make widget accessible (#43468)
* add useToolTipTrigger react aria and state to grafana-ui

* show tooltip on focus and close tooltip when esc key is pressed

* remove react-aria/tooltip package

* fix failing test
2021-12-22 18:11:07 +01:00
renovate[bot]
4ec6f95bcd
Update dependency postcss to v8.4.5 (#43463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 16:54:16 +00:00
renovate[bot]
cd93c6cdc0
Update dependency cypress to v9.2.0 (#43460)
* Update dependency cypress to v9.2.0

* kick drone

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-12-22 15:36:41 +00:00
renovate[bot]
2d74ad5971
Update dependency is-hotkey to v0.2.0 (#43330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 15:06:29 +00:00
renovate[bot]
5c22679961
Update dependency ol to v6.9.0 (#43404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-22 13:00:56 +00:00
Hugo Häggmark
ded33ba449
Alert: Makes content scrollable and limits height (#43449) 2021-12-22 09:45:41 +01:00
Todd Treece
6b0f5d464b
@grafana/data: fix build issue caused by merge of #43222 after #43423 (#43436) 2021-12-21 12:28:10 -05:00
Coleman Rollins
119f756c0e
[cr] whitelist flexbox styles in text panel editor (#43222)
* [cr] whitelist flexbox styles in text panel editor

* [cr] separate sanitize function for text panel only

* [cr] separate markdown function for text panel

* [cr] common markdown options
2021-12-21 16:32:48 +00:00
Todd Treece
dd884dbfd5
@grafana/data: Update xss dependency (#43423) 2021-12-21 10:55:36 -05:00
renovate[bot]
159fb4cebb
Update dependency eslint-plugin-react to v7.27.1 (#43207)
* Update dependency eslint-plugin-react to v7.27.1

* Fix up code to work with new version of eslint-plugin-react

* kick drone

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2021-12-21 11:11:27 +00:00
Torkel Ödegaard
b867ecb515
ColorPicker: Refine design of color picker (#43275)
* ColorPicker: Refine design of the color picker popover

* One more tweak

* removed unneeded div and add hover style

* Fixing test

* Reverse order from dark to brighter
2021-12-20 10:50:48 +01:00
Connor Lindsey
70c0a9d117
A11y: Fix Fastpass issues for tracing query editors and config pages (#42759)
* Add aria-labels to Jaeger config page

* Fix fastpass issues for Tempo config page

* Fix fastpass issues for other tracing query types like search
2021-12-17 11:49:21 -07:00
Gábor Farkas
623ae1e41d
datasources: config: add aria-label (#43266) 2021-12-17 11:44:38 +01:00
kay delaney
4855fe78f8
TimeSeriesPanel: Null points no longer get tooltips (#42371)
* TimeSeriesPanel: Null points no longer get tooltips

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-12-17 10:38:08 +00:00
renovate[bot]
1aa4c27cd9
Update dependency @cypress/webpack-preprocessor to v5.11.0 (#43240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-17 09:44:59 +01:00
Leon Sorokin
bba7bdeb9e
GraphNG: uPlot 1.6.18 (#43255) 2021-12-17 00:24:44 -06:00
Leon Sorokin
8fdbc6cc20
TimeSeries: don't auto-disable fill of fillBelowTo targets (#43165) 2021-12-16 14:52:47 -06:00
Leon Sorokin
6b7ef6a80b
BarChart: fix gradient fill orientation when horizontal (#43183) 2021-12-16 11:43:29 -06:00
renovate[bot]
1745cd8186
Update dependency css-minimizer-webpack-plugin to v3.3.0 (#43215)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 17:43:52 +01:00
renovate[bot]
2d4e6e79b2
Update dependency expose-loader to v3.1.0 (#43216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 16:56:58 +01:00
renovate[bot]
1a7ee68133
Update dependency date-fns to v2.27.0 (#43199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 14:01:57 +01:00
renovate[bot]
8e8b0616fe
Update dependency css-loader to v6.5.1 (#43095)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 11:59:24 +00:00
renovate[bot]
505009eeca
Update dependency cypress to v9.1.1 (#43198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 12:47:17 +01:00
Josh Hunt
609a1aa8ad
Chore: parse parseDuration values as numbers (#42826)
* Chore: parseDuration values as numbers

* Clean up RefreshPicker labels
2021-12-16 11:35:53 +00:00
renovate[bot]
23be398c9c
Update dependency css-minimizer-webpack-plugin to v3.2.0 (#43117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 11:16:44 +00:00
renovate[bot]
7bd2e21464
Update dependency core-js to v3.20.0 (#43094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 11:13:49 +00:00
Ben Sully
13d9fddd3e
Transformations: Add 'JSON' field type to ConvertFieldTypeTransformer (#42624)
* Add 'JSON' field type to ConvertFieldTypeTransformer

I've been playing around with #41994 and found that it requires fields
to contain array values, which can't be sent from a backend plugin. This
PR adds the ability for the ConvertFieldTypeTransformer to parse
JSON values and store the result in the transformed field.
The main use case for this right now is so that a field
containing a JSONified array can be transformed into a field
containing an actual array, which can in
turn be used for the table charts in #41994.

Supersedes #42521.

* Add second option to complex field conversion to increase flexibility

This avoids falsely equating 'JSON' with FieldType.other, and instead
allows multiple parsers to be used if the 'Complex' type is selected.

Currently only JSON parsing is implemented, but others could be
supported easily in future.

* Revert "Add second option to complex field conversion to increase flexibility"

This reverts commit 6314ce35eb.

* Improve test for object parsing of complex field transformer

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-16 11:18:11 +01:00
Ashley Harrison
c3ca46d5f6
Chore: Login via the API by default in Cypress (#43167)
* Use the api to login in cypress by default

* export getBaseUrl

* Revert "export getBaseUrl"

This reverts commit ae7eecea37.

* just use BASE_URL from the env

* fix exemplars test

* move into separate functions
2021-12-16 09:28:37 +00:00
nikki-kiga
fde26b0bd9
Geomap: Add tooltip check to display tooltip by layer (#43131)
* Add tooltip check to display tooltip by layer
2021-12-15 13:51:39 -08:00
Artur Wierzbicki
84ae13fe5d
Live: keep stream history on 'refresh' (#41492)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-15 11:01:55 -08:00
Josh Hunt
4f6d08f14b
I18N: Add Lingui core translation framework. (#41827)
* I18N: Add Core Lingui framework for translating the UI

* Make FieldSet accept ReactNode for the label, so it can be translated

* Translate a phrase in the User profile edit form

* Translate phrase

* run lingui compile before webpack builds

* init i18n more lazily

* i1n:compile in drone lint step

* wip for getting tests to work

* Use mock lingui/macros because its too hard to use the real macros in Jest...

* mock messages for tests

* use specific lingui version

* add comment for test helper

* we actually don't need the i18n setup in tests because we mock out <Trans />

* update package.json

* remove unneded imports

* revert back babel core version

* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00