mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add user-level parameter autofill (#11731)
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows. I decided against explicit user values in settings for these reasons: * Autofill is far easier to implement * Users benefit from autofill _by default_ — we don't need to teach them new concepts * If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
This commit is contained in:
@@ -148,6 +148,12 @@ var (
|
||||
Type: "user_data",
|
||||
}
|
||||
|
||||
// ResourceUserWorkspaceBuildParameters is the user's workspace build
|
||||
// parameter history.
|
||||
ResourceUserWorkspaceBuildParameters = Object{
|
||||
Type: "user_workspace_build_parameters",
|
||||
}
|
||||
|
||||
// ResourceOrganizationMember is a user's membership in an organization.
|
||||
// Has ONLY an organization owner.
|
||||
// create/delete = Create/delete member from org.
|
||||
|
||||
Reference in New Issue
Block a user