oxidecomputer / oxidecomputer/console
Network interface create form improvements
Open
Nobody has claimed this yet.
polish
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
After #2146, I checked and saw we do have one IP field left, in the network interface create form. I think it can stay in because it's a private IP, so it's a lot easier to pick a valid one at random. but we can improve the form in a few ways:
- Auto select first VPC and subnet, they should almost always be what you want
- Collapse VPC, subnet, and address fields under Advanced
- Validate IP address with
validateIp
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in app/forms/network-interface-create.tsx around the linked lines and inspect the existing VPC, subnet, address fields and validateIp usage. Done means the first VPC and subnet are selected automatically, those fields are collapsed under Advanced, and the private IP is validated with validateIp.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100