refactor: move translations and logging to new core (#36929)

This commit is contained in:
Mehmet Salih Yavuz
2026-01-12 08:58:59 +03:00
committed by GitHub
parent 0294c30c9e
commit e9b6791ffb
704 changed files with 1067 additions and 1252 deletions

View File

@@ -19,12 +19,12 @@
*/
import {
Column,
logging,
Metric,
ensureIsArray,
getExtensionsRegistry,
QueryFormData,
} from '@superset-ui/core';
import { logging } from '@apache-superset/core';
import { useEffect, useState } from 'react';
import { Dataset } from 'src/components/Chart/types';
import {

View File

@@ -19,7 +19,7 @@
import { useMemo } from 'react';
import { Icons, Tooltip } from '@superset-ui/core/components';
import type { MenuItem } from '@superset-ui/core/components/Menu';
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { ThemeMode, ThemeAlgorithm } from '@apache-superset/core/ui';
import { NAVBAR_MENU_POPUP_OFFSET } from 'src/features/home/commonMenuData';

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { getClientErrorObject, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { getClientErrorObject } from '@superset-ui/core';
import { useEffect, useRef, useCallback, useState } from 'react';
import { useHistory } from 'react-router-dom';
import { useBeforeUnload } from 'src/hooks/useBeforeUnload';