-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add injected component for cloud to modify user preferences #20671
Add injected component for cloud to modify user preferences #20671
Conversation
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit c2605e8. |
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit c2605e8. |
@@ -0,0 +1,3 @@ | |||
import {componentStub} from '../InjectedComponentContext'; | |||
|
|||
export const UserPreferences = componentStub('UserPreferences'); |
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.
This file seems unused?
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.
It's used below!
## Summary & Motivation As titled. Note I included the RoundedButton change in this PR so I don't have to open another one... it's from https://github.com/dagster-io/internal/blob/master/dagster-cloud/js_modules/app-cloud/src/deployment-switcher/DeploymentSwitcher.tsx#L306 I'm going to reuse that button style for the catalog mode button OSS PR: dagster-io/internal#8882 ## How I Tested These Changes Locally made sure that settings still load and that we reload when settings change ![Screenshot 2024-03-22 at 3 36 10 PM](https://github.com/dagster-io/dagster/assets/2286579/85062125-177b-45b8-a944-df4380bf6543)
Summary & Motivation
As titled.
Note I included the RoundedButton change in this PR so I don't have to open another one... it's from https://github.com/dagster-io/internal/blob/master/dagster-cloud/js_modules/app-cloud/src/deployment-switcher/DeploymentSwitcher.tsx#L306
I'm going to reuse that button style for the catalog mode button
OSS PR: https://github.com/dagster-io/internal/pull/8882
How I Tested These Changes
Locally made sure that settings still load and that we reload when settings change