kay delaney
7985aa1e57
Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements ( #18544 )
...
* Performance/Webpack: Introduces more aggressive code-splitting and other perf improvements
- Introduces dynamic imports for built-in plugins
- Uses dynamic imports for various packages (rst2html, brace)
- Introduces route-based dynamic imports
- Splits angular and moment into separate bundles
2019-09-03 09:29:02 +01:00
Ryan McKinley
e1924608a2
DashboardDatasource: reuse query results within a dashboard ( #16660 )
...
* move queryRunner to panelModel
* remove isEditing from PanelChrome
* move listener to QueriesTab
* add shared query datasource
* expose getDashboardSrv to react
* no changes to panel chrome
* issue queries when in fullscreen
* moved to regular QueryEditor interface
* moved to regular QueryEditor interface
* lower limit
* add dashboard query
* no changes to editor row
* fix sort order
* fix sort order
* make it an alpha panel
* make panelId a getter
* fix angular constructor
* rename SeriesData to DataFrame
* merge with master
* use series
* add simple tests
* check unsubscribe
* Minor code cleanup, creating Subjects look cheap and does not need to be lazy, simplifies code
* minor refactor
* Minor refacforing, renames
* added test dashboard
2019-08-27 11:06:49 +02:00
Ryan McKinley
8ce509f3b4
Plugins: show a clear error on the plugin page when it failed to load ( #18733 )
2019-08-26 23:43:45 -07:00
Hugo Häggmark
e5e7bd3153
Dashboard: Adds Logs Panel (alpha) as visualization option for Dashboards ( #18641 )
...
* WIP: intial commit
* Switch: Adds tooltip
* Refactor: Adds props to LogsPanelEditor
* Refactor: Moves LogRowContextProvider to grafana/ui
* Refactor: Moves LogRowContext and Alert to grafana/ui
* Refactor: Moves LogLabelStats to grafana/ui
* Refactor: Moves LogLabels and LogLabel to grafana/ui
* Refactor: Moves LogMessageAnsi and ansicolor to grafana/ui
* Refactor: Moves calculateFieldStats, LogsParsers and getParser to grafana/data
* Refactor: Moves findHighlightChunksInText to grafana/data
* Refactor: Moves LogRow to grafana/ui
* Refactor: Moving ExploreGraphPanel to grafana/ui
* Refactor: Copies Logs to grafana/ui
* Refactor: Moves ToggleButtonGroup to grafana/ui
* Refactor: Adds Logs to LogsPanel
* Refactor: Moves styles to emotion
* Feature: Adds LogsRows
* Refactor: Introduces render limit
* Styles: Moves styles to emotion
* Styles: Moves styles to emotion
* Styles: Moves styles to emotion
* Styles: Moves styles to emotion
* Refactor: Adds sorting to LogsPanelEditor
* Tests: Adds tests for sorting
* Refactor: Changes according to PR comments
* Refactor: Changes according to PR comments
* Refactor: Moves Logs and ExploreGraphPanel out of grafana/ui
* Fix: Shows the Show context label again
2019-08-26 08:11:07 +02:00
Ryan McKinley
f7c55d3968
Plugins: better warning when plugins fail to load ( #18671 )
...
* better pluin feedback
* add server side check for module.js
2019-08-22 07:04:02 +02:00
Tobias Skarhed
90df8c4bb0
Chore: Rename Popper to Popover ( #18543 )
...
* Rename PopperContent to TooltipContent
* Move exports from PopperController
* Change ToolipContent to PopoverContent and PopoverController
* Rename Popper to Popover
* Add forgotten files
* Update snapshot
* Remove generic
2019-08-19 11:40:47 +02:00
Ryan McKinley
5a41e8b119
Refactor: move KeyValue and deprecation warning to @grafana/data ( #18582 )
...
* move KeyValue and deprecation warning
* move KeyValue and deprecation warning
* rename displayProcessor file
2019-08-16 11:10:32 +02:00
Ryan McKinley
63f47fd8e2
Plugins: expose react-redux, redux ( #18501 )
2019-08-14 00:20:23 -07:00
kay delaney
9d87923986
Chore: Upgrades typescript to version 3.5 ( #18263 )
...
* Chore: Upgrade typescript to version 3.5
2019-07-26 15:14:06 +01:00
Andrej Ocenas
7f1214ac46
Permissions: Show plugins in nav for non admin users but hide plugin configuration ( #18234 )
...
Allow non admins to see plugins list but only with readme. Any config tabs are hidden from the plugin page. Also plugin panel does not show action buttons (like Enable) for non admins.
2019-07-25 16:54:26 +02:00
Ryan McKinley
06b43f6d4b
Plugins: avoid app importDashboards() NPE ( #18128 )
...
* tables display
* add missing file
* adding toolbar option
* adding toolbar option
* add items to index
* use root import path
* merge master
* show tables info
* add importDashboards code
* remove table changes
* remove table changes
* use deprecation warning
2019-07-19 07:11:16 -07:00
Tobias Skarhed
c8498461a5
noImplicitAny: Down approx 200 errors ( #18143 )
...
* noImplicitAny playlist approx 200
* Add AngularPanelMenuItem interface
* Roughly 100 noImplicitAny
2019-07-18 08:03:04 +02:00
Ryan McKinley
6599bdc7f1
AnnoList: add alpha annotations list plugin ( #17187 )
...
adding an alpha panel
2019-07-09 09:28:19 -07:00
Ryan McKinley
fcdc29746f
@grafana/data: export dateMath and rangeUtil ( #17971 )
2019-07-05 23:43:12 -07:00
Ryan McKinley
3f15170914
Refactor: move some files to @grafana/data ( #17952 )
...
* moving to data WIP
* more refactoring
* add missing test
* mock full path
* remove sinon from grafana-ui
2019-07-06 08:05:53 +02:00
Dominik Prokop
c5b6365858
grafana/toolkit: Add support for extensions styling ( #17938 )
...
* Add support for static files
* Use url-loader in single css setup
* Add postcss setup
* Expose emotion to plugins and externalise it in toolkit
* Add readme note about emotion
2019-07-05 13:33:42 +02:00
Dominik Prokop
cf37b5439f
grafana/runtime: Expose SystemJS from @grafana/runtime ( #17927 )
...
In 4281344
the loadPluginCss util was migrated to @grafana/runtime package. This made SystemJS to fail loading the css files for a plugin. Root cause was that core and runtime used different SystemJS instances.
To solve the issue, I am exposing SystemJS from @grafana/runtime package to make sure we are always using the same instance. Also, the SystemJS dependency was moved to runtime.
2019-07-04 13:32:09 +02:00
Alexandre de Verteuil
4f1d495ba1
Fix typo s/Applicaiton/Application/ in error messages ( #17765 )
2019-06-25 20:59:58 +02:00
Ryan McKinley
428134482d
@grafana/runtime: expose config and loadPluginCss ( #17655 )
...
* move config to grafana runtime
* set defaults
* defaults in constructor
* use @types/systemjs
* rename Settings to GrafanaBootConfig
2019-06-19 11:31:47 -07:00
Ryan McKinley
401615847c
Build: add @grafana/data package ( #17436 )
...
first step in moving non-ui components to their own package
2019-06-18 08:17:27 -07:00
Tobias Skarhed
6de75de755
Refactor buttons ( #17611 )
2019-06-17 16:15:49 +02:00
Martin Brenner
aa1f9cdd40
AppPlugin: Fix load legacy plugin app ( #17574 )
...
* first init meta befor set legacy components
* add load legacy app test
* AppPlugin: minor refactor
2019-06-15 08:26:31 +02:00
Torkel Ödegaard
de7856cf93
PluginConfig: Fixed plugin config page navigation when using subpath ( #17364 )
2019-06-05 13:24:48 +02:00
Ryan McKinley
574a37e46f
@grafana/runtime: expose location update ( #17428 )
2019-06-04 16:20:55 +02:00
Ryan McKinley
96ba32d0c8
Add a @grafana/runtime package with backendSrv interface ( #16533 )
...
grafana-runtime/tsconfig.json imports query to avoid a build error ¯\_(ツ)_/¯
2019-06-03 17:55:59 +02:00
Ryan McKinley
9e7fa74682
DataSourcePlugin: Avoid anuglar injector if only one parameter ( #17239 )
2019-05-23 11:56:00 +02:00
Ryan McKinley
7e3ac4ebde
AppPlugin: add an init function ( #17150 )
2019-05-20 13:05:23 -07:00
Ryan McKinley
ae1df1cf89
Plugins: expose rxjs matching 6.4.0 ( #17148 )
...
* expose rxjs
* remove super old observable export
2019-05-18 08:31:25 -07:00
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