Skip to content

Firewall Rules: Text -> Combobox for VPC, VPC Subnet, and Instance fields #2065

Description

@askfongjojo

When creating a firewall rule, user has the options of specifying the source (aka "Host filters") and target using VPC, VPC subnet, or a specific instance as the scope. The name of these objects is currently captured in a free-form textbox which may be prone to typos and is just harder to use.

We already have the target/host name field label changed dynamically based on the type field. We probably want to go one step further to make the name field dynamically display the candidates of that target/host type, similar to what we do for Create Disk:
image

Note: "Picklist" is mentioned in a general sense here. It's likely that a picklist of instances may not be practical since there could be many of them. Perhaps we need a different mechanism for listing/specifying an instance name. For IP and IP subnet, textbox may still be the most appropriate input format.

Activity

  1. added this to the 8 milestone on Mar 13, 2024
  2. removed this from the 8 milestone on Apr 15, 2024
  3. changed the title [-]Firewall Rules: Provide picklists for VPC, VPC subnet, and Instance when they are specified as the source or target[/-] [+]Firewall Rules: Text -> Listbox/Combobox for VPC, VPC Subnet, and Instance fields[/+] on Apr 15, 2024
  4. changed the title [-]Firewall Rules: Text -> Listbox/Combobox for VPC, VPC Subnet, and Instance fields[/-] [+]Firewall Rules: Text -> Combobox for VPC, VPC Subnet, and Instance fields[/+] on Apr 15, 2024
  5. david-crespo commented on Apr 15, 2024

    @david-crespo
    Collaborator

    https://www.w3.org/WAI/ARIA/apg/patterns/combobox/

    A combobox is an input widget that has an associated popup. The popup enables users to choose a value for the input from a collection. The popup may be a listbox, grid, tree, or dialog.

    In some implementations, the popup presents allowed values, while in other implementations, the popup presents suggested values.

    I suspect what we want here is the latter: an input that remains fundamentally a free-form text input with some help from a filterable list if you want it. I don't think we'd want to constrain the user to only refer to VPCs, subnets, or instances that currently exist. I believe this API is designed so that you can create the rule first, if you want, and then create the instance that matches the rule.

  6. charliepark commented on May 8, 2024

    @charliepark
    Contributor

    Check #1942 to see if it fixes this unrelated, I think

  7. added this to the 9 milestone on May 10, 2024
  8. modified the milestones: 9, 10 on Jul 9, 2024
  9. modified the milestones: 10, 11 on Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions