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-7267] - Add AGLB Rule Delete Dialog #9804

Conversation

bnussman-akamai
Copy link
Member

@bnussman-akamai bnussman-akamai commented Oct 17, 2023

Description πŸ“

  • Adds the functionality to delete rules from an AGLB route πŸ—‘οΈπŸŽ‰

Preview πŸ“·

Screenshot 2023-10-17 at 11 51 56 AM

How to test πŸ§ͺ

Prerequisites

  • Turn on the MSW
  • Navigate to http://localhost:3000/loadbalancers/0/routes

Verification steps

  • Expand any of the Routes ⬇️
  • Attempt to delete a rule on a route πŸ—‘οΈ
  • Verify the route gets deleted β˜‘οΈ

Test:

yarn cy:run -s "cypress/e2e/core/loadBalancers/load-balancer-routes.spec.ts"

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

@bnussman-akamai bnussman-akamai added the ACLB Relating to the Akamai Cloud Load Balancer label Oct 17, 2023
@bnussman-akamai bnussman-akamai self-assigned this Oct 17, 2023
@bnussman-akamai bnussman-akamai marked this pull request as ready for review October 17, 2023 17:23
@bnussman-akamai bnussman-akamai requested a review from a team as a code owner October 17, 2023 17:23
@bnussman-akamai bnussman-akamai requested review from dwiley-akamai and cliu-akamai and removed request for a team October 17, 2023 17:23
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.

Functionality per verification steps looks good βœ…
load-balancer-routes.spec.ts passed locally βœ…
Code review βœ…

…/Routes/DeleteRuleDialog.tsx

Co-authored-by: Dajahi Wiley <114682940+dwiley-akamai@users.noreply.github.com>
@bnussman-akamai bnussman-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Oct 19, 2023
@mjac0bs mjac0bs self-requested a review October 19, 2023 16:52
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.

Rule deletes successfully and load-balancer-routes.spec.ts passed. βœ…

The UX of this has probably been discussed, but can you remind me why our action menu uses the language "Remove" and the modal uses the language "Delete"? This mismatch seems a little odd to me, so I wondered what the intent was.

Screenshot 2023-10-19 at 10 25 33 AM
Screenshot 2023-10-19 at 10 25 41 AM

@bnussman-akamai
Copy link
Member Author

I agree @mjac0bs. I took this down as something to address later. Probably was just a UX oversight

@bnussman-akamai
Copy link
Member Author

bnussman-akamai commented Oct 19, 2023

Actually, I'm just going to make it Delete. Remove doesn't make any sense here. Once the rule is "Removed", it's completely gone and there is no chance of adding it back

@mjac0bs
Copy link
Contributor

mjac0bs commented Oct 19, 2023

Actually, I'm just going to make it Delete. Remove doesn't make any sense here. Once the rule is "Removed", it's completely gone and there is no chance of adding it back

Sounds good to me!

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Oct 19, 2023
@bnussman-akamai bnussman-akamai merged commit b0dba9d into linode:develop Oct 19, 2023
11 checks passed
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.

4 participants