Skip to content

Commit

Permalink
[dagit] Remove flat left nav (#8231)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellendag committed Jun 7, 2022
1 parent 7dfdfe1 commit 5733b39
Show file tree
Hide file tree
Showing 9 changed files with 518 additions and 491 deletions.
1 change: 0 additions & 1 deletion js_modules/dagit/packages/core/src/app/Flags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const DAGIT_FLAGS_KEY = 'DAGIT_FLAGS';
export enum FeatureFlag {
flagDebugConsoleLogging = 'flagDebugConsoleLogging',
flagDisableWebsockets = 'flagDisableWebsockets',
flagFlatLeftNav = 'flagFlatLeftNav',
}

export const getFeatureFlags: () => FeatureFlag[] = memoize(
Expand Down
10 changes: 0 additions & 10 deletions js_modules/dagit/packages/core/src/app/UserSettingsRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,6 @@ const UserSettingsRoot: React.FC<SettingsRootProps> = ({tabs}) => {
/>
),
},
{
key: 'Sectioned left nav (opt-out)',
value: (
<Checkbox
format="switch"
checked={!flags.includes(FeatureFlag.flagFlatLeftNav)}
onChange={() => toggleFlag(FeatureFlag.flagFlatLeftNav)}
/>
),
},
]}
/>
</Box>
Expand Down
326 changes: 0 additions & 326 deletions js_modules/dagit/packages/core/src/nav/FlatContentList.tsx

This file was deleted.

0 comments on commit 5733b39

Please sign in to comment.