Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Joan López de la Franca Beltran
ce3e34e9b3
Plugins: Use the includes.path (if exists) on sidebar includes links ( #30291 )
2021-01-15 00:12:08 +01:00
Dominik Prokop
0cfb967404
ESlint: React fixes part 1 ( #29062 )
...
* Eslint: allign with latest grafana-eslint-config
* fix ts
* Fix react/jsx-key
* Fix react/no-children-prop
* Fix react/jsx-no-target-blank
2020-11-18 15:36:35 +01:00
Dominik Prokop
2ddda8f452
Plugins signing: Fix docs urls ( #28930 )
2020-11-09 13:32:48 +01:00
Dominik Prokop
e93cb06604
Plugin page: Fix dom validation warning ( #28737 )
2020-11-02 13:04:40 +01:00
Dominik Prokop
a2b3e63705
Plugin signing: Fix copy on signed plugin notice ( #28633 )
...
* Fix copy on signed plugin notice
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-29 10:41:32 +01:00
Dominik Prokop
4468d41417
Plugin signing: UI information ( #28469 )
...
* first pass
* return list
* types and cleanup
* add to plugin page and add styles
* update comment
* update comment
* fix component path
* simplify error component
* simplify error struct
* fix tests
* don't export and fix string()
* update naming
* remove frontend
* introduce phantom loader
* track single error
* remove error from base
* remove unused struct
* remove unnecessary filter
* add errors endpoint
* Update set log to use id field
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* skip adding BE plugins
* remove errs from plugin + ds list
* remove unnecessary fields
* add signature state to panels
* Fetch plugins errors
* grafana/ui component tweaks
* DS Picker - add unsigned badge
* VizPicker - add unsigned badge
* PluginSignatureBadge tweaks
* Plugins list - add signatures info box
* New datasource page - add signatures info box
* Plugin page - add signatures info box
* Fix test
* Do not show Core label in viz picker
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update public/app/features/plugins/PluginListPage.test.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/plugins/PluginListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Update public/app/features/datasources/NewDataSourcePage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Review comments 1
* Review comments 2
* Update public/app/features/plugins/PluginsErrorsInfo.tsx
* Update public/app/features/plugins/PluginPage.tsx
* Prettier fix
* remove stale backend code
* Docs issues fix
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2020-10-27 13:08:08 +01:00
Alex Khomenko
d6fd8e4584
Plugin page: update readme icon ( #28465 )
...
* Update readme icon
* Use file icon
2020-10-22 17:19:49 +03:00
Ryan McKinley
93a01eb1d9
Live: improved channel state ( #27672 )
2020-09-23 08:02:01 -07:00
Torkel Ödegaard
fd44c01675
Chore: Fix typescript strict null fixes now at 298 ( #26125 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Fixed incorrect type
* removed unused import
2020-07-08 11:05:20 +02:00
Dominik Prokop
d2a13c4715
FieldOverride: Support data links via field overrides ( #23590 )
...
* Move xss and sanitize packages to grafana-data
* Move text, url and location utils to grafana-data
* Move grafana config types to grafana-data
* Move field display value proxy to grafana-data
* Fix
* Move data links built in vars to grafana-data
* Attach links supplier to when applying field overrides
* Prep tests
* Use links suppliers attached via field overrides
* locationUtil dependencies type
* Move sanitize-url declaration to grafana-data
* Revert "Move sanitize-url declaration to grafana-data"
This reverts commit 11db9f5e55
.
* Fix typo
* fix ts vol1
* Remove import from runtime in data.... Make TS happy at the same time ;)
* Lovely TS, please shut up
* Lovely TS, please shut up vol2
* fix tests
* Fixes
* minor refactor
* Attach get links to FieldDisplayValue for seamless usage
* Update packages/grafana-data/src/field/fieldOverrides.ts
* Make storybook build
2020-04-20 07:37:38 +02:00
Martin Brenner
7784b519a0
PluginPage: Add appSubUrl string to config pages url ( #21414 )
2020-01-09 14:02:58 +01: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
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
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
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
8ce509f3b4
Plugins: show a clear error on the plugin page when it failed to load ( #18733 )
2019-08-26 23:43:45 -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
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
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
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
013f1b8d19
App Plugins: support react pages and tabs ( #16586 )
2019-05-02 10:15:39 -07:00