Skip to content

Commit

Permalink
refactor: Removes dead code of Word Cloud plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina committed Jul 15, 2024
1 parent 462cda4 commit 97a6217
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 286 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,12 @@
import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core';
import {
WordCloudChartPlugin,
LegacyWordCloudChartPlugin,
WordCloudTransformProps,
} from '@superset-ui/plugin-chart-word-cloud';
import { withResizableChartDemo } from '../../../shared/components/ResizableChartDemo';
import data from './data';

new WordCloudChartPlugin().configure({ key: 'word-cloud2' }).register();
new LegacyWordCloudChartPlugin()
.configure({ key: 'legacy-word-cloud2' })
.register();

// Enable the new WordCloud Props to show case its full features
// if the control panel is updated to be able to pass formData in the new format.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@

export { default as WordCloudChartPlugin } from './plugin';
export { default as WordCloudTransformProps } from './plugin/transformProps';
export { default as LegacyWordCloudChartPlugin } from './legacyPlugin';
export * from './types';
export { default as configureEncodable } from './configureEncodable';

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* under the License.
*/

import { WordCloudFormData } from '../../src';
import buildQuery from '../../src/plugin/buildQuery';
import { WordCloudFormData } from '../src';
import buildQuery from '../src/plugin/buildQuery';

describe('WordCloud buildQuery', () => {
const formData: WordCloudFormData = {
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 97a6217

Please sign in to comment.