-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add shared files for Cloud to override user settings / feature flags (#…
…23485) ## Summary & Motivation - Added FeatureFlags.oss.tsx - This will allow cloud to supply its own list of FeatureFlags - Renamed getVisibleFeatureFlagRows.tsx → .getVisibleFeatureFlagRows.oss - Similarly cloud will provide its own visible feature flag rows.
- Loading branch information
Showing
8 changed files
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
js_modules/dagster-ui/packages/ui-core/src/app/FeatureFlags.oss.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export enum FeatureFlag { | ||
flagDebugConsoleLogging = 'flagDebugConsoleLogging', | ||
flagDisableWebsockets = 'flagDisableWebsockets', | ||
flagSidebarResources = 'flagSidebarResources', | ||
flagDisableAutoLoadDefaults = 'flagDisableAutoLoadDefaults', | ||
flagSettingsPage = 'flagSettingsPage', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
js_modules/dagster-ui/packages/ui-core/src/app/UserSettingsButton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ore/src/app/getVisibleFeatureFlagRows.tsx → ...src/app/getVisibleFeatureFlagRows.oss.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
js_modules/dagster-ui/packages/ui-core/src/settings/SettingsLeftPane.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5792a90
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-bavmijke8-elementl.vercel.app
Built with commit 5792a90.
This pull request is being automatically deployed with vercel-action