diff --git a/packages/manager/CHANGELOG.md b/packages/manager/CHANGELOG.md index 17dd41dba32..faf240503f1 100644 --- a/packages/manager/CHANGELOG.md +++ b/packages/manager/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [2024-01-10] - v1.109.1 + +### Fixed: + +- VPC docs links on VPC landing, Create, and Detail pages and in "Assign Linodes" flow ([#10050](https://github.com/linode/manager/pull/10050)) +- VPC subnet Linode assignment text field input issue ([#10047](https://github.com/linode/manager/pull/10047)) + +### Tests: + +- Remove obsolete VPC disabled state tests ([#10047](https://github.com/linode/manager/pull/10047)) + + ## [2024-01-08] - v1.109.0 diff --git a/packages/manager/cypress/e2e/core/vpc/vpc-landing-page.spec.ts b/packages/manager/cypress/e2e/core/vpc/vpc-landing-page.spec.ts index 0bb4b43981c..1a9963d85b7 100644 --- a/packages/manager/cypress/e2e/core/vpc/vpc-landing-page.spec.ts +++ b/packages/manager/cypress/e2e/core/vpc/vpc-landing-page.spec.ts @@ -356,20 +356,4 @@ describe('VPC landing page', () => { cy.findByText(MOCK_DELETE_VPC_ERROR).should('not.exist'); }); - - /* - * - Confirms that users cannot navigate to VPC landing page when feature is disabled. - */ - it('cannot access VPC landing page when feature is disabled', () => { - // TODO Remove this test once VPC feature flag is removed from codebase. - mockAppendFeatureFlags({ - vpc: makeFeatureFlagData(false), - }).as('getFeatureFlags'); - mockGetFeatureFlagClientstream().as('getClientStream'); - - cy.visitWithLogin('/vpcs'); - cy.wait(['@getFeatureFlags', '@getClientStream']); - - cy.findByText('Not Found').should('be.visible'); - }); }); diff --git a/packages/manager/cypress/e2e/core/vpc/vpc-linodes-update.spec.ts b/packages/manager/cypress/e2e/core/vpc/vpc-linodes-update.spec.ts index 400d699edf2..0836de3659f 100644 --- a/packages/manager/cypress/e2e/core/vpc/vpc-linodes-update.spec.ts +++ b/packages/manager/cypress/e2e/core/vpc/vpc-linodes-update.spec.ts @@ -156,7 +156,8 @@ describe('VPC assign/unassign flows', () => { cy.findByLabelText('Linodes') .should('be.visible') .click() - .type(mockLinode.label); + .type(mockLinode.label) + .should('have.value', mockLinode.label); ui.autocompletePopper .findByTitle(mockLinode.label) diff --git a/packages/manager/cypress/e2e/core/vpc/vpc-navigation.spec.ts b/packages/manager/cypress/e2e/core/vpc/vpc-navigation.spec.ts index b231239bb83..5128eea733f 100644 --- a/packages/manager/cypress/e2e/core/vpc/vpc-navigation.spec.ts +++ b/packages/manager/cypress/e2e/core/vpc/vpc-navigation.spec.ts @@ -28,22 +28,4 @@ describe('VPC navigation', () => { cy.url().should('endWith', '/vpcs'); }); - - /* - * - Confirms that VPC sidebar nav item is not shown when feature is disabled. - */ - it('does not show VPC navigation item when feature is disabled', () => { - // TODO Delete this test when VPC feature flag is removed from codebase. - mockAppendFeatureFlags({ - vpc: makeFeatureFlagData(false), - }).as('getFeatureFlags'); - mockGetFeatureFlagClientstream().as('getClientStream'); - - cy.visitWithLogin('/linodes'); - cy.wait(['@getFeatureFlags', '@getClientStream']); - - ui.nav.find().within(() => { - cy.findByText('VPC').should('not.exist'); - }); - }); }); diff --git a/packages/manager/package.json b/packages/manager/package.json index 92c0eb300db..75235d43e5f 100644 --- a/packages/manager/package.json +++ b/packages/manager/package.json @@ -2,7 +2,7 @@ "name": "linode-manager", "author": "Linode", "description": "The Linode Manager website", - "version": "1.109.0", + "version": "1.109.1", "private": true, "type": "module", "bugs": { diff --git a/packages/manager/src/features/VPCs/VPCCreate/VPCCreate.tsx b/packages/manager/src/features/VPCs/VPCCreate/VPCCreate.tsx index d17ed6cf085..2698ebb1635 100644 --- a/packages/manager/src/features/VPCs/VPCCreate/VPCCreate.tsx +++ b/packages/manager/src/features/VPCs/VPCCreate/VPCCreate.tsx @@ -8,6 +8,7 @@ import { LandingHeader } from 'src/components/LandingHeader'; import { Notice } from 'src/components/Notice/Notice'; import { Paper } from 'src/components/Paper'; import { SubnetContent } from 'src/features/VPCs/VPCCreate/FormComponents/SubnetContent'; +import { VPC_GETTING_STARTED_LINK } from 'src/features/VPCs/constants'; import { useCreateVPC } from 'src/hooks/useCreateVPC'; import { CannotCreateVPCNotice } from './FormComponents/CannotCreateVPCNotice'; @@ -42,7 +43,7 @@ const VPCCreate = () => { pathname: `/vpcs/create`, }} docsLabel="Getting Started" - docsLink="#" // @TODO VPC: add correct docs link + docsLink={VPC_GETTING_STARTED_LINK} title="Create" /> {userCannotAddVPC && CannotCreateVPCNotice} diff --git a/packages/manager/src/features/VPCs/VPCDetail/SubnetAssignLinodesDrawer.tsx b/packages/manager/src/features/VPCs/VPCDetail/SubnetAssignLinodesDrawer.tsx index a79a67a4a2f..1e9b3d35fa3 100644 --- a/packages/manager/src/features/VPCs/VPCDetail/SubnetAssignLinodesDrawer.tsx +++ b/packages/manager/src/features/VPCs/VPCDetail/SubnetAssignLinodesDrawer.tsx @@ -17,7 +17,10 @@ import { TextField } from 'src/components/TextField'; import { TooltipIcon } from 'src/components/TooltipIcon'; import { Typography } from 'src/components/Typography'; import { defaultPublicInterface } from 'src/features/Linodes/LinodesCreate/LinodeCreate'; -import { VPC_AUTO_ASSIGN_IPV4_TOOLTIP } from 'src/features/VPCs/constants'; +import { + VPC_AUTO_ASSIGN_IPV4_TOOLTIP, + VPC_MULTIPLE_CONFIGURATIONS_LEARN_MORE_LINK, +} from 'src/features/VPCs/constants'; import { useFormattedDate } from 'src/hooks/useFormattedDate'; import { useUnassignLinode } from 'src/hooks/useUnassignLinode'; import { useAllLinodesQuery } from 'src/queries/linodes/linodes'; @@ -40,6 +43,7 @@ import type { Linode, Subnet, } from '@linode/api-v4'; +import { LinodeSelect } from 'src/features/Linodes/LinodeSelect/LinodeSelect'; // @TODO VPC: if all subnet action menu item related components use (most of) this as their props, might be worth // putting this in a common file and naming it something like SubnetActionMenuItemProps or somthing @@ -381,19 +385,18 @@ export const SubnetAssignLinodesDrawer = ( />