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

feat: [M3-7169, M3-7193, M3-7211, M3-7255, M3-7258] - VPC UX feedback #9832

Merged
merged 13 commits into from
Oct 27, 2023

Conversation

hana-akamai
Copy link
Contributor

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

Description 📝

Address UX feedback for VPC

Changes 🔄

  • Updated VPC empty landing text
  • New VPC icon
  • Minor UI changes to Assign Linode to Subnet drawer
  • Updated tooltip text for the Auto-assign a VPC IPv4 address checkbox
  • Minor text UI changes to VPC details page

Preview 📷

VPC empty landing before VPC empty landing after
image vpc empty after
VPC side/create menu icon before VPC side/create menu after
image vpc icon after
Assign Linode to Subnet drawer before Assign Linode to Subnet drawer after
Screenshot 2023-10-23 at 5 26 22 PM Screenshot 2023-10-23 at 5 27 24 PM
VPC detail Safari before VPC detail Safari after
image image

How to test 🧪

Prerequisites

(How to setup test environment)

  • Point to the dev env and ensure your account has vpc customer tags

Verification steps

Verify the ticket changes requested and check these flows:

  • VPC empty landing (set line 87 to true in VPCLanding)
  • VPC side menu and create menu icons
  • Assign Linode to Subnet drawer
  • VPC details page (changes are more noticeable in Safari)

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

@hana-akamai hana-akamai added the VPC Relating to VPC project label Oct 23, 2023
@hana-akamai hana-akamai self-assigned this Oct 23, 2023
@hana-akamai hana-akamai marked this pull request as ready for review October 24, 2023 15:42
@hana-akamai hana-akamai requested a review from a team as a code owner October 24, 2023 15:42
@hana-akamai hana-akamai requested review from mjac0bs and cliu-akamai and removed request for a team October 24, 2023 15:42
@mjac0bs
Copy link
Contributor

mjac0bs commented Oct 24, 2023

@hana-linode Relevant unit test failure:
image

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Confirmed:

Icon has been replaced and looks good in light and dark mode + all screen sizes within:

  • Sidenav
  • Create Menu
  • VPC Empty State

Empty state landing:

  • Header changed from "VPCs" to "Virtual Private Cloud (VPC)"
  • Removed period at the end of "Create a private and isolated network." to be consistent with other empty state pages.
  • Added byline "Enable cloud resources to privately and securely communicate with each other, the internet, and other private networks." under the "Create a private and isolated network" text.

VPC Details:

  • Updated Subnets, Linodes, Region, VPC ID, Created, Updated and Description labels are less bold and consistent with the Linodes details summary.
  • "Subnets (X)" header font-size is smaller.

Assign Linode to Subnet Drawer:

  • The "Auto-assign a VPC IPv4 address for this Linode" label is middle aligned in relation to the checkbox.
  • The "Linodes Assigned to Subnet (0)" text font-weight is less bold and consistent with the h1 header.
  • [?] The "Download List of Assigned Linodes (.csv)" link is not be displayed until a Linode has been assigned to the subnet.
    • I'm not totally sure what's going on with this last one, but I could only use the mocks to confirm it displays only once a linode is assigned because I can't seem to get the linodes assigned to my subnet to load. I noticed the nested table has an infinite loading spinner. (I did see this working yesterday when testing another PR + have both tags on my account, so I'm not sure what has changed.)
      Screenshot 2023-10-24 at 2 08 34 PM

The “Auto-assign a VPC IPv4 address for this Linode” checkbox tooltip is to “A VPC IPv4 is the private IP address for this Linode in the VPC.” in:

  • Create Linode -- This was listed in the internal ticket, but I don't think it applies?
  • Assign Linode to Subnet
  • Linode details Edit Config
  • Linode details Add Config

Unrelated to this PR, here were some other minor UX things I found, for the VPC team to decide if they're worth addressing:

  • An edge case with VPC description - if a user were to put in one very long word, it overflows the container. This is also noticeable as the screen size gets smaller -- the words don't have to be as long. (This does also happen on a stack script's details page and maybe elsewhere around the app.)
    Screenshot 2023-10-24 at 2 01 16 PM
  • On small screens on the VPC Detail page, the subnet searchbar text gets larger as the screen size decreases (I think this is common throughout the app), but it also cuts off the placeholder text so "or id" is obscured.
    Screenshot 2023-10-24 at 2 14 52 PM (2)

getByText('Create a private and isolated network.')
getByText('Create a private and isolated network')
Copy link
Contributor

Choose a reason for hiding this comment

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

This was bugging me the other day -- glad it was already on UX's radar! 😄 🧹

@mjac0bs
Copy link
Contributor

mjac0bs commented Oct 25, 2023

Just had a look at the CI run and it looks like vpc-landing-page.spec.ts and vpc-details-page.spec.ts need the copy updates too - those are relevant failures.

@hana-akamai
Copy link
Contributor Author

@mjac0bs merged develop in and the nested table should be loading again. I tried looking into the overflow issue but was not able to find an easy solution, so I created M3-7331 to track that

Copy link
Contributor

@mjac0bs mjac0bs left a comment

Choose a reason for hiding this comment

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

Tests are passing and nested table looks good again!

@mjac0bs mjac0bs added the Add'tl Approval Needed Waiting on another approval! label Oct 26, 2023
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, looks great!! Confirmed the following:

✅ M3-7169 (empty landing state)

  • verified VPC landing text
  • verified icon change

✅ M3-7193 (subnet assign linodes drawer)

  • verified assign linode to subnet drawer changes - csv + alignment
    • (I think the font weight issue is something that only appears on safari and is being handled in another pr by @abailly-akamai? Will double check)
      image

✅ M3-7211 (vpc details)

  • confirmed font size changes!

✅ M3-7255 (vpc icon)

  • confirmed icon changes!

✅ M3-7258

  • confirmed copy changes for tooltip in create linode, assign linode to subnet, add/edit config flows

✅ confirmed tests still pass!

@coliu-akamai
Copy link
Contributor

Confirmed @abailly-akamai's pr #9843 fixes the font weight on safari for the Subnet Assign Linodes drawer!
image

@hana-akamai hana-akamai removed the Add'tl Approval Needed Waiting on another approval! label Oct 26, 2023
@hana-akamai hana-akamai added the Approved Multiple approvals and ready to merge! label Oct 26, 2023
Copy link
Contributor

@dwiley-akamai dwiley-akamai left a comment

Choose a reason for hiding this comment

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

LGTM, left a few minor comments!

VPC empty landing ✅
VPC side menu and create menu icons ✅
Assign Linode to Subnet drawer ✅
VPC details page ✅

Copy link
Contributor

Choose a reason for hiding this comment

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

How'd this get pulled in 🧐

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Prob the auto linter 🤔

packages/manager/src/features/VPCs/utils.ts Outdated Show resolved Hide resolved
@hana-akamai hana-akamai merged commit 9d323ef into linode:develop Oct 27, 2023
12 of 13 checks passed
@hana-akamai hana-akamai deleted the vpc-ux-feedback branch October 27, 2023 18:38
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.

5 participants