* Make imports relative
* Fix Alias field value not being shown
(cherry picked from commit b46235715d)
Co-authored-by: Giordano Ricci <gio.ricci@grafana.com>
* BarGauge: Increase min value width and fix height when setting manual text size
* updated snapshot
* Big improvement to bar gauge value sizing and fixing table gauge sizing
* removed unused const
* added a unit test
(cherry picked from commit 39d7ebc7d1)
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Graph: Fixes so graph is shown for non numeric time values
* Tests: changes times to UTC
* Tests: forgot one value in time array
* GraphNG: make time series panel work with string time stamps (#30981)
* Make Time series panel work with data that time is represented as string
* Map to for
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
(cherry picked from commit bd28512d29)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* TextPanel: Fixes so panel title is updated when variables change
* Tests: fixes tests
* Chore: updates after PR comments
(cherry picked from commit f42bb84cbf)
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* Updated
* DataSourceSettings: Adds info box and link to Grafana Cloud
* Updated wording
* Less words
* use variables
* Fixing ts issues
* fixed import
(cherry picked from commit 56ef7c4a4c)
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* GrafanaUI: Add a way to persistently close InfoBox
InfoBox and FeatureInfoBox can take up a lot of screen realestate. This makes it easy to let the user close the boxes.
* Migrate InfoBox story to controls
(cherry picked from commit 99acad4448)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* Introduce PluginRequestValidator abstraction with a NoOp implementation
* Update PluginRequestValidator abstraction to use the dsURL instead
* Inject PluginRequestValidator into the HTTPServer and validate requests going through data source proxy
* Inject PluginRequestValidator into the BackendPluginManager and validate requests going through it
* Validate requests going through QueryMetrics & QueryMetricsV2
* Validate BackendPluginManager health requests
* Fix backend plugins manager tests
* Validate requests going through alerting service
* Fix tests
* fix tests
* goimports
Co-authored-by: Leonard Gram <leo@xlson.com>
(cherry picked from commit 6415d2802e)
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
* feat(grafana-ui): add an escape key listener to Modal
* Update packages/grafana-ui/src/components/Modal/Modal.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* feat(grafana-ui): add closeOnEscape prop to control Modal behaviour
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
(cherry picked from commit 3066b38c5e)
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* add compile variable in tooltip link
* test(link_srv): introduce getAnchorInfo test
* test(link_srv): introduce tests for getLinkUrl
* test(link_srv): refer to anchorInfo.url rather than hardcode expected
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
(cherry picked from commit 141202f518)
Co-authored-by: Ha. Huynh Sam <huynhha12798@gmail.com>
* Wip
* fix(grafana-ui): add no data message to Table component
(cherry picked from commit 4f684cc498)
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
* bump cypress to 6.3.0
* fix inspect-drawer spec
* fix panelEdit_base spec
* fix select-focus spec
* Apply suggestions from code review
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
* add be.visible assertion to new-query-variable spec to avoid flakiness
* increase waits in new-query-variable spec to avoid flakiness
* increase waits in new-query-variable spec by another 500
* remove be.visible assertion added before
* Chore: trying to fix flakiness
* skip the new-variable-query e2e test
* Chore: refactor so we might avoid flakiness
* Revert "skip the new-variable-query e2e test"
This reverts commit 203c1875c2.
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
(cherry picked from commit b8dd50c297)
Co-authored-by: Vicky Lee <36230812+vickyyyyyyy@users.noreply.github.com>
* Measure transformation number and elapsed time
* Change histogram to summary
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
(cherry picked from commit 2f394a219b)
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>