-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New Prebuild Settings UI for repo configs #19184
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
165130a
to
a9c3197
Compare
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.
Wunderbar!
<ConfigurationSettingsField> | ||
<form onSubmit={handleSubmit}> | ||
<Heading3>Prebuild Settings</Heading3> | ||
<Subheading className="max-w-lg">These settings will be applied on every Prebuild.</Subheading> |
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.
These settings will be applied on every Prebuild.
This is more of an aside since it's relevant to all of the work we've been doing with Configs so far: do we or do we not capitalize feature names? I like the aesthetics of doing so, but am not convinced too hard. Either way, it would be great to settle this so that we can make it consistent.
cc @loujaybee since you may have an opinion :)
components/dashboard/src/repositories/detail/prebuilds/PrebuildSettingsForm.tsx
Outdated
Show resolved
Hide resolved
components/dashboard/src/repositories/detail/prebuilds/PrebuildSettingsForm.tsx
Show resolved
Hide resolved
components/dashboard/src/repositories/detail/workspaces/WorkpaceSizeOptions.tsx
Show resolved
Hide resolved
components/dashboard/src/repositories/detail/prebuilds/PrebuildSettingsForm.tsx
Show resolved
Hide resolved
/unhold |
Description
This adds the prebuild settings UI in the repo config area and sets up the api to it.
Summary generated by Copilot
🤖[deprecated] Generated by Copilot at dccbe44
This pull request adds and improves features for editing the prebuild settings of a repository configuration in the dashboard. It introduces new components for the prebuild settings form, the workspace class options, and the select input field, and refactors some existing components for better code reuse and UI feedback. It also updates the
updateConfiguration
mutation to handle the prebuild settings.Issue
Fixes EXP-874
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold