Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [M3-7270] - Edit Linode VLAN config interface #9798

Merged

Conversation

hana-akamai
Copy link
Contributor

@hana-akamai hana-akamai commented Oct 16, 2023

Description 📝

Bug from #9709

On the prod env, we were unable to edit a config due to the config interface being deleted. This was due to the regionHasVPCs variable being coupled with regionHasVLANS in the if statement to delete config interfaces. The fix was to handle VPCs and VLANs separately.

Note: Linode details have been obfuscated

Preview 📷

Before After
before.mov
after.mov

How to test 🧪

Prerequisites

  • Point to the prod environment

Reproduction steps

  • Go to a Linode's details page and click on the Configurations tab
  • Click the edit button and scroll down to the Networking section
  • Select a VLAN and save changes

Verification steps

  • The VLAN changes should be reflected in the Configurations table

Copy link
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

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

Nice, thanks @hana-linode! Confirmed that the tests are passing and that the config dialog is working as expected

@hana-akamai hana-akamai changed the title fix: Edit Linode config interface fix: [M3-7270] - Edit Linode VLAN config interface Oct 17, 2023
@hana-akamai hana-akamai self-assigned this Oct 17, 2023
@hana-akamai hana-akamai added the VPC Relating to VPC project label Oct 17, 2023
@hana-akamai
Copy link
Contributor Author

Since this is a bug from a recent story that hasn't released yet, I don't think this needs a changeset

@hana-akamai hana-akamai marked this pull request as ready for review October 17, 2023 14:39
@hana-akamai hana-akamai requested a review from a team as a code owner October 17, 2023 14:39
@hana-akamai hana-akamai requested review from carrillo-erik, cpathipa, cliu-akamai and coliu-akamai and removed request for a team and cliu-akamai October 17, 2023 14:39
Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

🎉 awesome thanks Hana!

✅ confirmed that config dialog works as expected with vlans
✅ confirmed that tests pass

@coliu-akamai coliu-akamai added the Approved Multiple approvals and ready to merge! label Oct 17, 2023
@hana-akamai hana-akamai merged commit b8e1b04 into linode:develop Oct 17, 2023
12 checks passed
@hana-akamai hana-akamai deleted the fix-edit-linode-config-interface branch October 17, 2023 19:08
abailly-akamai pushed a commit to abailly-akamai/manager that referenced this pull request Oct 17, 2023
## Description 📝
Bug from linode#9709

On the prod env, we were unable to edit a config due to the config interface being deleted. This was due to the `regionHasVPCs` variable being coupled with `regionHasVLANS` in the if statement to delete config interfaces. The fix was to handle VPCs and VLANs separately.

## How to test 🧪

### Prerequisites
- Point to the prod environment

### Reproduction steps
- Go to a Linode's details page and click on the `Configurations` tab
- Click the edit button and scroll down to the Networking section
- Select a VLAN and save changes

### Verification steps 
- The VLAN changes should be reflected in the Configurations table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! VPC Relating to VPC project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants