Skip to content
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

Merged

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Mar 22, 2024

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

Screenshot 2024-03-22 at 3 36 10 PM

@salazarm salazarm requested review from bengotow and hellendag March 22, 2024 19:39
Copy link

github-actions bot commented Mar 22, 2024

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-k7w0b64f4-elementl.vercel.app
https://salazarm-add-injected-component-for-cloud-user-preferences.components-storybook.dagster-docs.io

Built with commit c2605e8.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Mar 22, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-11h2cxv7d-elementl.vercel.app
https://salazarm-add-injected-component-for-cloud-user-preferences.core-storybook.dagster-docs.io

Built with commit c2605e8.
This pull request is being automatically deployed with vercel-action

@@ -0,0 +1,3 @@
import {componentStub} from '../InjectedComponentContext';

export const UserPreferences = componentStub('UserPreferences');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file seems unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used below!

@salazarm salazarm merged commit bbec62d into master Mar 25, 2024
3 checks passed
@salazarm salazarm deleted the salazarm/add-injected-component-for-cloud-user-preferences branch March 25, 2024 14:39
PedramNavid pushed a commit that referenced this pull request Mar 28, 2024
## 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants