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-6821] - AGLB Details - Settings Tab #9583

Merged

Conversation

bnussman-akamai
Copy link
Member

Description 📝

  • Adds AGLB settings tab 🎉

Major Changes 🔄

  • Adds basic layout and functionality to http://localhost:3000/loadbalancers/5/summary
  • Adds Delete Dialog to both the Settings tab and the Load Balancer Landing page

Preview 📷

Screenshot 2023-08-22 at 2 00 50 PM

Screenshot 2023-08-22 at 2 01 03 PM

How to test 🧪

  • Turn on the MSW ⚠️
  • Test basic functionality of http://localhost:3000/loadbalancers/5/summary
    • Label updating should work with mocks
    • Region select isn't built yet
    • Delete dialog is testable

@bnussman-akamai bnussman-akamai added the ACLB Relating to the Akamai Cloud Load Balancer label Aug 22, 2023
@bnussman-akamai bnussman-akamai self-assigned this Aug 22, 2023
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.

Updating a label and deleting the load balancer is working as expected. ✅

This is not really right place to mention this as it's not related to this ticket, but I just noticed it and didn't want to forget about it. The "Create Loadbalancer" button has Load Balancer as one word and elsewhere (+ in the mocks) we have it as two words. We should probably check for consistency throughout the pages in case it's one word anywhere else.

Screenshot 2023-08-23 at 2 43 45 PM

image

@bnussman-akamai bnussman-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Aug 23, 2023
@tyler-akamai
Copy link
Contributor

tyler-akamai commented Aug 24, 2023

When you update the label, should the label be updated in the landing page? becuase the breadcrumb updates for me but not the landing page:

Screen.Recording.2023-08-24.at.9.08.35.AM.mov

@tyler-akamai
Copy link
Contributor

When you update the label, should the label be updated in the landing page? becuase the breadcrumb updates for me but not the landing page:

Screen.Recording.2023-08-24.at.9.08.35.AM.mov

nvm forgot this is the MSW

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Aug 24, 2023
Comment on lines +29 to +35
<Button
buttonType="primary"
onClick={() => setIsDeleteDialogOpen(true)}
type="submit"
>
Delete
</Button>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we leverage the ActionsPanel component here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because it is left aligned and just one button, I think a singular button is okay here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree, unless if ActionsPanel doesn't support. I think we could align it using justifyContent="flex-start". My only concern is that we might want to avoid or minimize multiple references to the primary button.

@bnussman-akamai bnussman-akamai merged commit 3b861e6 into linode:develop Aug 24, 2023
corya-akamai pushed a commit to corya-akamai/manager that referenced this pull request Sep 6, 2023
* inital build of settings

* Added changeset: Add AGLB Details - Settings Tab

* fix the create button

* fix e2e tests

---------

Co-authored-by: Banks Nussman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACLB Relating to the Akamai Cloud Load Balancer Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants