mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +00:00
refactor: merge/upgrade superset-ui packages (#10790)
* refactor: merge/upgrade superset-ui packages * Fix flaky big number test * Fix Flaky AdhocFilters test
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SupersetClient } from '@superset-ui/connection';
|
||||
import { getTimeFormatter, TimeFormats } from '@superset-ui/time-format';
|
||||
import {
|
||||
SupersetClient,
|
||||
getTimeFormatter,
|
||||
TimeFormats,
|
||||
} from '@superset-ui/core';
|
||||
import getClientErrorObject from './getClientErrorObject';
|
||||
|
||||
// ATTENTION: If you change any constants, make sure to also change constants.py
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import { SyntheticEvent } from 'react';
|
||||
import domToImage, { Options } from 'dom-to-image';
|
||||
import kebabCase from 'lodash/kebabCase';
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { t } from '@superset-ui/core';
|
||||
import { addWarningToast } from 'src/messageToasts/actions';
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SupersetClientResponse } from '@superset-ui/connection';
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { SupersetClientResponse, t } from '@superset-ui/core';
|
||||
import {
|
||||
SupersetError,
|
||||
ErrorTypeEnum,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
import memoize from 'lodash/memoize';
|
||||
import { getChartControlPanelRegistry } from '@superset-ui/chart';
|
||||
import { getChartControlPanelRegistry } from '@superset-ui/core';
|
||||
import controls from '../explore/controls';
|
||||
|
||||
const getControlsForVizType = memoize(vizType => {
|
||||
|
||||
Reference in New Issue
Block a user