Ryan McKinley
a87a763d83
DataSourcePlugin: support custom tabs ( #16859 )
...
* use ConfigEditor
* add tabs
* add tabs
* set the nav in state
* remove actions
* reorder imports
* catch plugin loading errors
* better text
* keep props
* fix typo
* update snapshot
* rename tab to page
* add missing pages
2019-05-14 07:55:49 +02:00
Ryan McKinley
1d7bb2a763
DataSourceApi: convert interface to abstract class ( #16979 )
...
* DataSourceApi as class
* add diff signature
* Prometheus: moved directUrl to jsonData
2019-05-10 11:37:43 +02:00
Ryan McKinley
56702902a1
Plugins: Remove dataFormats key and add skipDataQuery ( #16984 )
2019-05-10 07:46:14 +02:00
Marcus Efraimsson
0c1530c7a8
plugins: fix how datemath utils are exposed to plugins ( #16976 )
...
Fixes a regression accidentally introduced by #16890 so that datemath
utils are exposed to plugins in a backward-compatible way.
Fixes #16962
2019-05-09 15:27:52 +02:00
Hugo Häggmark
ceb9f0855b
Chore: Replaces moment with Grafanas DateTime ( #16919 )
...
* Wip: Initial commit
* Refactor: Replaces moment.utc(
* Refactor: replaces the last isMoment statements
* Refactor: Removes almost all moment imports
* Refactor: Moves moment_wrapper to grafana/ui
* Refactor: Renames momentWrapper
* Refactor: Removes one more moment import
* Refactor: Removes unitOfTime import
* Fix: Fixes Prettier error
* Refactor: Renames DateTimeType to DateTime
* Refactor: Renames isDateTimeType to isDateTime
* Refactor: Renames dateTime to dateTime
* Feature: Bans moment imports and types
2019-05-08 13:51:44 +02:00
Ryan McKinley
b08cf1e7ac
Plugins: update beta notice style ( #16928 )
2019-05-07 15:58:03 -07:00
Torkel Ödegaard
6d6242c153
BarGauge: New multi series enabled gauge like panel with horizontal and vertical layouts and 3 display modes ( #16918 )
...
* BarGauge: switched to beta and updated beta notice design
* Updated snapshot
2019-05-07 12:18:08 +02:00
Ryan McKinley
d881976c9d
Refactor: move datemath to grafana/ui ( #16890 )
...
* move datemath to grafana/ui
* don't reference @grafana/ui from its own component
2019-05-06 12:36:42 +02:00
Fernando Kramer
16d5df1cba
PluginsList: Removed icons and updated snapshots ( #16872 )
...
Fixes #16833
2019-05-03 13:19:01 +02:00
Ryan McKinley
ece4d2201c
DataSources: minor typescript cleanups and comments ( #16860 )
...
* datasource interface cleanup
* more types
* use PluginInclude
2019-05-03 06:26:30 +02:00
Ryan McKinley
013f1b8d19
App Plugins: support react pages and tabs ( #16586 )
2019-05-02 10:15:39 -07:00
Ryan McKinley
51a98565dc
Refactor: consistant plugin/meta usage ( #16834 )
2019-04-30 22:36:46 -07:00
Ryan McKinley
26bd76b4c2
Refactor: move NavModel to @grafana/ui ( #16813 )
2019-04-30 07:46:46 -07:00
Ryan McKinley
7dbe719fda
Plugins: rename vizPlugin to panelPlugin ( #16802 )
2019-04-29 09:20:58 -07:00
Ryan McKinley
c5097e2ef3
Plugins: move app/feature/plugin properties into PluginMeta ( #16809 )
2019-04-29 09:14:39 -07:00
Ryan McKinley
5c2d38126d
Plugins: move PanelPluginMeta to grafana/ui ( #16804 )
2019-04-29 08:17:35 -07:00
Ryan McKinley
7146d576e6
Plugins: move datasource specific meta out of the main meta type ( #16803 )
2019-04-29 07:38:17 -07:00
Torkel Ödegaard
060e97bea8
Plugins: ReactPanelPlugin to VizPanelPlugin ( #16779 )
...
* Plugins: ReactPanelPlugin renamed
* Plugins: renamed PanelPlugin to PanelPluginMeta and VizPanelPlugin to PanelPlugin
2019-04-26 19:16:38 +02:00
Dominik Prokop
7aeae84c52
Feature: Enable React based options editors for Datasource plugins ( #16748 )
2019-04-24 23:18:51 +02:00
teajo
80cca9c12e
AppPlugin: avoid app plugin navigation slowness ( #16675 )
...
navigation between pages in app plugin is slow, due to use of non angular native promise
Fixes #16672
2019-04-19 08:41:59 -07:00
Patrick O'Carroll
d040e336c1
UI: Remove old icons ( #16335 )
...
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* removed unsused grafana-icon classes, replaced grafana-icons with gicons
* replaced old dashboard and datasource icons with gicon, fixed so icons on plugin list are shown
* replaced fontawesome cog, eye, link and edit with gicons
* updated snapshot
* fixed color of cog in dashboard nav, removed icons from buttons, ran preitterier on some files
* changed opacity on getting started icons and fixed getting started button
* .5 -> 0.5 fix for prettier
2019-04-17 15:18:32 +02:00
Ryan McKinley
5a0cf1a83c
AppPlugins: fix app support and add an alpha example ( #16528 )
...
* app pages
* app pages
* workign example
* started alpha support
* bump controller limit
* bump controller limit
* existing plugin pages work again
* save Plugin in cache
* remove AppPage wip
2019-04-15 16:54:00 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Ryan McKinley
08a22c806f
DirectInput: new alpha datasource that lets you enter data via CSV
...
Initial alpha datasource that saves data directly in a panel or in the shared datasource configs.
2019-04-12 10:13:36 -07:00
Ryan McKinley
d27de81a91
Plugins: expose getBackendSrv() to plugins ( #15268 )
...
Temporarily expose getBackendSrv while we figure out a long term solution. This will unblock developing some more complex react external plugins.
2019-04-12 09:45:22 -07:00
Ryan McKinley
3c21a121eb
Plugins: Unifying alpha state & options for all plugins ( #16530 )
...
* app pages
* app pages
* workign example
* started alpha support
* remove app stuff
* show warning on alpha/beta panels
* put app back on plugin file
* fix go
* add enum for PluginType and PluginIncludeType
* Refactoring and moving settings to plugins section
fixes #16529
2019-04-12 13:46:42 +02:00
Ryan McKinley
d6887bf77f
Plugins: Optionally preload some plugins during frontend app boot ( #15266 )
...
* auto load
* update comments
* gofmt
* use preload from json
* fix formatting
* change general plugin loader to app
* Refactoring: Plugin preloading #15266
2019-04-11 08:02:22 +02:00
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Torkel Ödegaard
0d55141a2d
Panels: Refactoring how panel plugins sets hooks and components, #16166
2019-03-24 15:56:32 +01:00
Torkel Ödegaard
ac82fc03d9
Merge branch 'piechart-react' of https://github.com/CorpGlory/grafana into CorpGlory-piechart-react
2019-03-20 19:01:37 +01:00
ryan
985f057ab3
revert most options sharing
2019-03-14 13:20:24 -07:00
corpglory-dev
a550e5388a
Merge branch 'master' of https://github.com/grafana/grafana into piechart-react
2019-03-13 19:31:40 +03:00
Torkel Ödegaard
9e7d1f4275
Merge pull request #15466 from grafana/bar-gauge-poc
...
New Bar Gauge panel
2019-03-13 11:12:33 +01:00
Torkel Ödegaard
71159fb606
Merge remote-tracking branch 'origin/master' into bar-gauge-poc
2019-03-13 08:26:06 +01:00
ryan
90510b5ffb
Merge remote-tracking branch 'grafana/master' into alpha-react-virtualized-table
...
* grafana/master:
Fixed type issues introduced by adding angular types
Typescript noAny fixes, start of a long journey
Updated code stats collection
Updated path to new script
POC on collecting metrics in ci process
renamed default variables: s -> sm, m -> md, l -> lg
removed gf-form-margin variable and replaced with space- variables where it was used
heatmap: able to hide buckets with zero value #12080
s -> sm, m -> md, l -> lg
heatmap: fix prometheus buckets sorting, closes #15637
s -> sm, m -> md, l -> lg
removed headings-margin-bottom variable
remove kbn test
Added scopedVars argument in datasourceSrv.get in DataPanel
Refactoring of multi-value datasource PR #15812
fixed minor misstake with dashboard padding
removed -margin, replaced with new general variables
added new space variables to margins in AddPanelWidget, add_data_source, dashboard_settings and sidemenu
added new variables for spacing, set margins in _cards with new variables
Make datasource variables multiselect and dashboard repeatable
2019-03-12 09:04:20 -07:00
Torkel Ödegaard
aeb3553491
Added scopedVars argument in datasourceSrv.get in DataPanel
2019-03-11 18:36:49 +01:00
Torkel Ödegaard
bf72b26c2c
Refactoring of multi-value datasource PR #15812
2019-03-11 15:44:11 +01:00
Torkel Ödegaard
a8486806aa
Merge branch 'multiselect-repeatby-datasource' of https://github.com/jdoupe/grafana into jdoupe-multiselect-repeatby-datasource
2019-03-11 14:14:26 +01:00
corpglory-dev
7bc741c4e2
piechart -> pieChart
2019-03-08 13:51:25 +03:00
ryan
ea5db92996
Merge remote-tracking branch 'grafana/master' into alpha-react-table
...
* grafana/master:
Fixed styling of gicon's in dropdown menus
cleanup plugin versions
use explore icon
fix comments
typescript functions on replace
remove console.log
add ScopedVars to replace function
Expose onQueryChange to angular plugins
fix allow anonymous initial bind for ldap search
2019-03-06 00:59:27 -08:00
ryan
909d425008
cleanup plugin versions
2019-03-05 23:40:03 -08:00
Jeremy Doupe
3f27d3ea23
Make datasource variables multiselect and dashboard repeatable
...
closes #7492 (and #7030 )
2019-03-05 22:47:22 -06:00
ryan
f59ccdf59c
add a basic alpha react table
2019-03-05 16:07:46 -08:00
Peter Holmberg
58f194b483
Merge branch 'master' into bar-gauge-poc
2019-02-21 10:38:26 +01:00
corpglory-dev
77f848b56d
Merge branch 'master' of https://github.com/grafana/grafana into piechart-react
2019-02-19 21:27:22 +03:00
corpglory-dev
a053fb5908
Add piechart to builtInPlugins
2019-02-19 20:24:50 +03:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Torkel Ödegaard
843f8b04d4
Began experimenting with a bar gauge
2019-02-15 12:55:35 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
a1453607a9
Changed noQueries to a dataFormats array that will allow a panel to define supported formats and prefered (first in array)
2019-02-12 16:05:29 +01:00