Skip to content

Conversation

@charliepark
Copy link
Contributor

@charliepark charliepark commented Jul 1, 2024

This PR makes a few general improvements to the combobox component and a few forms that use either comboboxes or listboxes.

  • All placeholders should now have a consistent phrasing — Select a disk, Select a pool, etc., rather than Select pool, etc.
  • On the instance create form, we had been pre-filling the dropdown on the Boot Disk section with the first item in each dropdown. This made things easier for users, but removed some intentionality. We have removed the default filling of that field, meaning the user will now need to select the appropriate disk for their new instance.
  • Updated tests.

@charliepark charliepark changed the title R9 combobox improvements Improve combobox implementations in preparation for v9 Jul 1, 2024
@vercel
Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Jul 2, 2024 5:34pm

@charliepark charliepark marked this pull request as ready for review July 2, 2024 14:57
disabled={!vpcExists}
control={control}
placeholder="Select a subnet"
noItemsPlaceholder="Select a VPC to see subnets"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be conditional on whether a VPC has been selected, if possible. If you pick a VPC that genuinely has no subnets, it would be confusing to see this message.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Solid. Have updated it.
Screenshot 2024-07-02 at 12 09 23 PM
Screenshot 2024-07-02 at 12 09 31 PM
Screenshot 2024-07-02 at 12 09 43 PM

Copy link
Collaborator

@david-crespo david-crespo left a comment

Choose a reason for hiding this comment

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

Looks good. The comments are just suggestions.

Co-authored-by: David Crespo <david-crespo@users.noreply.github.com>
@charliepark charliepark merged commit b590b9b into main Jul 2, 2024
@charliepark charliepark deleted the r9-combobox-improvements branch July 2, 2024 18:09
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.

3 participants