From 871f04cf04a4e58355aa20be3e85498bdfd170b9 Mon Sep 17 00:00:00 2001 From: Hana Xu Date: Thu, 21 Aug 2025 16:21:01 -0400 Subject: [PATCH 1/2] update dual stack labeling in vpc create --- .../FormComponents/VPCTopSectionContent.test.tsx | 10 +++++----- .../VPCCreate/FormComponents/VPCTopSectionContent.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx b/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx index 662c6484091..345739ffd01 100644 --- a/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx +++ b/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.test.tsx @@ -37,10 +37,10 @@ describe('VPC Top Section form content', () => { expect(screen.getByText('VPC Label')).toBeVisible(); expect(screen.getByText('Description')).toBeVisible(); // @TODO VPC IPv6: Remove this check once VPC IPv6 is in GA - expect(screen.queryByText('Networking IP Stack')).not.toBeInTheDocument(); + expect(screen.queryByText('IP Stack')).not.toBeInTheDocument(); }); - it('renders a Networking IP Stack section with IPv4 pre-checked if the vpcIpv6 feature flag is enabled', async () => { + it('renders an IP Stack section with IPv4 pre-checked if the vpcIpv6 feature flag is enabled', async () => { const account = accountFactory.build({ capabilities: ['VPC Dual Stack'], }); @@ -66,7 +66,7 @@ describe('VPC Top Section form content', () => { }); await waitFor(() => { - expect(screen.getByText('Networking IP Stack')).toBeVisible(); + expect(screen.getByText('IP Stack')).toBeVisible(); }); const NetworkingIPStackRadios = screen.getAllByRole('radio'); @@ -100,7 +100,7 @@ describe('VPC Top Section form content', () => { }); await waitFor(() => { - expect(screen.getByText('Networking IP Stack')).toBeVisible(); + expect(screen.getByText('IP Stack')).toBeVisible(); }); const NetworkingIPStackRadios = screen.getAllByRole('radio'); @@ -140,7 +140,7 @@ describe('VPC Top Section form content', () => { }); await waitFor(() => { - expect(screen.getByText('Networking IP Stack')).toBeVisible(); + expect(screen.getByText('IP Stack')).toBeVisible(); }); const NetworkingIPStackRadios = screen.getAllByRole('radio'); diff --git a/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.tsx b/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.tsx index 7ab330ae87b..bd0d864a009 100644 --- a/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.tsx +++ b/packages/manager/src/features/VPCs/VPCCreate/FormComponents/VPCTopSectionContent.tsx @@ -138,7 +138,7 @@ export const VPCTopSectionContent = (props: Props) => { /> {isDualStackEnabled && ( - Networking IP Stack + IP Stack { sm: 12, xs: 12, }} - heading="IPv4 + IPv6 (Dual Stack)" + heading="IPv4 + IPv6 (dual-stack)" onClick={() => { field.onChange([ { From 75a84e7a654ed766c6cee25313a52431ad584fdc Mon Sep 17 00:00:00 2001 From: Hana Xu Date: Thu, 21 Aug 2025 16:28:44 -0400 Subject: [PATCH 2/2] Added changeset: Update dual-stack labeling in VPC Create --- .../.changeset/pr-12746-upcoming-features-1755808123912.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 packages/manager/.changeset/pr-12746-upcoming-features-1755808123912.md diff --git a/packages/manager/.changeset/pr-12746-upcoming-features-1755808123912.md b/packages/manager/.changeset/pr-12746-upcoming-features-1755808123912.md new file mode 100644 index 00000000000..390687173c5 --- /dev/null +++ b/packages/manager/.changeset/pr-12746-upcoming-features-1755808123912.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Upcoming Features +--- + +Update dual-stack labeling in VPC Create ([#12746](https://github.com/linode/manager/pull/12746))