Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

feat: allow chart plugin to be unregistered #168

Merged
merged 2 commits into from
Jun 12, 2019
Merged

Conversation

kristw
Copy link
Contributor

@kristw kristw commented Jun 11, 2019

🏆 Enhancements

  • Add .unregister() function to ChartPlugin

🏠 Internal

  • Improve unit tests

@kristw kristw requested a review from a team as a code owner June 11, 2019 05:52
@@ -17,17 +17,17 @@ type ValueOrModuleWithValue<T> = T | { default: T };

interface ChartPluginConfig<T extends ChartFormData> {
metadata: ChartMetadata;
// use buildQuery for immediate value
/** Use buildQuery for immediate value. For lazy-loading, use loadBuildQuery. */
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change comments to /** */ so they will show up in autocomplete

@codecov
Copy link

codecov bot commented Jun 11, 2019

Codecov Report

Merging #168 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #168   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          88     88           
  Lines        1095   1102    +7     
  Branches      263    264    +1     
=====================================
+ Hits         1095   1102    +7
Impacted Files Coverage Δ
...ckages/superset-ui-chart/src/models/ChartPlugin.ts 100% <100%> (ø) ⬆️
packages/superset-ui-core/src/models/Plugin.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a405572...5dc5552. Read the comment docs.

@netlify
Copy link

netlify bot commented Jun 11, 2019

Deploy preview for superset-ui ready!

Built with commit 5dc5552

https://deploy-preview-168--superset-ui.netlify.com

@kristw kristw added reviewable Ready for review #enhancement New feature or request labels Jun 11, 2019
@kristw kristw merged commit 32f8dd3 into master Jun 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the kristw--unregister branch June 12, 2019 01:08
kristw pushed a commit that referenced this pull request Apr 17, 2020
Updates the requirements on [d3-scale](/~https://github.com/d3/d3-scale) to permit the latest version.
- [Release notes](/~https://github.com/d3/d3-scale/releases)
- [Commits](/~https://github.com/d3/d3-scale/commits/v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
#enhancement New feature or request reviewable Ready for review size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants