3903 Commits

Author SHA1 Message Date
abeb08bc98 PanelInspect: show dataframe JSON in JSON view (#47071) 2022-03-30 19:58:49 +02:00
ebc2f9e4fc Grafana-UI: Fix TimeSeries not updating when timeZone is changed (#46728) 2022-03-30 18:09:03 +01:00
edf384c730 DashboardSave: use a feature flag for drawer behavior (#46972) 2022-03-30 10:07:41 -07:00
f486b54b84 Navigation: Rough implementation of new navbar design (#46909) 2022-03-30 18:05:52 +01:00
4449439a41 Search: Implement basic improved UI (#46758) 2022-03-30 09:50:32 -07:00
f1c3177e79 Chore: Add type info for grafana boot data (#45322)
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-03-30 10:48:58 +01:00
6c86f26881 Update dependency ol to v6.14.1 (#46982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 08:50:04 -07:00
8426cfe400 Profile/Help: Expose option to disable profile section and help menu (#46308)
* Expose option to disable help menu

* Expose option to disable profile menu

* Add Profile FeatureTogglePage

* Update public/app/features/profile/FeatureTogglePage.tsx

Uptake PR wording suggestion.

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Fix front end lint issue

* Fix back end lint issue

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-03-29 16:27:53 +01:00
7d2476d045 Collapse: Change icon (#46950) 2022-03-29 16:22:06 +02:00
bf977ac245 Explore: Fix time interpolation (#46737)
* Ensure TemplateService is updated with new time range on each time range change.

* Fix linting errors

* Fix explorePane.test.ts

* Reuse createDefaultInitialState

* Remove unused imports

* Add a test for left/right split

* Silence console.error in tests

* Silence console.error in tests
2022-03-29 15:10:40 +02:00
30d0219de8 Chore: Remove deprecated @types/braintree__sanitize-url package (#47003) 2022-03-29 14:57:14 +02:00
8e3b5dce76 Grafana-UI: Fixes timezone offset for default timezone when it is different from browser timezone (#46796) 2022-03-29 12:23:37 +01:00
23a1dbc264 feat: Bar Gauge Support scrolling (#46819)
* feat: Bar Gauge Support scrolling

* Update public/app/plugins/panel/bargauge/module.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* Update public/app/plugins/panel/bargauge/module.tsx

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>

* docs: Bar gauge add 'min-width' and 'min-height'

Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2022-03-29 11:21:45 +01:00
5242d44693 Table panel: Show datalinks for cell display modes JSON View and Gauge derivates (#46020)
* Show datalinks on Table panel JSON View and Gauge derivates

* Use DataLinksContextMenu on BarGaugeCell

* Change import path

* PR modifications

* Re-add cell container style
2022-03-29 13:05:30 +03:00
6218ca4725 Update dependency @testing-library/dom to v8.12.0 (#46981)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 17:45:42 +00:00
3516821012 Dashboard: Fixes save modal rendered ontop of save drawer (#46916)
* Dashboard: Fixes save modal rendered ontop of save drawer

* removed commented line

* Simplified dismiss -> hideModal mapping

* Fixed issue with new dashboard

* Fixing issues
2022-03-25 13:08:42 +01:00
c13f4542d8 Dashboard: Template variables are now correctly persisted when clicking breadcrumb links (#46790)
* Add history listener to update titleHref/parentHref when location changes

* Convert to functional component and use useLocation

* Wrap component in React.memo

* Add new `getUrlForPartial` method, deprecate `updateSearchParams`
2022-03-24 16:01:43 +00:00
7b23c7fe1e Update Monthly patch updates (#46875)
* Update Monthly patch updates

* Remove 3 packages...

* Fix type error

* undo cypress upgrade

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-23 14:56:44 +00:00
72b6f64df9 Theme: Increase contrast for overlays and drawers (#46630) 2022-03-23 14:47:33 +01:00
721c3207e9 Update dependency prettier to v2.6.0 (#46612)
* Update dependency prettier to v2.6.0

* Keep toolkit in sync

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-23 11:34:45 +00:00
e10c4397dc Prometheus: Enable new visual query builder by default (#46634)
* Prometheus: Enable new query builder by default

* Updated e2e test

* Fixed e2e
2022-03-23 07:28:19 +01:00
560fc9812d Expose reporting-enabled flag to frontend (#46753) 2022-03-22 14:30:45 -06:00
dd2a952c29 Update sentry-javascript monorepo to v6.19.1 (#46799)
* Update sentry-javascript monorepo to v6.19.1

* fix breaking change

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Domas <domasx2@gmail.com>
2022-03-22 16:06:53 +01:00
912018ff64 TimePickerContent: Use button time for range dropdown toggle (#46778) 2022-03-21 15:36:07 +01:00
3492ba7d92 Update dependency rc-cascader to v3.4.1 (#46767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 14:29:01 +01:00
5f67d78219 Use bookmark icon for Saved Items, add support for solid bookmark icon (#46775)
* Use bookmark icon for Saved Items, add support for solid bookmark icon

* Add some unit tests

* Refactor utils into own file

* Update test title

* Fix import

* consistent function style
2022-03-21 13:01:43 +00:00
576b73ed48 Updated bucket size/offeset settings; Check for negative values in bucket size (#46754) 2022-03-18 18:47:34 -05:00
a6dc8255af plugin-ci: update image to golang 1.18 (#46694)
* update golang to 1.18
* update go-lint to latest
* update go-sec to latest
2022-03-18 14:40:03 -04:00
64d4e6fcaa Alerting: visual alert type picker (#46111) 2022-03-18 14:33:32 +01:00
Tom
ea7d5a6185 Transformers: Add template variable substitution (#44486)
* Transformers: Add template variable replacement to transformer operator

* Transformers: Add template variable replacement to calculateField transformer

* Transformers: Add scopedVars to transformer template replacement

* Transformers: Add calculateField template variable test

* Transformers: Fix 'undefined' is not assignable to type 'string'

* Transformers: Fix lint-frontend bug

* Fix lint check

* Fix lint
2022-03-18 10:25:53 +00:00
1cfb9a4a19 Storage: add basic storage service (#46604) 2022-03-17 10:19:23 -07:00
c224da0f02 Data links: Fix issue with not being able to click a variable after scroll (#46643) 2022-03-17 10:31:23 +00:00
15ca294be0 Dashboards: show changes in save dialog (#46557)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-03-16 09:28:09 -07:00
3f58abe9bd Chore: Update go version used in CI to 1.17.8 (#46591) 2022-03-16 07:25:54 -04:00
5ae3e3f6f7 TimeSeries: Preserve null/undefined values when performing negative y transform (#46584) 2022-03-16 01:05:37 -07:00
00c93fff8c Grafana-UI: Fix use of Fragments as children of InlineField (#46326) 2022-03-15 17:50:29 +00:00
275f33cf37 Azure Monitor: Add feature gating for new MetricsQueryEditor with resource picker (#46124)
* Azure Monitor: Use feature toggle for dev of new UI for Metrics Queries.

* Fixes after CR
2022-03-14 15:07:45 -04:00
9546523f41 Update dependency @react-aria/button to v3.4.2 (#45452)
* Update dependency @react-aria/button to v3.4.2

* Use type assertions

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-14 16:31:55 +00:00
fa31508b93 Update dependency rc-cascader to v3.3.1 (#46407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 10:55:23 +00:00
10462bb124 Update dependency @react-aria/overlays to v3.8.0 (#46307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 10:52:52 +00:00
ecf84be65a Added margin right to space out previously squashed labels and values (#46284) 2022-03-12 14:57:36 +00:00
ed924b3d0c Storage: list filtering and root folder support (#46453)
* git the things: FS api internal changes

* remove filestorage/service.go

* remove filestore flag

* remove dummy fs

* readd fileblob import
2022-03-11 22:08:19 +04:00
cb0b089d32 Gauge: Fixes blank viz when data link is added and orientation was horizontal (#46335) 2022-03-11 11:48:20 +01:00
b3f8079f4f Prometheus: Add title to metrics in the metric select with metric help text (#46406)
* Add title to metrics in the select

* Add some comments

* Fix tests
2022-03-10 16:58:25 +01:00
8b9e27c4ba Card: make elements in metadata clickable (#46336)
* Card: make elements in metadata clickable

* add docs
2022-03-10 13:52:34 +00:00
9fc6ee2535 Update Yarn to v3.2.0 (#45714)
* Update Yarn to v3.2.0

* Update sdks as well

* Update nodejs to latest

* Updates

* Update grabpl to 2.9.23

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-09 10:10:51 +01:00
ec911be8ef Perf: don't re-init plots when changing dashboard timeRange (#46339) 2022-03-09 01:51:07 +01:00
1ef247e0c6 TagsInput: fix tags remove button accessibility issues (#46254)
* TagsInput: fix remove button focusable state

* Add tests

* use IconButton

* reverted style changes & disable iconbutton hover animation
2022-03-08 08:58:21 +00:00
79e5e5c024 DataSource: Default data source is no longer a persisted state but just the default data source for new panels (#45132)
* PanelEdit: Change the meaning of default data source to be just that the default for new panels

* Added migration, and also migration for annotation datasource prop to data source refs

* fix

* Fixing tests

* Fixes to annotation

* Fixing unit test
2022-03-08 08:56:12 +01:00
0ee552dd65 LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) (#46260) 2022-03-07 09:21:28 -06:00