diff --git a/js_modules/dagster-ui/packages/ui-core/src/app/FeatureFlags.oss.tsx b/js_modules/dagster-ui/packages/ui-core/src/app/FeatureFlags.oss.tsx index b9f4d077b9461..482dc6c778f51 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/app/FeatureFlags.oss.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/app/FeatureFlags.oss.tsx @@ -4,6 +4,5 @@ export enum FeatureFlag { flagSidebarResources = 'flagSidebarResources', flagDisableAutoLoadDefaults = 'flagDisableAutoLoadDefaults', flagLegacyNav = 'flagLegacyNav', - flagCodeLocationPage = 'flagCodeLocationPage', flagLegacyRunsPage = 'flagLegacyRunsPage', } diff --git a/js_modules/dagster-ui/packages/ui-core/src/app/useVisibleFeatureFlagRows.oss.tsx b/js_modules/dagster-ui/packages/ui-core/src/app/useVisibleFeatureFlagRows.oss.tsx index 2fcfe674a22f3..7269c6339003d 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/app/useVisibleFeatureFlagRows.oss.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/app/useVisibleFeatureFlagRows.oss.tsx @@ -37,10 +37,6 @@ export const useVisibleFeatureFlagRows = () => [ ), flagType: FeatureFlag.flagLegacyNav, }, - { - key: 'New code location page', - flagType: FeatureFlag.flagCodeLocationPage, - }, { key: 'Revert to legacy Runs page', flagType: FeatureFlag.flagLegacyRunsPage, diff --git a/js_modules/dagster-ui/packages/ui-core/src/workspace/WorkspaceRoot.tsx b/js_modules/dagster-ui/packages/ui-core/src/workspace/WorkspaceRoot.tsx index b89cf7070ad6e..d524a7be15a03 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/workspace/WorkspaceRoot.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/workspace/WorkspaceRoot.tsx @@ -4,24 +4,16 @@ import {Redirect, Switch, useParams} from 'react-router-dom'; import {CodeLocationNotFound} from './CodeLocationNotFound'; import {GraphRoot} from './GraphRoot'; -import {WorkspaceAssetsRoot} from './WorkspaceAssetsRoot'; import {WorkspaceContext} from './WorkspaceContext/WorkspaceContext'; -import {WorkspaceGraphsRoot} from './WorkspaceGraphsRoot'; -import {WorkspaceJobsRoot} from './WorkspaceJobsRoot'; -import {WorkspaceOpsRoot} from './WorkspaceOpsRoot'; -import {WorkspaceSchedulesRoot} from './WorkspaceSchedulesRoot'; -import {WorkspaceSensorsRoot} from './WorkspaceSensorsRoot'; import {repoAddressAsHumanString} from './repoAddressAsString'; import {repoAddressFromPath} from './repoAddressFromPath'; import {workspacePathFromAddress} from './workspacePath'; -import {useFeatureFlags} from '../app/Flags'; import {Route} from '../app/Route'; import {AssetGroupRoot} from '../assets/AssetGroupRoot'; import {CodeLocationDefinitionsRoot} from '../code-location/CodeLocationDefinitionsRoot'; import CodeLocationOverviewRoot from '../code-location/CodeLocationOverviewRoot'; import {PipelineRoot} from '../pipelines/PipelineRoot'; import {ResourceRoot} from '../resources/ResourceRoot'; -import {WorkspaceResourcesRoot} from '../resources/WorkspaceResourcesRoot'; import {ScheduleRoot} from '../schedules/ScheduleRoot'; import {SensorRoot} from '../sensors/SensorRoot'; @@ -29,7 +21,6 @@ const RepoRouteContainer = () => { const {repoPath} = useParams<{repoPath: string}>(); const workspaceState = useContext(WorkspaceContext); const addressForPath = repoAddressFromPath(repoPath); - const {flagCodeLocationPage} = useFeatureFlags(); const {loading} = workspaceState; @@ -118,60 +109,29 @@ const RepoRouteContainer = () => { > - {flagCodeLocationPage ? ( - <> - - - - - - - - - - - ) : ( - <> - - - - - - - - - - - - - - - - - - - - - - - - - - )} + + + + + + + + +