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

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t, AnnotationType, Behavior } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import buildQuery from '../buildQuery';
import controlPanel from './controlPanel';
import transformProps from '../transformProps';

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { ensureIsArray, JsonArray, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { ensureIsArray, JsonArray } from '@superset-ui/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import {
EchartsTimeseriesChartProps,
EchartsTimeseriesFormData,

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import {
EchartsTimeseriesChartProps,
EchartsTimeseriesFormData,

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import {
EchartsTimeseriesChartProps,
EchartsTimeseriesFormData,

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import {
EchartsTimeseriesChartProps,
EchartsTimeseriesFormData,

View File

@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import {
ControlPanelConfig,
ControlPanelsContainerProps,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import { EchartsTimeseriesChartProps, EchartsTimeseriesFormData } from '../..';
import buildQuery from '../buildQuery';
import controlPanel from './controlPanel';

View File

@@ -20,7 +20,7 @@ import {
DEFAULT_SORT_SERIES_DATA,
sections,
} from '@superset-ui/chart-controls';
import { t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { LegendOrientation, LegendType } from '../types';
import {
OrientationType,

View File

@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
import { AnnotationType, Behavior, t } from '@superset-ui/core';
import { t } from '@apache-superset/core';
import { AnnotationType, Behavior } from '@superset-ui/core';
import buildQuery from './buildQuery';
import controlPanel from './Regular/Line/controlPanel';
import transformProps from './transformProps';

View File

@@ -18,6 +18,7 @@
*/
/* eslint-disable camelcase */
import { invert } from 'lodash';
import { t } from '@apache-superset/core';
import {
AnnotationLayer,
AxisType,
@@ -36,7 +37,6 @@ import {
isIntervalAnnotationLayer,
isPhysicalColumn,
isTimeseriesAnnotationLayer,
t,
TimeseriesChartDataResponseResult,
NumberFormats,
} from '@superset-ui/core';