Revert "feat(frontend): import CE code to EE" (#1557)

This commit is contained in:
Chaim Lev-Ari
2025-12-18 13:45:26 +02:00
committed by GitHub
parent 2f5b083c5c
commit bf8ccbcec6
1849 changed files with 6494 additions and 6602 deletions
@@ -1,17 +1,17 @@
import { useCurrentStateAndParams } from '@uirouter/react';
import LaptopCode from '@CE/assets/ico/laptop-code.svg?c';
import { useEnvironmentId } from '@CE/react/hooks/useEnvironmentId';
import { useApplications } from '@CE/react/kubernetes/applications/queries/useApplications';
import LaptopCode from '@/assets/ico/laptop-code.svg?c';
import { useEnvironmentId } from '@/react/hooks/useEnvironmentId';
import { useApplications } from '@/react/kubernetes/applications/queries/useApplications';
import { Datatable, TableSettingsMenu } from '@@CE/datatables';
import { TableSettingsMenuAutoRefresh } from '@@CE/datatables/TableSettingsMenuAutoRefresh';
import { useTableStateWithStorage } from '@@CE/datatables/useTableState';
import { Datatable, TableSettingsMenu } from '@@/datatables';
import { TableSettingsMenuAutoRefresh } from '@@/datatables/TableSettingsMenuAutoRefresh';
import { useTableStateWithStorage } from '@@/datatables/useTableState';
import {
BasicTableSettings,
refreshableSettings,
RefreshableTableSettings,
} from '@@CE/datatables/types';
} from '@@/datatables/types';
import { useColumns } from './columns';
@@ -1,5 +1,5 @@
import { createColumnHelper } from '@tanstack/react-table';
import { Application } from '@CE/react/kubernetes/applications/ListView/ApplicationsDatatable/types';
import { Application } from '@/react/kubernetes/applications/ListView/ApplicationsDatatable/types';
export const helper = createColumnHelper<Application>();
@@ -1,12 +1,12 @@
import { CellContext } from '@tanstack/react-table';
import { isExternalApplication } from '@CE/react/kubernetes/applications/utils';
import { useIsSystemNamespace } from '@CE/react/kubernetes/namespaces/queries/useIsSystemNamespace';
import { Application } from '@CE/react/kubernetes/applications/ListView/ApplicationsDatatable/types';
import { isExternalApplication } from '@/react/kubernetes/applications/utils';
import { useIsSystemNamespace } from '@/react/kubernetes/namespaces/queries/useIsSystemNamespace';
import { Application } from '@/react/kubernetes/applications/ListView/ApplicationsDatatable/types';
import { Link } from '@@CE/Link';
import { SystemBadge } from '@@CE/Badge/SystemBadge';
import { ExternalBadge } from '@@CE/Badge/ExternalBadge';
import { Link } from '@@/Link';
import { SystemBadge } from '@@/Badge/SystemBadge';
import { ExternalBadge } from '@@/Badge/ExternalBadge';
import { helper } from './columns.helper';
@@ -1,11 +1,11 @@
import _, { round } from 'lodash';
import { useMemo } from 'react';
import { truncate } from '@CE/portainer/filters/filters';
import { usePublicSettings } from '@CE/react/portainer/settings/queries';
import { bytesToReadableFormat } from '@CE/react/kubernetes/utils';
import { truncate } from '@/portainer/filters/filters';
import { usePublicSettings } from '@/react/portainer/settings/queries';
import { bytesToReadableFormat } from '@/react/kubernetes/utils';
import { Link } from '@@CE/Link';
import { Link } from '@@/Link';
import { helper } from './columns.helper';
import { name } from './columns.name';
@@ -1,4 +1,4 @@
import { KubernetesApplication } from '@CE/kubernetes/models/application/models';
import { KubernetesApplication } from '@/kubernetes/models/application/models';
export type NodeApplication = KubernetesApplication & {
CPU: number;