grafana/public
Erik Sundell 934a8f08ae
Stackdriver: Project selector (#22447)
* clean PR #17366

* udpate vendor

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* Implement projects management for stackdriver

* [WIP][Tests] Fix errors

* clean anonymous struct

* remove await

* don't store project list

* Add default project on query editor

* gofmt

* Fix tests

* Move test data source to backend

* Use segment instead of dropdown. remove ensure default project since it's not being used anymore.

* Fix broken annotation editor

* Load gceDefaultAccount only once when in the config page

* Reset error message on auth type change

* Add metric find query for projects

* Remove debug code

* Fix broken tests

* Fix typings

* Fix lint error

* Slightly different approach - now having a distiction between config page default project, and project that is selectable from the dropdown in the query editor.

* Fix broken tests

* Attempt to fix strict ts errors

* Prevent state from being set multiple times

* Remove noOptionsMessage since it seems to be obosolete in react select

* One more attempt to solve ts strict error

* Interpolate project template variable. Make sure its loaded correctly when opening variable query editor first time

* Implicit any fix

* fix: typescript strict null check fixes

* Return empty array in case project endpoint fails

* Rename project to projectName to prevent clashing with legacy query prop

* Fix broken test

* fix: Stackdriver - template replace on filter label

should have a regex format as that escapes the dots
in the label name which is not valid.

Co-authored-by: Labesse Kévin <kevin@labesse.me>
Co-authored-by: Elias Cédric Laouiti <elias@abtasty.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-03-02 09:31:09 -05:00
..
app Stackdriver: Project selector (#22447) 2020-03-02 09:31:09 -05:00
dashboards Typescript: null check fixes, and news panel fix (#21595) 2020-01-19 19:16:31 +01:00
e2e-test Chore: Fixes various strict null errors (#21763) 2020-01-28 09:13:56 +01:00
e2e-tests TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
emails Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
fonts Chore: fix modes for non-executable files (#16864) 2019-05-03 09:51:53 +02:00
img Icons: add reports icon (#22445) 2020-02-28 09:51:03 +01:00
sass Icons: add reports icon (#22445) 2020-02-28 09:51:03 +01:00
test Dashboard: Adds support for a global minimum dashboard refresh interval (#19416) 2020-02-28 14:32:01 +01:00
vendor Fix: when clicking a plot on a touch device we won't display the annotation menu (#21479) 2020-01-14 14:16:44 +01:00
views Core: Make application title customizable for WL (#22401) 2020-02-25 15:18:37 +01:00
robots.txt add support for robots.txt file 2015-06-15 19:02:38 -04:00