Skip to content

Add checkboxes to allow for opt-out of default VPC, subnet - #3411

Open
charliepark wants to merge 4 commits into
mainfrom
project-vpc-defaults-opt-out
Open

charliepark wants to merge 4 commits into
mainfrom
project-vpc-defaults-opt-out

Conversation

@charliepark

@charliepark charliepark commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds checkboxes to two places in the Console UI, one during Project create, one during VPC create. These allow a user to opt out of creating the default VPC (during Project creation) or the default subnet (during VPC creation).
Screenshot 2026-10-15 at 11 42 52 AM
Screenshot 2026-10-15 at 1 48 25 PM

(I'm open to other treatments for that help text than that information box. As it is, it makes it look like something is missing. We could have the information box only show up when the checkbox is unchecked?)

This is the Console part of some earlier changes, with Omicron issue oxidecomputer/omicron#10973 and relevant PR oxidecomputer/omicron#9750.

Closes #3375

Todo: will need to update the screenshot at https://docs.oxide.computer/guides/onboarding-projects once merged

@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Oct 21, 2026 11:46pm UTC

Request Review

@charliepark

Copy link
Copy Markdown
Contributor Author

Made the info box conditional:
Screenshot 2026-10-15 at 7 08 24 PM
Screenshot 2026-10-15 at 7 08 29 PM

Comment thread app/forms/project-create.tsx Outdated
Comment thread app/forms/project-create.tsx Outdated
Comment thread app/forms/vpc-create.tsx
<CheckboxField name="createDefaultSubnet" control={form.control}>
Create default subnet
</CheckboxField>
{!createDefaultSubnet && (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think this info message is a good level of heads up, but since you mentioned alternative display ideas, i'll just also throw out the idea of having an info i next to the checkbox that explains why we would think to generate a default "resource x" for you

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yeah, I am kinda leaning tooltip, if only so you don’t have to uncheck the box to get the info. Also it could have a second sentence and it wouldn’t feel like it was taking up so much space.

Comment thread app/forms/project-create.tsx Outdated

@fakemonster fakemonster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looking good!

This branch was successfully deployed

1 active deployment
Preview — dc32b950 Deployed Oct 21, 2026 by vercel[bot]
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.

Opt out of project and VPC defaults at create time

3 participants