-
Notifications
You must be signed in to change notification settings - Fork 887
feat: add frontend support for enabling automatic workspace updates #10375
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
Conversation
096ade4
to
ce25bba
Compare
@aslilac the one issue I'm seeing is that after I submit the form in the workspace settings page the whole form stays disabled until I refresh the page 🤔 |
I can't figure out how to reproduce the disabled form, but I'm happy to have a quick debugging session later |
import { Workspace } from "api/typesGenerated"; | ||
import { | ||
AutomaticUpdates, | ||
AutomaticUpdateses, |
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 name sounds like we hired gollum 😂
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.
oh, I just noticed that this broke one of the storybook tests. check chromatic, but after that's fixed it should be good to go.
This PR adds support for configuring an update policy for a workspace. Some behavior notes:
Workspace settings page:
Workspace Page (Regular User) -- Policy=Never TemplatePolicy=Always:
Workspace Page (Regular User) -- Policy=Always TemplatePolicy=Disabled:
fixes #7465