Comments

Xiaohua Guan created an issue. See original summary.

xiaohua guan’s picture

StatusFileSize
new5.11 KB
xiaohua guan’s picture

Status: Active » Needs review
yas’s picture

Status: Needs review » Needs work

@xiaohua-guan

Thank you for providing the great patch! I think this patch will be able to make the usability even better.

  1. I would like to ask you is in the VPC dropdown list:

    BEFORE:

    vpc_name (vpc-abcd1111)
    vpc-abcd2222

    TO:

    vpc_name (vpc-abcd1111)
    vpc-abcd2222 (vpc-abcd2222)

  2. Also, could you please re-order the fields (w/ mandatory or optional)?
    Please make the fieldset for AMI, Instance Type, Network, Instance Count, Options and Others.

    • AMI
      • Image Id *
      • Kernel Id
      • Ramdisk Id
      • Network Interface
    • Instance
      • Instance Type *
      • Min Count *
      • Max Count
    • Network
      • Availability Zone *
      • VPC *
      • Subnet *
      • Security Groups *
      • SSH Key *
    • Options
      • Monitoring
      • Instance Shutdown Behavior
      • Schedule
      • User Data
    • Others
      • Authored by
      • Revision log message

Thanks,
Yas

xiaohua guan’s picture

StatusFileSize
new8.98 KB
xiaohua guan’s picture

Status: Needs work » Needs review
xiaohua guan’s picture

@yas

> vpc-abcd2222 (vpc-abcd2222)
I modified as you said. I think it's the same thing for field_subnet, I modified it too.

> Also, could you please re-order the fields (w/ mandatory or optional)?
I added fieldsets to the form via hook function. Please confirm it.

yas’s picture

Status: Needs review » Needs work

@xiaohua-guan

Thank you for the updated patch! I tested it, and I found it would be better to apply fieldset to Name and description fields. So I would like to suggest the following again. How do you think? (Note that Network field should be Network Interface)

// To make the fieldsets collapsible.
    $form[$fieldset_name] = [
      '#type' => 'details',
      '#title' => $fieldset_def['title'],
      '#weight' => $weight++,
      '#open' => TRUE,
      '#tree' => TRUE,
    ];

*...Mandatory field below (Show asterisk (*) explicitly)

  • Instance
    • Name *
    • Description
    • Instance Type *
    • Min Count *
    • Max Count
    • Test Only
  • AMI
    • Image Id *
    • Kernel Id
    • Ramdisk Id
  • Network
    • Availability Zone *
    • VPC *
    • Subnet *
    • Security Groups *
    • SSH Key *
    • Network Interface
  • Options
    • Instance Shutdown Behavior
    • Monitoring
    • Schedule
    • User Data
  • Others => This fieldsets should be '#open' => FALSE,
    • Cloud Provider Machine Name
    • Authored by
    • Revision log message
xiaohua guan’s picture

StatusFileSize
new20.38 KB
xiaohua guan’s picture

Status: Needs work » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

Thank you for the updated patch that I requested. I tested it; and it looks so nice to me as expected, therefore I'll merge it.

  • yas committed 6da49dc on 8.x-1.x authored by Xiaohua Guan
    Issue #3022182 by Xiaohua Guan, yas: Provide the list of Security Groups...
yas’s picture

Status: Reviewed & tested by the community » Fixed

I merged the patch. Let us mark this issue as Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.