Skip to content

External subnets#3039

Merged
david-crespo merged 4 commits intomainfrom
external-subnets-ui
Mar 20, 2026
Merged

External subnets#3039
david-crespo merged 4 commits intomainfrom
external-subnets-ui

Conversation

@david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Feb 6, 2026

Closes #3030
Closes #3031

Operator subnet pools UI is in #3146.

image image image

@vercel
Copy link

vercel bot commented Feb 6, 2026

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

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Mar 20, 2026 11:06pm

Request Review

@benjaminleonard
Copy link
Contributor

Great! I don't see any grave UI crimes, but I'll take a look later.

We have a subnet icon already too.

david-crespo added a commit that referenced this pull request Mar 19, 2026
Extracted from external subnets work coming in #3039 but not present yet
in that PR.
}

/** Format a pool for use as a ListboxField item */
export function toPoolItem(p: PoolLike): ListboxItem {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We love TypeScript.

min={8}
max={32}
description="The prefix length for the allocated subnet (e.g., 24 for a /24). Minimum 8."
/>
Copy link
Collaborator Author

@david-crespo david-crespo Mar 20, 2026

Choose a reason for hiding this comment

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

Appropriate validation here is an open question, looking into it. Claude analysis of current validation on the server and what subset we might do on the client:

https://gist.github.com/david-crespo/f08d9b4cb7cdcd3fec1e9c46aad11bed

@david-crespo david-crespo marked this pull request as ready for review March 20, 2026 17:56
@david-crespo
Copy link
Collaborator Author

david-crespo commented Mar 20, 2026

Nice error from the API on dogfood. Will make a note to fix the casing, though.

Screenshot 2026-03-20 at 1 31 28 PM

Copy link
Contributor

@charliepark charliepark left a comment

Choose a reason for hiding this comment

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

This looks good. I wondered if changing the existing subnets tab in the VPC view toVPC subnets might help distinguish between them and the external subnets, but I think it's probably fine without that.

Running locally, everything else seemed fine.

@david-crespo
Copy link
Collaborator Author

Good idea, I will do that.

@david-crespo david-crespo merged commit c0d92b9 into main Mar 20, 2026
7 checks passed
@david-crespo david-crespo deleted the external-subnets-ui branch March 20, 2026 23:41
david-crespo added a commit that referenced this pull request Mar 20, 2026
Suggestion from @charliepark in
#3039 (review).
Decided to make it a separate PR because it came out to 70 lines of
changes.
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.

External subnets list page under project Display external subnets on instance detail

3 participants