Commit Graph
2589 Commits
Author SHA1 Message Date
Grot (@grafanabot) 9bc7f698b4 "Release: Updated versions in package to 7.5.6" (#33909) 2021-05-11 12:10:20 +02:00
Grot (@grafanabot)andLeon Sorokin fccc972c1a GraphNG: uPlot 1.6.9 (#33598) (#33612)
(cherry picked from commit 5bf76ce881)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-05-04 09:14:22 -05:00
Grot (@grafanabot) b5190ee547 "Release: Updated versions in package to 7.5.5" (#33469) 2021-04-28 12:11:10 +02:00
Grot (@grafanabot)andZoltán Bedi 8b72772444 GraphNG: Fix exemplars window position (#33427) (#33462)
(cherry picked from commit 70bafc2725)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-04-28 11:05:05 +02:00
Grot (@grafanabot) 615c153b3a "Release: Updated versions in package to 7.5.4" (#32971) 2021-04-14 11:07:34 +02:00
Grot (@grafanabot)andLeon Sorokin 4f542d69db GraphNG: uPlot 1.6.8 (#32859) (#32863)
(cherry picked from commit 0c71fdac3d)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-04-09 22:35:05 -05:00
580030ed9a [v7.5.x] Table: Fixes table data links so they refer to correct row after sorting (#32758)
* Table: Fixes table data links so they refer to correct row after sorting (#32571)

* Table: Fixes table data links so they refer to correct row after sorting

* Tests: adds some basic tests incl sorting

* Refactor: removes dependeny on app

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
(cherry picked from commit 5e1d0a8851)

* Tests: mocks locationUtl to fix test

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-04-08 07:38:23 +02:00
Grot (@grafanabot)andkay delaney 7fc361d50f TablePanel: Makes sorting case-insensitive (#32435) (#32752)
* UI/Table: Make sorting case-insensitive
Closes #30476

(cherry picked from commit 6c16ecf65f)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-04-07 16:05:41 +02:00
Grot (@grafanabot) 3e3cf4dc60 "Release: Updated versions in package to 7.5.3" (#32745) 2021-04-07 12:36:01 +02:00
Grot (@grafanabot)andJack Westbrook 3158473206 chore: bump execa to v2.1.0 (#32543) (#32592)
* chore(toolkit): bump execa to v2 to fix vulnerability issue

* chore(toolkit): update usage of execa

(cherry picked from commit b714cdf395)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-01 15:00:04 +02:00
Grot (@grafanabot) ca413c612f "Release: Updated versions in package to 7.5.2" (#32502) 2021-03-30 15:47:47 +02:00
Erik Sundell 22d31136ee SigV4: Add support EC2 IAM role auth and possibility to toggle auth providers (#32444) (#32488)
* wip: consume aws-sdk config in auth http settings

* fix typings

* use sdk regions

* use latest version of grafana/aws-sdk

* use newest sdk

* add comment

* bump sdk

* fix yarn lock file

* fix storybook issue

* upgrade aws-sdk. also use it in grafana ui

* remove not used config

* add aws-sdk as an external dep for grafana in the grafana ui rollup

Co-authored-by: Will Browne <will.browne@grafana.com>
(cherry picked from commit f0d6f132ae)
2021-03-30 13:25:32 +02:00
Grot (@grafanabot)andkay delaney c33d12185d Table: Fixes so links work for image cells (#32370) (#32410)
* Panel/Table: Adjust data links logic
Closes #31576

(cherry picked from commit 2827d89ccf)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-03-29 14:00:02 +02:00
Grot (@grafanabot) 4dffb875cf "Release: Updated versions in package to 7.5.1" (#32362) 2021-03-26 14:12:21 +01:00
Grot (@grafanabot)andDominik Prokop 38c362bdbb GraphNG: Fix tooltip displaying wrong or no data (#32312) (#32348)
(cherry picked from commit 95c65a1f4a)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-26 10:38:01 +01:00
Grot (@grafanabot) b144fb1a9f "Release: Updated versions in package to 7.5.0" (#32308) 2021-03-25 11:13:32 +01:00
Grot (@grafanabot) a9077812d8 Release: Updated versions in package to 7.5.0-beta.2 (#32158) 2021-03-19 13:02:15 +01:00
Grot (@grafanabot)andDominik Prokop 1df1d60e1e GraphNG: Ignore string fields when building data for uPlot in GraphNG (#32150) (#32151)
(cherry picked from commit fb337e5c1d)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-19 11:25:44 +01:00
Grot (@grafanabot)andOscar Kilhed 5d58d0aabb Remove datalink template suggestions for accessing specific fields when there are multiple dataframes. (#32057) (#32148)
* Don't suggest template strings using fields when there are mutliple dataframes

* Change to use label instead of state

(cherry picked from commit f48a52e590)

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-03-19 09:58:52 +01:00
Grot (@grafanabot)andDominik Prokop e3b5d53545 GraphNG: make sure dataset and config are in sync when initializing and re-initializing uPlot (#32106) (#32125)
* Make sure dataset and uPlot config are in sync when rendering uPlot

* Tests

* Fix TS

(cherry picked from commit a6cb9fb295)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-19 08:34:07 +01:00
Ivana Huckova d025e3b57e Backport 32005 to v7.5.x #32128 (#32130)
* Explore: Support full inspect drawer (#32005)

* Move InspectSubtitle to grafana/ui

* Move inspect elements to features/inspector

* Move InspectJSON and use it also in Explore

* Move and use QueryInspector

* Move all to features/inspector

* WIP Data tab implementation

* Process dataframes for explores inspector

* Clean up

* Update test

* Clean up

* Fix Explore Inspector button name

(cherry picked from commit 664b13d83e)

* Fix broken import after refactor
2021-03-18 19:27:34 +01:00
Grot (@grafanabot)andVillena Guillaume 37b07a5a11 ValueMappings: Fixes value 0 not being mapped (#31924) (#31929)
* ValueMapping: Updated tests (#31877)

Checks if value 0 or '0' is considered as a numeric value

* ValueMapping: Changed implementation of isNumeric (#31877)

isNumeric now works with the 0 value

* fixed prettier issue

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
(cherry picked from commit c764bca58f)

Co-authored-by: Villena Guillaume <guiguivil@gmail.com>
2021-03-18 15:21:32 +01:00
Grot (@grafanabot)andDominik Prokop 42c5db4ac3 GraphNG: Fix tooltip series color for multi data frame scenario (#32098) (#32103)
(cherry picked from commit b0d7e3dbee)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-18 14:15:55 +01:00
Grot (@grafanabot)andHugo Häggmark ca31570dcc LibraryPanels: Improves the Get All experience (#32028) (#32093)
* LibraryPanels: Improves Get All Api

* Refactor: using useReducer instead of useState

* Refactor: adds Pagination to UI

* Tests: adds reducer tests

* Refactor: using Observable instead to avoid flickering

* Refactor: moves exclusion to backend instead

* Chore: changing back the perPage default value

(cherry picked from commit f508a16a43)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-18 11:47:23 +01:00
Grot (@grafanabot)andVicky Lee da11a67c4e Grafana/ui: display all selected levels for selected value when searching (#32030) (#32032)
* display all levels for selected values when searching if needed

* add test

(cherry picked from commit e5ca13deb6)

Co-authored-by: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com>
2021-03-18 10:35:58 +00:00
Grot (@grafanabot)andDominik Prokop 0ba9aff11e GraphNG: Fix PlotLegend field display name being outdated (#32064) (#32066)
(cherry picked from commit 48f46a597f)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-17 15:10:57 +01:00
Grot (@grafanabot)andDominik Prokop cfc0e132f5 Make master green (#32011) (#32015)
(cherry picked from commit e9402a56ba)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-16 16:31:00 +01:00
Grot (@grafanabot) 320ad56397 TooltipContainer - use resize observer instead of getClientBoundingRect (#31937) (#32003) 2021-03-15 19:57:37 -07:00
Leon Sorokin 47937d8f1b Tooltip: partial perf improvement (#31774) (#31837) (#31957)
(cherry picked from commit 04e46e3853)
2021-03-12 16:15:44 -06:00
Leon Sorokin 1d3339de34 Backport 31913 to v7.5.x (#31955)
* uPlot 1.6.7 (#31913)
2021-03-12 15:04:17 -06:00
Grot (@grafanabot)andVicky Lee 876e18c105 Grafana/ui: fix searchable options for Cascader with options update (#31906) (#31938)
* update searchableOptions when this.props.options has been updated

* add tests for using state to update options for cascader component

* update story for cascader

* use memoizeOne

(cherry picked from commit 6fe2baf168)

Co-authored-by: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com>
2021-03-12 14:15:42 +00:00
Alex Khomenko e23c086a94 Chore: upgrade eslint and fork-ts-checker-webpack-plugin (#31854) (#31896)
* Chore upgrade eslint, fork-ts-checker-webpack-plugin

* Update eslint version for grafana-toolkit

* Update @grafana/eslint-config version

* Update @grafana/eslint-config in grafana-toolkit

* Update lockfile

(cherry picked from commit b017c65409)
2021-03-11 13:08:17 +01:00
Grot (@grafanabot)andDimitris Sotirakis 6ed29a0418 Update scripts and Dockerfiles to use Go 1.16.1 (#31881) (#31891)
* Update scripts and Dockerfiles to use Go 1.16.1

* Update build-container image version to 1.4.1

* Update node version to 14.16.0-1nodesource1

* Updated drone configuration

(cherry picked from commit d59574ec1e)

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2021-03-11 13:33:21 +02:00
Grot (@grafanabot)andVicky Lee 994fa86836 Grafana/ui: display all selected levels for Cascader (#31729) (#31862)
* add support for displaying all selected levels for cascader

* add story for Cascader with display all selected levels

* add tests for Cascader with displayAllSelectedLevels prop

* replace enzyme test with RTL for cascader

(cherry picked from commit 6819a25add)

Co-authored-by: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com>
2021-03-10 14:05:19 +00:00
Grot (@grafanabot)andHugo Häggmark 8df4fcd190 ReduceTransform: Include series with numeric string names (#31763) (#31794)
* ReduceTransform: Include series with numeric string  names

* Chore: updates after PR comments

(cherry picked from commit bc5ea345e5)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-09 06:23:11 +01:00
Grot (@grafanabot)andIvana Huckova 877b50957c Fix escaping in ANSI and dynamic button removal (#31731) (#31767)
(cherry picked from commit 445132a904)

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-03-08 12:52:12 +01:00
Grot (@grafanabot)andDominik Prokop a21a300f3e DataLinks: Bring back single click links for Stat, Gauge and BarGauge panel (#31692) (#31718)
* Bring back clickable Stat, Gauge and BarGauge panels

* Demo dashboard

* Add DataLinksContextMenu tests

* Only use new UI for data links, revert panel links logic

(cherry picked from commit fdc6f2cc6f)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-03-08 09:03:53 +01:00
Grot (@grafanabot)andGiordano Ricci 1ab3249bab Elasticsearch: revert to isoWeek when resolving weekly indices (#31709) (#31717)
* Elasticsearch: revert to isoWeek when resolving weekly indices

* Add type assertion explainer

(cherry picked from commit bbee7da3e0)

Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
2021-03-05 10:52:30 +01:00
Grot (@grafanabot)andHugo Häggmark 4452ddfee2 Admin: Keeps expired api keys visible in table after delete (#31636) (#31675)
* Admin: Keeps expired keys visible in table after delete

* Chore: covers component in tests before refactor

* Refactor: splitting up into smaller components

* Chore: fixes a small issue with the validation

* Chore: forgot to export type

(cherry picked from commit e87d48921e)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2021-03-05 06:00:08 +01:00
Grot (@grafanabot)andWill Browne a3d4d4ac7c Release: Bump version to 7.5.0-beta.1 (#31664)
* "Release: Updated versions in package to 7.5.0-beta.1"

* Update package.json

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-03-04 11:17:06 +01:00
Ivana Huckova 4c2e5fcbd0 Explore/Logs: Escaping of incorrectly escaped log lines (#31352)
* POC: Escaping of incorrectly escaped log lines

* Remove unused import

* Fix test, change copy

* Make escapedNewlines optional

* Fix typechecks

* Remove loading state from the escaping button

* Update namings
2021-03-03 18:32:27 +01:00
Andrej Ocenas 43d4a593ae Tracing: Small improvements to trace types (#31646) 2021-03-03 18:31:10 +01:00
Vicky Lee c9afbe80e1 test: pass Cypress options objects into selector wrappers (#31567)
* update selector wrappers so they can accept Cypress options objects to be passed in

* use arguments.length instead to be explicit
2021-03-02 14:20:49 +00:00
Andrej Ocenas c113d3ce72 Tracing: Specify type of the data frame that is expected for TraceView (#31465)
* Use dataframe API for jeager

* Move types around

* Fix imports

* Simplify the data frame type

* Add comment

* Move the transform to separate file

* Fix logs timestamp

* Add/update tests for trace view

* Fix lint

* Add test to compare old and new format rendering

* Fix test imports

* Update data source tests
2021-03-02 13:59:35 +01:00
Oscar Kilhed b36314d03f PieChart: Add color changing options to pie chart (#31588)
* Allow changing of series color for PieChart

* Use useTheme hook

* Remove duplicate import
2021-03-02 13:18:03 +01:00
Dominik Prokop 0ba16acd45 Bring back correct legend sizing afer PlotLegend refactor (#31582) 2021-03-02 10:58:40 +01:00
Jack Westbrook e13a48166b chore: bump lodash to 4.17.21 (#31549) 2021-03-02 10:13:27 +01:00
Uchechukwu Obasi 5773b8f28c ConfirmButton: updates story from knobs to controls (#31476)
* ConfirmButton: updates story from knobs to controls

* made some changes
2021-03-01 16:39:36 +01:00
Torkel Ödegaard fcac61203e PieChart: Update text color and minor changes (#31546) 2021-03-01 14:08:48 +01:00
Jack Westbrook 5dc000d6b0 Grafana-data: bump markedjs to v2.x to resolve vulnerability (#31036)
* chore(grafana-data): bump marked to v2.x to resolve vulnerability

* chore(grafana-data): bump marked to v2.0.1
2021-03-01 11:35:51 +01:00