Commit Graph
100 Commits
Author SHA1 Message Date
Ryan McKinley 5211a23f8d Chore: show grafana labs not project (#23913) 2020-04-26 15:34:56 -07:00
Ryan McKinleyandTorkel Ödegaard 3d89f04562 Plugins: show signing status on datasources and plugins (#23542)
* show signing status

* show signing status

* Progress on signed badge style

* Progress on signing status look and updated card background

* Updates

* Transforms card tweak

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-23 11:52:11 +02:00
Ryan McKinley 32d7a4d33a TablePanel: avoid toArray for memoizedData (#23744) 2020-04-21 14:42:27 -07:00
Ryan McKinley 9464115fc0 TableCell: show JSON rather than [object Object] (#23683) 2020-04-20 11:10:03 -07:00
Ryan McKinley 229176f1b0 Transformers: calculate a new field based on the row values (#23675) 2020-04-20 09:57:04 -07:00
Ryan McKinley 1e03bb2895 Bundled Plugins: fix build issues with DirectInput (#23640)
* pass query error

* and the root

* not optional

* building bundled plugin

* missing file

* remove other branch

* fix prettier
2020-04-19 07:05:25 +02:00
Ryan McKinley 88ec7e097f toDataFrame: detect field properties using in rather than hasOwnProperty (#23673) 2020-04-18 15:11:24 -07:00
Ryan McKinley 806dd3f604 QueryEditors: include error when no data is returned (#23632) 2020-04-18 14:59:36 -07:00
Ryan McKinleyandTorkel Ödegaard 6c021f7bb9 Table: add a select option when multiple tables exist (#23545)
* add a table picker

* move picker to the top

* add missing change

* Removed overflow from panel-content so dropdown menus can extend a panel, moved the select to the bottom

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-16 21:35:58 +02:00
+1 17059489d8 Inspector: move Panel JSON and query inspector to the inspector (#23354)
* move Panel JSON to inspector

* move Panel JSON to inspector

* update test

* use stats display options

* move query inspector to inspector

* open inspector from the queries section

* subscribe to results

* subscribe to results

* open the right tab

* apply review feedback

* update menus (inspect tabs)

* Dashboard: extend dashnav to add custom content (#23433)

* Dashlist: Fixed dashlist broken in edit mode (#23426)

* Chore: Fix bunch of strict null error to fix master CI (#23443)

* Fix bunch of null error

* Fix failing test

* Another test fix

* Docs: Add SQL region annotation examples (#23268)

Add region annotation examples for SQL data sources in docs.

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Docs: Update contributing doc to install node@12. (#23450)

* NewPanelEdit: Minor style and description tweaks, AND PanelQueryRunner & autoMinMax (#23445)

* NewPanelEdit: Minor style and description tweaks

* Removed the worst snapshot of all time

* ReactTable: adds color text to field options (#23427)

* Feature: adds text color field config

* Refactor: created an extension point

* Refactor: uses HOC for extension instead

* Fix: fixes background styling from affecting cells without display.color

* Chore: export OptionsUIRegistryBuilder on grafana/data (#23444)

* export the ui registry

* add to utils index also

* DataLinks: Do not full page reload data links links (#23429)

* Templating: Fix global variable "__org.id" (#23362)

* Fixed global variable __org.id value

* correct orgId value

* reverted the change as variables moved to new file

* Chore: reduce null check errors to 788 (currently over 798) (#23449)

* Fixed ts errors so build will succeed

* Update packages/grafana-data/src/types/graph.ts

Co-Authored-By: Ryan McKinley <ryantxu@gmail.com>

* Feedback from code review

* Leaving out trivial typing's

* Fix error with color being undefined now.

* fix test with timezone issue

* Fixed test

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Cloudwatch: prefer webIdentity over EC2 role (#23452)

* Plugins: add a signature status flag (#23420)

* Progress

* fixed button

* Final touches

* now works from edit mode

* fix layout

* show raw objects

* move query inspector buttons to the bottom

* update snapshot

* Updated design

* Made full page reload work

* Fixed minor style issue

* Updated

* More fixes

* Removed unused imports

* Updated

* Moved to data tab out to seperate component

* fixed ts issue

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Alexandre de Verteuil <alexandre@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Vikky Omkar <vikkyomkar@gmail.com>
Co-authored-by: Stephanie Closson <srclosson@gmail.com>
Co-authored-by: Dário Nascimento <dfrnascimento@gmail.com>
2020-04-15 16:51:51 +02:00
Ryan McKinley 010c67cc71 Chore: update rxjs (#23577) 2020-04-14 16:22:03 -07:00
Ryan McKinley 8b48a1c806 Table Panel: use react as the default table panel (#23543) 2020-04-14 12:14:06 -07:00
aaab636bf4 Plugins: verify manifest signature (#23519)
* try decode

* vendor crypto deps

* commited missing vendor deps

* Theme: Refactoring theme colors variables  (#23513)

* Theme: Typography updates

* Updated

* Updated snapshot

* Renamed colors to palette

* Introduce colors namespace

* Massive theme color move

* Removing color selection logic with more abstract concepts

* Updates

* Minor sidemenu change

* Fix example jaeger agent port in docs (#23514)

* @grafana/ui: Replace various icons using Icon component (#23442)

* Replace icons in dashboard and settings

* Replace icons in alerting

* Update batch of icons

* Implement icons accross various files

* Style updates

* Search: Fix recent and starred icons

* Update styling and details

* Replace new icon created by unicons

* Fix e2e test, styling

* Minor styling updates

Co-authored-by: Clarity-89 <homes89@ukr.net>

* trying with p512 key

* trying with p512 key

* lint

* update with real signatures

* fixes spacing in test files

* remove convey from test

* use errutil to wrap errors

* removes print statement

* splitt tests into two run statements

* unexport plugin manifest struct

Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-04-14 06:02:39 -07:00
Ryan McKinley d4516439ec Chore: rename TimePicker to TimeRangePicker (#23524)
* rename TimePicker to TimeRangePicker

* more updates

* rename snapshot
2020-04-12 21:05:29 -07:00
Ryan McKinley 6f1a25a896 DataFrame: expose an object array as a data frame (#23494) 2020-04-11 07:08:22 -07:00
Ryan McKinley afec54d257 Tookit: set verison from info.version (#23511) 2020-04-10 22:49:25 -07:00
Ryan McKinley fc55c8d017 Toolkit: more logging while signging (#23509) 2020-04-10 21:09:06 -07:00
Ryan McKinley db166c4c41 Chore: remove file export (use inspector/toCSV()) (#23508)
* remove file export... use CSV download

* remove file export... use CSV download
2020-04-10 21:08:19 -07:00
Ryan McKinley 8ed6ab2bc9 Toolkit: add CI to the signing URL (#23507) 2020-04-10 16:11:20 -07:00
Ryan McKinleyandDominik Prokop 32555fc769 Plugins: add a deprecated state (#23496)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-10 11:30:36 +02:00
Ryan McKinley a56615749a Plugins: fix debug formatting when scanning for files (#23484) 2020-04-10 00:45:07 -07:00
Ryan McKinley bb357adcab NewEditor: don't show field tabs for non data panels (#23487) 2020-04-09 21:26:37 -07:00
Ryan McKinley b710f21a06 Toolkit: catch errors from signing service (#23486) 2020-04-09 13:30:34 -07:00
Ryan McKinley 227b233aaa Toolkit: save a json manifest file for signing (#23446) 2020-04-09 08:28:30 -07:00
Ryan McKinley 468f5d15ab Plugins: add a signature status flag (#23420) 2020-04-09 00:00:16 -07:00
Ryan McKinley 38082747dc Chore: export OptionsUIRegistryBuilder on grafana/data (#23444)
* export the ui registry

* add to utils index also
2020-04-09 07:57:03 +02:00
Ryan McKinley 2f7ba21593 Docs: add basic docs for QueryResultMetaNotice (#23410)
* add basic docs

* fix typo

* use link not url
2020-04-08 08:18:48 +02:00
Ryan McKinley 4a2a2b163b Query: make queryType a top level property (#23412) 2020-04-07 13:58:08 -07:00
Ryan McKinley 4a3399e953 DataSourceWithBackend: resources response (#23411) 2020-04-07 12:52:31 -07:00
Ryan McKinley 938c61865d Chore: fix build, make prettier happy (#23414) 2020-04-07 12:27:32 -07:00
Ryan McKinley 67e45a1d43 Plugins: do not publish bundled plugins to npm (#23401) 2020-04-07 08:01:06 -07:00
Ryan McKinley 03e3ddcbdb Plugins: add a bundle plugins folder (#20850) 2020-04-07 00:04:24 -07:00
Ryan McKinleyandDominik Prokop 6347a1f1eb VizPicker: show plugins that start with query text first (#23355)
* show plugins that start with queyr text first

* Memoize keyboard handler

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-06 15:06:41 +02:00
Ryan McKinley 7ab11027b0 TemplateSrv: expose limited templateSrv in grafana/runtime (#23339) 2020-04-05 21:44:49 -07:00
Ryan McKinleyandTorkel Ödegaard 3ec88a013f NewPanelEdit: Move field defaults to own tab, and merge general and panel options to first options tab (#23350)
* use dropdown

* keep padding the same

* keep padding the same

* Refactoring and moving to components

* Updated

* Alt names

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-05 14:09:43 +02:00
Ryan McKinley a1157b1744 Inspector: remove feature flag and angular "Export CSV" menu option (#23160) 2020-04-03 11:24:50 -07:00
Ryan McKinley 6366e43a44 Chore: swap [value,time] order when converting to DataFrame (#23206) 2020-04-03 11:11:28 -07:00
Ryan McKinley 7bb6ff30c3 Toolkit: use src/README.md if it exists (#23271) 2020-04-01 22:06:01 -07:00
Ryan McKinley 1ff736b4b3 e2e: remove old toolkit e2e implementation (#23091) 2020-03-26 07:31:44 -07:00
Ryan McKinley 19123444a1 Chore: move specific DataQuery props to loki/tsdb (#23086) 2020-03-25 22:30:22 -07:00
Ryan McKinley 27913289d3 Chore: fix typo and remove deprecation (#23073) 2020-03-25 17:21:09 -07:00
Ryan McKinley 8b067a5fe0 DataSourceWithBackend: use /health endpoint for test (#22789) 2020-03-13 14:40:16 -07:00
Ryan McKinley c65db9bf25 Chore: remove expressions flag and allow (#22764) 2020-03-13 07:43:25 -07:00
Ryan McKinley cf6adb8b54 support duplicate field names in arrow format (#22705) 2020-03-11 09:24:50 +01:00
Ryan McKinley 46fcf9bf08 Toolkit: wrap plugin signing stub with error checking (#22626) 2020-03-06 10:51:48 -08:00
Ryan McKinley e688f13535 Toolkit: plugin ci needs to cooperate better with make/mage (#22588)
* cleanup

* cleanup
2020-03-05 06:06:06 -08:00
Ryan McKinley 5166073f98 DataSourceWithBackend: apply template variables (#22558) 2020-03-03 22:27:58 -08:00
Ryan McKinley f09ee3d8c2 ArrowDataFrame: allow empty results (#22524) 2020-03-02 23:56:01 -08:00
Ryan McKinley cc638e81f4 Toolkit: don't clean dist folder before build (#22521) 2020-03-02 11:29:09 -08:00
Ryan McKinley 0606555ba1 App Plugins: support react pages in nav (#22428) 2020-02-27 09:10:21 -08:00
Ryan McKinley 63c6fc5f4e Toolkit: add junit reporting and jest.config.js to plugin build (#22450) 2020-02-27 08:53:59 -08:00
Ryan McKinley e4d2b6c203 DataSourceWithBackend: Add a get/post resource standard path (#22408) 2020-02-25 11:58:05 +01:00
Ryan McKinley cc589a0d76 Inspector: find the datasource from the refId, not the metadata (#22231)
* remove datasource

* get datasoure from refId

* metrictank does not need to say the datasource
2020-02-16 05:12:40 -08:00
Ryan McKinley 21b53b7d79 Toolkit: don't create declaration files for plugins (by default) (#22228) 2020-02-15 09:05:07 -08:00
Ryan McKinleyandDominik Prokop 2c9b321c48 FieldOverides: apply field overrides based on configuration (#22047)
* test apply

* test apply

* Move standard field config editor registry to grafana-data

* merge master

* Apply field config defaults

* Make field and dataFrameIndex optional on on FieldOverrideContext

* Apply custom field config overrides

* Gauge - make sure thresholds are set

* Move series and field scoped vars calculation

* Enable template variables interpolation in title fields

* Expose standars field configs from grafana ui via function

* Add missing option to the config for the min value to be derived from field values

* Fix ts issue

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-02-13 21:37:24 +01:00
Ryan McKinley 173375cb65 DataLinks: Avoid null exception in new edit mode (#22100) 2020-02-11 16:46:31 +01:00
Ryan McKinley 34e4f182bc Toolkit: add a warning about tslint migration (#22089) 2020-02-11 13:27:26 +01:00
Ryan McKinley 0ff19e9414 Toolkit: create manifest files for plugins (#22056) 2020-02-10 19:39:24 +01:00
Ryan McKinley 34b52cb835 New Editor: refresh when time values change (#22049) 2020-02-09 18:48:14 +01:00
Ryan McKinley bedc708dfa Collapse: add a controlled collapse (#22046) 2020-02-09 17:39:26 +01:00
Ryan McKinleyandDominik Prokop e9c6c040da New Editor: add display modes to fix ratio with actual display (#22032)
* add mode picker

* ratio cleanup

* add siebar toggle

* use secondary button

* use cog icon

* cleanup

* full to fill

* Portaling for Select

* Centering container for panel edit

* Panel editor tabs

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-02-09 15:39:46 +01:00
Ryan McKinley 08a4317b46 DashNavTimeControls: remove $injector and rootScope from time picker (#22041) 2020-02-09 14:36:49 +01:00
Ryan McKinley 2feaad8b0d New Editor: add a tabs row for the query section (#22037) 2020-02-09 10:50:58 +01:00
Ryan McKinley 66191f946d New Editor: use unit picker (#22033)
* use unit picker

* export correct file name

* override is the same
2020-02-09 10:29:10 +01:00
Ryan McKinleyandDominik Prokop da395729c3 FieldEditor: extendable FieldConfig UI (#21882)
* initial POC

* fix import

* field config editor in the sidebar

* field config editor in the sidebar

* field config editor in the sidebar

* sidebar

* include threshold in sidebar

* include threshold in sidebar

* include threshold in sidebar

* init to empty threshold

* merge

* Make sure editor is fully rendered when page is refreshed

* use scrollbars

* add matcher UI folder

* remove

* Field options basic editors

* Removed deebugger

* Make number field editor controlled

* Update public/app/features/dashboard/state/PanelModel.ts

* Update public/app/plugins/panel/gauge/GaugePanel.tsx

* Ready for production

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-02-08 18:29:09 +01:00
Ryan McKinley e7710f0c66 Thresholds: get theme from context automatically (#22025)
* get theme from context for thresholds

* remove theme

* use theme context

* remove theme from gauge/bargauge
2020-02-08 13:59:26 +01:00
Ryan McKinley a51ac787c0 PanelEditor: use splitpane for new editor (#22022)
* use splitpane for new editor

* change header

* use back button icon

* adding react split
2020-02-08 12:01:09 +01:00
Ryan McKinley d0470409d6 Chore: export arrow dataframe utilities (#22016)
* export arrow dataframe

* use the same table
2020-02-08 09:50:35 +01:00
Ryan McKinley c140d110c6 grafana/data: Remove unused PanelSize interface (#21877) 2020-02-03 08:14:34 +01:00
Ryan McKinley c15ddc295c DataFrame: update golden test files (#21808) 2020-01-29 08:30:03 -08:00
Ryan McKinley 67c5531961 grafana/data: Add type for secure json in DataSourceAPI (#21772) 2020-01-28 07:13:20 +01:00
Ryan McKinley ed140346a7 Toolkit: add canvas-mock to test setup (#21739) 2020-01-25 08:11:08 -08:00
Ryan McKinley aee07949a3 Toolkit: copyIfNonExistent order swapped (#21653) 2020-01-21 22:10:16 -08:00
Ryan McKinley 5f14d62c0d TestData: allow negative values for random_walk parameters (#21627) 2020-01-20 10:50:42 -08:00
Ryan McKinley 152059fec9 Toolkit: fix prettier error reporting (#21599) 2020-01-19 18:42:41 -08:00
Ryan McKinley 0f0374544f Templating: update variables on location changed (#21480) 2020-01-16 10:55:54 -08:00
Ryan McKinley c5da1864a6 AppPlugin: remove simple app from the core repo (#21526) 2020-01-15 16:10:27 -08:00
Ryan McKinley 29e9b1f774 DataFrames: add arrow test and capture metadata parsing errors (#21524) 2020-01-15 14:33:56 -08:00
Ryan McKinley 76ba2db4e7 DataLinks: allow using values from other fields in the same row (#21478) 2020-01-15 12:02:52 -08:00
Ryan McKinley f6c94b9c40 Templating: use default datasource when missing (#21495) 2020-01-14 22:51:25 -08:00
Ryan McKinleyandDominik Prokop a0d43de761 Backend Plugins: add a common implementation (#21408)
* add common backend

* use const for range

* likely not differnt

* send the right orgId

* Add DataSourceWithBackend to @grafana/runtime mock in root reducer test

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-14 12:59:48 +01:00
Ryan McKinley 7521d2bba0 Heatmap: fix formatting (#21433)
* add formatting

* remove logging
2020-01-10 12:50:30 +01:00
Ryan McKinley bf18704490 Inspector: support custom metadata display (#20854) 2020-01-09 22:59:23 -08:00
Ryan McKinley 5321e7536f UnitPicker: show custom units on load (#21397) 2020-01-08 07:16:42 -08:00
Ryan McKinley f7053e19d2 TimeZones: fix utc test (#21393) 2020-01-07 14:01:06 -08:00
Ryan McKinley 8233c407a2 Chore: upgrade d3 (#21368) 2020-01-07 02:59:11 -08:00
Ryan McKinley eac66813ca Toolkit: add git log info to the plugin build report (#21344) 2020-01-06 17:10:15 -08:00
Ryan McKinley 1ba072cd58 NewsPanel: update default feed url (#21342) 2020-01-04 13:41:43 -08:00
Ryan McKinley 1aa52f259c Arrow: don't export arrow... breaking phantomjs e2e test (#21331) 2020-01-03 10:00:30 -08:00
Ryan McKinley e550572033 DataFrame: round trip metadata to arrow Table (#21277) 2020-01-03 08:12:19 -08:00
Ryan McKinley e1acc77297 @grafana/data: use timeZone parameter rather than isUtc (#21276) 2020-01-02 08:11:28 -08:00
Ryan McKinley c1b707874d Units: support dynamic count and currency units (#21279) 2020-01-02 07:46:49 -08:00
Ryan McKinley 57c8155971 Websockets: upgrade websocket libray to 1.4.1 (#21280) 2019-12-29 23:07:38 -08:00
Ryan McKinley d9e9843a10 FieldConfig: add thresholds and color modes (#21273) 2019-12-28 17:32:58 -08:00
Ryan McKinley af2cd77655 Units: support farenheit (existing misspelling) (#21249) 2019-12-23 22:05:26 -08:00
Ryan McKinley 8d537b7afb Chore: remove StreamHandler and DataStreamState (#21234)
* remove StreamHandler

* remove DataStreamState
2019-12-23 06:16:04 +01:00
Ryan McKinley b8c0924ab1 NewsPanel: add news as a builtin panel (#21128) 2019-12-20 10:47:45 -08:00
Ryan McKinleyandTorkel Ödegaard 104c2e3636 Metrictank: fix bundled dashboard (#21209)
* update metrictank dashboard

* Restored dashboard datasource variable, and improved error handling in the import api handler

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2019-12-20 11:42:47 +01:00
Ryan McKinley 6de4933a4a FieldConfig: set min/max automatically for gauge (#21073) 2019-12-13 08:36:49 -08:00
Ryan McKinley 1aa39ee458 FieldConfig: support overrides model (#20986) 2019-12-12 14:55:30 -08:00