Skip to content

feat: [M3-7267] - Add AGLB Rule Delete Dialog#9804

Merged
bnussman-akamai merged 6 commits intolinode:developfrom
bnussman-akamai:M3-7267-add-aglb-delete-rule-dialog
Oct 19, 2023
Merged

feat: [M3-7267] - Add AGLB Rule Delete Dialog#9804
bnussman-akamai merged 6 commits intolinode:developfrom
bnussman-akamai:M3-7267-add-aglb-delete-rule-dialog

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 cliu-akamai and dwiley-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
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