mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
feat: finalize Word Cloud move to new chart data endpoint (#9975)
* remove word cloud from viz.py * Fix Run in SQL Lab * remove deprecated python tests * break out legacy endpoint type into function * Break out exploreChart from exportChart and implement results type * Fix jest tests and refactor accordingly * lint * Rename v1 payload function * Add dashboard id to v1 chart data request url params * Add support for domain sharding to v1 chart data request
This commit is contained in:
@@ -77,7 +77,7 @@ class ExploreCtasResultsButton extends React.PureComponent {
|
||||
);
|
||||
|
||||
// open new window for data visualization
|
||||
exportChart(formData);
|
||||
exportChart({ formData });
|
||||
})
|
||||
.catch(() => {
|
||||
this.props.actions.addDangerToast(
|
||||
|
||||
@@ -27,7 +27,7 @@ import { t } from '@superset-ui/translation';
|
||||
import { InfoTooltipWithTrigger } from '@superset-ui/control-utils';
|
||||
|
||||
import shortid from 'shortid';
|
||||
import { exportChart } from '../../explore/exploreUtils';
|
||||
import { exploreChart } from '../../explore/exploreUtils';
|
||||
import * as actions from '../actions/sqlLab';
|
||||
import Button from '../../components/Button';
|
||||
|
||||
@@ -150,7 +150,7 @@ class ExploreResultsButton extends React.PureComponent {
|
||||
);
|
||||
|
||||
// open new window for data visualization
|
||||
exportChart(formData);
|
||||
exploreChart(formData);
|
||||
})
|
||||
.catch(() => {
|
||||
this.props.actions.addDangerToast(
|
||||
|
||||
Reference in New Issue
Block a user