You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/05/27 15:40:22 UTC
(superset) 10/19: WORKS
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch mv_components
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 9212690b21a66b52cd8907abdb682dd3da3c781b
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Sun May 25 15:48:10 2025 -0700
WORKS
---
superset-frontend/src/SqlLab/components/ResultSet/index.tsx | 5 +----
superset-frontend/src/SqlLab/components/SqlEditor/index.tsx | 4 ++--
superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx | 2 +-
.../src/assets/branding/.!4592!superset-logo-horiz-apache-dark.png | 0
.../src/assets/branding/.!4862!superset-logo-horiz-apache-dark.png | 0
.../src/assets/branding/.!4993!superset-logo-horiz-apache-dark.png | 0
.../superset-ui-core => }/src/components/ResizableSidebar/index.tsx | 0
.../src/components/ResizableSidebar/useStoredSidebarWidth.test.ts | 2 +-
.../src/components/ResizableSidebar/useStoredSidebarWidth.ts | 2 +-
.../dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx | 6 ++----
.../src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx | 2 +-
superset-frontend/src/dashboard/components/SliceAdder.tsx | 2 +-
.../components/SyncDashboardState/SyncDashboardState.test.tsx | 5 +----
.../src/dashboard/components/SyncDashboardState/index.tsx | 2 +-
superset-frontend/src/dashboard/containers/DashboardPage.tsx | 5 +----
superset-frontend/src/explore/components/DataTableControl/utils.ts | 2 +-
.../src/explore/components/DataTablesPane/DataTablesPane.tsx | 2 +-
.../explore/components/DataTablesPane/test/DataTablesPane.test.tsx | 5 +----
.../src/explore/components/ExploreChartPanel/index.jsx | 2 +-
.../src/explore/components/ExploreViewContainer/index.jsx | 2 +-
superset-frontend/src/features/databases/DatabaseModal/index.tsx | 5 +----
.../src/features/datasets/AddDataset/LeftPanel/index.tsx | 5 +----
superset-frontend/src/features/datasets/DatasetLayout/index.tsx | 2 +-
superset-frontend/src/features/home/ActivityTable.tsx | 5 +----
superset-frontend/src/features/home/ChartTable.tsx | 2 +-
superset-frontend/src/features/home/DashboardTable.tsx | 2 +-
superset-frontend/src/pages/Chart/Chart.test.tsx | 2 +-
superset-frontend/src/pages/Chart/index.tsx | 5 +----
superset-frontend/src/pages/ChartList/index.tsx | 2 +-
superset-frontend/src/pages/DashboardList/index.tsx | 2 +-
superset-frontend/src/pages/DatabaseList/index.tsx | 5 +----
superset-frontend/src/pages/Home/index.tsx | 2 +-
superset-frontend/src/pages/Tags/index.tsx | 2 +-
33 files changed, 31 insertions(+), 60 deletions(-)
diff --git a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
index a8a97525ec..05d01f7c6d 100644
--- a/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
+++ b/superset-frontend/src/SqlLab/components/ResultSet/index.tsx
@@ -68,10 +68,7 @@ import { postFormData } from 'src/explore/exploreUtils/formData';
import ProgressBar from '@superset-ui/core/components/ProgressBar';
import { addDangerToast } from 'src/components/MessageToasts/actions';
import { prepareCopyToClipboardTabularData } from 'src/utils/common';
-import {
- getItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { getItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import {
addQueryEditor,
clearQueryResults,
diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
index 425ac6314f..93f6e831a2 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx
@@ -61,7 +61,7 @@ import {
Modal,
Timer,
} from '@superset-ui/core/components';
-import ResizableSidebar from '@superset-ui/core/components/ResizableSidebar';
+import ResizableSidebar from 'src/components/ResizableSidebar';
import { Skeleton } from '@superset-ui/core/components/Skeleton';
import { Switch } from '@superset-ui/core/components/Switch';
import { Menu } from '@superset-ui/core/components/Menu';
@@ -104,7 +104,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import getBootstrapData from 'src/utils/getBootstrapData';
import useLogAction from 'src/logger/useLogAction';
import {
diff --git a/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx
index 28931e9189..2b1656125b 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditorLeftBar/index.tsx
@@ -42,7 +42,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import TableElement from '../TableElement';
export interface SqlEditorLeftBarProps {
diff --git a/superset-frontend/src/assets/branding/.!4592!superset-logo-horiz-apache-dark.png b/superset-frontend/src/assets/branding/.!4592!superset-logo-horiz-apache-dark.png
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/superset-frontend/src/assets/branding/.!4862!superset-logo-horiz-apache-dark.png b/superset-frontend/src/assets/branding/.!4862!superset-logo-horiz-apache-dark.png
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/superset-frontend/src/assets/branding/.!4993!superset-logo-horiz-apache-dark.png b/superset-frontend/src/assets/branding/.!4993!superset-logo-horiz-apache-dark.png
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/index.tsx b/superset-frontend/src/components/ResizableSidebar/index.tsx
similarity index 100%
rename from superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/index.tsx
rename to superset-frontend/src/components/ResizableSidebar/index.tsx
diff --git a/superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts b/superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts
similarity index 98%
rename from superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts
rename to superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts
index f355860cd8..74ea8e6151 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts
+++ b/superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.test.ts
@@ -21,7 +21,7 @@ import {
LocalStorageKeys,
setItem,
getItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import useStoredSidebarWidth from './useStoredSidebarWidth';
const INITIAL_WIDTH = 300;
diff --git a/superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.ts b/superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.ts
similarity index 96%
rename from superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.ts
rename to superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.ts
index f37f303dde..360a8cd558 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/ResizableSidebar/useStoredSidebarWidth.ts
+++ b/superset-frontend/src/components/ResizableSidebar/useStoredSidebarWidth.ts
@@ -21,7 +21,7 @@ import {
LocalStorageKeys,
setItem,
getItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
export default function useStoredSidebarWidth(
id: string,
diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx
index a39a9e2a0c..752b2f4ad5 100644
--- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx
+++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.test.tsx
@@ -24,7 +24,7 @@ import {
screen,
} from 'spec/helpers/testing-library';
import DashboardBuilder from 'src/dashboard/components/DashboardBuilder/DashboardBuilder';
-import useStoredSidebarWidth from '@superset-ui/core/components/ResizableSidebar/useStoredSidebarWidth';
+import useStoredSidebarWidth from 'src/components/ResizableSidebar/useStoredSidebarWidth';
import {
fetchFaveStar,
setActiveTab,
@@ -50,9 +50,7 @@ jest.mock('src/dashboard/actions/dashboardState', () => ({
setActiveTab: jest.fn(),
setDirectPathToChild: jest.fn(),
}));
-jest.mock(
- '@superset-ui/core/components/ResizableSidebar/useStoredSidebarWidth',
-);
+jest.mock('src/components/ResizableSidebar/useStoredSidebarWidth');
// mock following dependent components to fix the prop warnings
jest.mock('@superset-ui/core/components/Select/Select', () => () => (
diff --git a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
index 22dea8babf..2e867c8e46 100644
--- a/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
+++ b/superset-frontend/src/dashboard/components/DashboardBuilder/DashboardBuilder.tsx
@@ -63,7 +63,7 @@ import {
} from 'src/dashboard/util/constants';
import FilterBar from 'src/dashboard/components/nativeFilters/FilterBar';
import { useUiConfig } from 'src/components/UiConfigContext';
-import ResizableSidebar from '@superset-ui/core/components/ResizableSidebar';
+import ResizableSidebar from 'src/components/ResizableSidebar';
import {
BUILDER_SIDEPANEL_WIDTH,
CLOSED_FILTER_BAR_WIDTH,
diff --git a/superset-frontend/src/dashboard/components/SliceAdder.tsx b/superset-frontend/src/dashboard/components/SliceAdder.tsx
index 536b852eb6..08036fecf0 100644
--- a/superset-frontend/src/dashboard/components/SliceAdder.tsx
+++ b/superset-frontend/src/dashboard/components/SliceAdder.tsx
@@ -35,7 +35,7 @@ import {
LocalStorageKeys,
getItem,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import {
CHART_TYPE,
NEW_COMPONENT_SOURCE_TYPE,
diff --git a/superset-frontend/src/dashboard/components/SyncDashboardState/SyncDashboardState.test.tsx b/superset-frontend/src/dashboard/components/SyncDashboardState/SyncDashboardState.test.tsx
index fcbff2fb96..084fb210b5 100644
--- a/superset-frontend/src/dashboard/components/SyncDashboardState/SyncDashboardState.test.tsx
+++ b/superset-frontend/src/dashboard/components/SyncDashboardState/SyncDashboardState.test.tsx
@@ -17,10 +17,7 @@
* under the License.
*/
import { render } from 'spec/helpers/testing-library';
-import {
- getItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { getItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import SyncDashboardState from '.';
test('stores the dashboard info with local storages', () => {
diff --git a/superset-frontend/src/dashboard/components/SyncDashboardState/index.tsx b/superset-frontend/src/dashboard/components/SyncDashboardState/index.tsx
index adf2aceb98..27f649fb1f 100644
--- a/superset-frontend/src/dashboard/components/SyncDashboardState/index.tsx
+++ b/superset-frontend/src/dashboard/components/SyncDashboardState/index.tsx
@@ -26,7 +26,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import { RootState } from 'src/dashboard/types';
import { getActiveFilters } from 'src/dashboard/util/activeDashboardFilters';
import { enforceSharedLabelsColorsArray } from 'src/utils/colorScheme';
diff --git a/superset-frontend/src/dashboard/containers/DashboardPage.tsx b/superset-frontend/src/dashboard/containers/DashboardPage.tsx
index 0bed2b594f..5b643219ca 100644
--- a/superset-frontend/src/dashboard/containers/DashboardPage.tsx
+++ b/superset-frontend/src/dashboard/containers/DashboardPage.tsx
@@ -37,10 +37,7 @@ import {
getRelevantDataMask,
} from 'src/dashboard/util/activeAllDashboardFilters';
import { getActiveFilters } from 'src/dashboard/util/activeDashboardFilters';
-import {
- LocalStorageKeys,
- setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { LocalStorageKeys, setItem } from 'src/utils/localStorageHelpers';
import { URL_PARAMS } from 'src/constants';
import { getUrlParam } from 'src/utils/urlUtils';
import { setDatasetsStatus } from 'src/dashboard/actions/dashboardState';
diff --git a/superset-frontend/src/explore/components/DataTableControl/utils.ts b/superset-frontend/src/explore/components/DataTableControl/utils.ts
index c36314be13..253870b045 100644
--- a/superset-frontend/src/explore/components/DataTableControl/utils.ts
+++ b/superset-frontend/src/explore/components/DataTableControl/utils.ts
@@ -21,7 +21,7 @@ import {
LocalStorageKeys,
setItem,
getItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
export const getTimeColumns = (datasourceId?: string): string[] => {
const colsMap = getItem(
diff --git a/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx b/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
index 4276a4a18c..7f033c29ea 100644
--- a/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.tsx
@@ -30,7 +30,7 @@ import {
getItem,
setItem,
LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import {
SamplesPane,
TableControlsWrapper,
diff --git a/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx b/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
index 8dc8f74b71..10151718ee 100644
--- a/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
+++ b/superset-frontend/src/explore/components/DataTablesPane/test/DataTablesPane.test.tsx
@@ -25,10 +25,7 @@ import {
userEvent,
waitForElementToBeRemoved,
} from 'spec/helpers/testing-library';
-import {
- setItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { setItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import { DataTablesPane } from '..';
import { createDataTablesPaneProps } from './fixture';
diff --git a/superset-frontend/src/explore/components/ExploreChartPanel/index.jsx b/superset-frontend/src/explore/components/ExploreChartPanel/index.jsx
index e53bb06cae..c3fec17aa3 100644
--- a/superset-frontend/src/explore/components/ExploreChartPanel/index.jsx
+++ b/superset-frontend/src/explore/components/ExploreChartPanel/index.jsx
@@ -37,7 +37,7 @@ import {
getItem,
setItem,
LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import { Alert } from '@superset-ui/core/components';
import { SaveDatasetModal } from 'src/SqlLab/components/SaveDatasetModal';
import { getDatasourceAsSaveableDataset } from 'src/utils/datasourceUtils';
diff --git a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
index 732d951a05..573593b6e2 100644
--- a/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
+++ b/superset-frontend/src/explore/components/ExploreViewContainer/index.jsx
@@ -40,7 +40,7 @@ import {
getItem,
setItem,
LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import { RESERVED_CHART_URL_PARAMS, URL_PARAMS } from 'src/constants';
import { QUERY_MODE_REQUISITES } from 'src/explore/constants';
import { areObjectsEqual } from 'src/reduxUtils';
diff --git a/superset-frontend/src/features/databases/DatabaseModal/index.tsx b/superset-frontend/src/features/databases/DatabaseModal/index.tsx
index 6494c2317e..5e9c623159 100644
--- a/superset-frontend/src/features/databases/DatabaseModal/index.tsx
+++ b/superset-frontend/src/features/databases/DatabaseModal/index.tsx
@@ -38,10 +38,7 @@ import {
import { CheckboxChangeEvent } from '@superset-ui/core/components/Checkbox/types';
import { useHistory } from 'react-router-dom';
-import {
- setItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { setItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import Tabs from '@superset-ui/core/components/Tabs';
import {
Alert,
diff --git a/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx b/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
index 2cca0fd2b9..b6d5174b61 100644
--- a/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
+++ b/superset-frontend/src/features/datasets/AddDataset/LeftPanel/index.tsx
@@ -22,10 +22,7 @@ import TableSelector, { TableOption } from 'src/components/TableSelector';
import { EmptyState } from '@superset-ui/core/components';
import { type DatabaseObject } from 'src/components';
import { useToasts } from 'src/components/MessageToasts/withToasts';
-import {
- LocalStorageKeys,
- getItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { LocalStorageKeys, getItem } from 'src/utils/localStorageHelpers';
import {
DatasetActionType,
DatasetObject,
diff --git a/superset-frontend/src/features/datasets/DatasetLayout/index.tsx b/superset-frontend/src/features/datasets/DatasetLayout/index.tsx
index aa8d627946..68f7f1d0c7 100644
--- a/superset-frontend/src/features/datasets/DatasetLayout/index.tsx
+++ b/superset-frontend/src/features/datasets/DatasetLayout/index.tsx
@@ -18,7 +18,7 @@
*/
import { ReactElement, JSXElementConstructor } from 'react';
import { useTheme } from '@superset-ui/core';
-import ResizableSidebar from '@superset-ui/core/components/ResizableSidebar';
+import ResizableSidebar from 'src/components/ResizableSidebar';
import {
StyledLayoutWrapper,
diff --git a/superset-frontend/src/features/home/ActivityTable.tsx b/superset-frontend/src/features/home/ActivityTable.tsx
index a6279ffbeb..bb9ce478b0 100644
--- a/superset-frontend/src/features/home/ActivityTable.tsx
+++ b/superset-frontend/src/features/home/ActivityTable.tsx
@@ -19,10 +19,7 @@
import { useEffect, useState } from 'react';
import { extendedDayjs } from '@superset-ui/core/utils/dates';
import { styled, t } from '@superset-ui/core';
-import {
- setItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { setItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import { Link } from 'react-router-dom';
import { ListViewCard } from '@superset-ui/core/components';
import { Dashboard, SavedQueryObject, TableTab } from 'src/views/CRUD/types';
diff --git a/superset-frontend/src/features/home/ChartTable.tsx b/superset-frontend/src/features/home/ChartTable.tsx
index b02b8a4e8a..965e05ddab 100644
--- a/superset-frontend/src/features/home/ChartTable.tsx
+++ b/superset-frontend/src/features/home/ChartTable.tsx
@@ -27,7 +27,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import withToasts from 'src/components/MessageToasts/withToasts';
import { useHistory } from 'react-router-dom';
import { Filter, TableTab } from 'src/views/CRUD/types';
diff --git a/superset-frontend/src/features/home/DashboardTable.tsx b/superset-frontend/src/features/home/DashboardTable.tsx
index 7988a0d6f3..cd59c25c65 100644
--- a/superset-frontend/src/features/home/DashboardTable.tsx
+++ b/superset-frontend/src/features/home/DashboardTable.tsx
@@ -26,7 +26,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import { LoadingCards } from 'src/pages/Home';
import {
CardContainer,
diff --git a/superset-frontend/src/pages/Chart/Chart.test.tsx b/superset-frontend/src/pages/Chart/Chart.test.tsx
index 30acba53df..2fe7599211 100644
--- a/superset-frontend/src/pages/Chart/Chart.test.tsx
+++ b/superset-frontend/src/pages/Chart/Chart.test.tsx
@@ -26,7 +26,7 @@ import {
} from 'spec/helpers/testing-library';
import { getExploreFormData } from 'spec/fixtures/mockExploreFormData';
import { getDashboardFormData } from 'spec/fixtures/mockDashboardFormData';
-import { LocalStorageKeys } from '@superset-ui/core/utils/localStorageHelpers';
+import { LocalStorageKeys } from 'src/utils/localStorageHelpers';
import getFormDataWithExtraFilters from 'src/dashboard/util/charts/getFormDataWithExtraFilters';
import { URL_PARAMS } from 'src/constants';
import { JsonObject, VizType } from '@superset-ui/core';
diff --git a/superset-frontend/src/pages/Chart/index.tsx b/superset-frontend/src/pages/Chart/index.tsx
index b4d81e0728..cc2b431ffb 100644
--- a/superset-frontend/src/pages/Chart/index.tsx
+++ b/superset-frontend/src/pages/Chart/index.tsx
@@ -39,10 +39,7 @@ import { hydrateExplore } from 'src/explore/actions/hydrateExplore';
import ExploreViewContainer from 'src/explore/components/ExploreViewContainer';
import { ExploreResponsePayload, SaveActionType } from 'src/explore/types';
import { fallbackExploreInitialData } from 'src/explore/fixtures';
-import {
- getItem,
- LocalStorageKeys,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { getItem, LocalStorageKeys } from 'src/utils/localStorageHelpers';
import { getFormDataWithDashboardContext } from 'src/explore/controlUtils/getFormDataWithDashboardContext';
const isValidResult = (rv: JsonObject): boolean =>
diff --git a/superset-frontend/src/pages/ChartList/index.tsx b/superset-frontend/src/pages/ChartList/index.tsx
index 21bac21e29..5f089f3360 100644
--- a/superset-frontend/src/pages/ChartList/index.tsx
+++ b/superset-frontend/src/pages/ChartList/index.tsx
@@ -65,7 +65,7 @@ import {
} from 'src/components';
import SubMenu, { SubMenuProps } from 'src/features/home/SubMenu';
import { Link, useHistory } from 'react-router-dom';
-import { dangerouslyGetItemDoNotUse } from '@superset-ui/core/utils/localStorageHelpers';
+import { dangerouslyGetItemDoNotUse } from 'src/utils/localStorageHelpers';
import withToasts from 'src/components/MessageToasts/withToasts';
import PropertiesModal from 'src/explore/components/PropertiesModal';
import Chart from 'src/types/Chart';
diff --git a/superset-frontend/src/pages/DashboardList/index.tsx b/superset-frontend/src/pages/DashboardList/index.tsx
index 131667868b..0114071284 100644
--- a/superset-frontend/src/pages/DashboardList/index.tsx
+++ b/superset-frontend/src/pages/DashboardList/index.tsx
@@ -56,7 +56,7 @@ import {
} from 'src/components';
import handleResourceExport from 'src/utils/export';
import SubMenu, { SubMenuProps } from 'src/features/home/SubMenu';
-import { dangerouslyGetItemDoNotUse } from '@superset-ui/core/utils/localStorageHelpers';
+import { dangerouslyGetItemDoNotUse } from 'src/utils/localStorageHelpers';
import Owner from 'src/types/Owner';
import withToasts from 'src/components/MessageToasts/withToasts';
import { Icons } from '@superset-ui/core/components/Icons';
diff --git a/superset-frontend/src/pages/DatabaseList/index.tsx b/superset-frontend/src/pages/DatabaseList/index.tsx
index e86788f725..820af88152 100644
--- a/superset-frontend/src/pages/DatabaseList/index.tsx
+++ b/superset-frontend/src/pages/DatabaseList/index.tsx
@@ -26,10 +26,7 @@ import { useState, useMemo, useEffect } from 'react';
import rison from 'rison';
import { useSelector } from 'react-redux';
import { useQueryParams, BooleanParam } from 'use-query-params';
-import {
- LocalStorageKeys,
- setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+import { LocalStorageKeys, setItem } from 'src/utils/localStorageHelpers';
import { useListViewResource } from 'src/views/CRUD/hooks';
import {
createErrorHandler,
diff --git a/superset-frontend/src/pages/Home/index.tsx b/superset-frontend/src/pages/Home/index.tsx
index 4fb3d20c16..18f6c779e5 100644
--- a/superset-frontend/src/pages/Home/index.tsx
+++ b/superset-frontend/src/pages/Home/index.tsx
@@ -35,7 +35,7 @@ import {
getItem,
LocalStorageKeys,
setItem,
-} from '@superset-ui/core/utils/localStorageHelpers';
+} from 'src/utils/localStorageHelpers';
import withToasts from 'src/components/MessageToasts/withToasts';
import {
CardContainer,
diff --git a/superset-frontend/src/pages/Tags/index.tsx b/superset-frontend/src/pages/Tags/index.tsx
index 38ebbd5abe..739a5962c8 100644
--- a/superset-frontend/src/pages/Tags/index.tsx
+++ b/superset-frontend/src/pages/Tags/index.tsx
@@ -38,7 +38,7 @@ import {
type ListViewProps,
} from 'src/components';
import SubMenu, { SubMenuProps } from 'src/features/home/SubMenu';
-import { dangerouslyGetItemDoNotUse } from '@superset-ui/core/utils/localStorageHelpers';
+import { dangerouslyGetItemDoNotUse } from 'src/utils/localStorageHelpers';
import withToasts from 'src/components/MessageToasts/withToasts';
import { Icons } from '@superset-ui/core/components/Icons';
import { Link } from 'react-router-dom';