Torkel Ödegaard
665079dc8c
StatPanel: Rename singlestat2 to stat ( #20651 )
2019-11-25 16:13:14 -08:00
kay delaney
ca3dff99e8
Chore: Bumps prettier version for new typescript syntax support ( #20463 )
...
* Chore: Bumps prettier version for new typescript syntax support
* Ran new version of prettier against the codebase
2019-11-19 13:59:39 +00:00
kay delaney
e0a2d4beac
Grafana/Loki: Adds support for new Loki endpoints and metrics ( #20158 )
...
* Grafana/Loki: Adds support for new Loki endpoints and metrics
* Adds `/loki/` prefix to new loki endpoints and updates response interfaces
* Improved legacy support
* Removed changes related to plugin.json and added Loki-specific hacks
* Fixes live streaming for legacy loki datasources
2019-11-15 16:38:25 +01:00
kay delaney
1248457fee
Chore: Fix error caused by typescript upgrade ( #20408 )
2019-11-15 10:13:49 +00:00
kay delaney
f1c8330877
Chore: Upgrade typescript to 3.7 ( #20375 )
...
* Chore: Upgrade typescript to 3.7
2019-11-15 09:18:09 +00:00
Ryan McKinley
b1e0a4d2c2
PluginLoader: export classes on @grafana/ui ( #20188 )
2019-11-06 05:27:14 -08:00
Huan Wang
428267b924
PluginLoader: fix imports for react-redux ( #19780 )
2019-11-01 08:05:18 -07:00
Dominik Prokop
9b7748ec13
Chore: Reorg packages ( #20111 )
...
Primarily- moving majority of the types and utils from @grafana/ui to @grafana/data
* Move types from grafana-ui to grafana-data
* Move valueFormats to grafana-data
* Move utils from grafana-ui to grafana-data
* Update imports in grafana-ui
* revert data's tsconfig change
* Update imports in grafana-runtime
* Fix import paths in grafana-ui
* Move rxjs to devDeps
* Core import updates batch 1
* Import updates batch 2
* Imports fix batch 3
* Imports fixes batch i don't know
* Fix imorts in grafana-toolkit
* Fix imports after master merge
2019-10-31 10:48:05 +01:00
Ryan McKinley
861eb72113
transform: add expressions to query editor (w/ feature flag) ( #20072 )
...
for use with gel which is not released yet.
2019-10-30 14:38:28 -04:00
Roman Misyurin
63b561b39d
PluginPage: replace plugin absolute url with relative ( #19956 )
2019-10-24 08:43:54 +02:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
Hugo Häggmark
5202770bdc
Grafana Image Renderer: Fixes plugin page ( #19664 )
...
Fixes #19659
2019-10-07 21:38:45 -07:00
kay delaney
68d6da77da
Chore: Update Slate to 0.47.8 ( #19197 )
...
* Chore: Update Slate to 0.47.8
Closes #17430
2019-09-23 12:26:05 +01:00
Hugo Häggmark
f01836c17a
Dashboard: Hides alpha icon for visualization that is not in alpha/beta stage #19300
...
Fixes #19251
2019-09-23 02:34:00 -07:00
srid12
2a1e130000
AlertBox: Merged Alertbox into Alert ( #19212 )
...
* refatoring alert box and using alert
* refactoring alertbox to alert
* Changed default to Error
* added buttonText, onButtonClick, omRemove
* Minor fix to buttons
* fixed onRemove
2019-09-20 13:41:00 +02:00
Alexander Zobnin
98c95a8a83
plugins: expose whole rxjs to plugins ( #19226 )
2019-09-19 16:27:31 +03:00
Dominik Prokop
503dccb771
Revert "Chore: Update Slate to 0.47.8 ( #18412 )" ( #19167 )
...
This reverts commit 601853fc84
.
2019-09-17 13:21:50 +02:00
kay delaney
601853fc84
Chore: Update Slate to 0.47.8 ( #18412 )
...
* Chore: Update Slate to 0.47.8
Closes #17430
* Add slate and immutable to grafana-ui deps
* Fixes some small regressions introduced
* Fix suggestions for multiple query fields
* Pin upgraded dependencies
* Prettier fix
* Remove original slate-react dependency
* Fix tiny-invariant dep
* (Temporarily) comments out source maps for grafana-ui
2019-09-17 13:16:24 +02:00
Torkel Ödegaard
f2ca3abf07
AlphaNotice: replaced big popover tooltip with native tooltip ( #18997 )
2019-09-11 09:02:17 +02:00
Ryan McKinley
7520ebadac
Refactor: move ScopedVars to grafana/data ( #18992 )
2019-09-10 12:06:01 -07:00
Ryan McKinley
7d32caeac2
Transformers: configure result transformations after query(alpha) ( #18740 )
2019-09-09 08:58:57 +02:00
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