Skip to content

feat: [M3-6966] - Add DC-specific pricing to Linode Create flows#9598

Merged
abailly-akamai merged 17 commits intolinode:developfrom
abailly-akamai:feat-M3-6967
Sep 1, 2023
Merged

feat: [M3-6966] - Add DC-specific pricing to Linode Create flows#9598
abailly-akamai merged 17 commits intolinode:developfrom
abailly-akamai:feat-M3-6967

Conversation

@abailly-akamai
Copy link
Contributor

@abailly-akamai abailly-akamai commented Aug 28, 2023

Description 📝

Adds dynamic pricing to Linode Create flows (⚠️ NOT k8 clusters which will be done in another ticket)

Preview 📷

Plan Selection (desktop & mobile) Checkout Summary
Screenshot 2023-08-30 at 12 01 56 Screenshot 2023-08-30 at 12 02 54
Screenshot 2023-08-30 at 12 02 06
Screenshot 2023-08-30 at 12 02 24
Screenshot 2023-08-30 at 12 02 39

How to test 🧪

  1. Use MSW and DC-Specific Pricing
  2. Test all linode create flow types with and without the flag

@abailly-akamai abailly-akamai self-assigned this Aug 28, 2023
@abailly-akamai abailly-akamai force-pushed the feat-M3-6967 branch 2 times, most recently from 190bbb4 to 9c45a37 Compare August 29, 2023 20:08
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Decided to use a notice on Mobile so it stands out a little better than plain text (since it is not in a table) - open to suggestions

Copy link
Contributor

Choose a reason for hiding this comment

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

My suggestion here would be to make this an info variant of the notice, rather than a warning. I think this is more in line with the Region pricing notice above. Can we do a quick check in with UX?

Copy link
Member

Choose a reason for hiding this comment

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

I agree with making this the info variant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup! will update. UX approved it as the info variant as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Followed suit in the kube plans table, too. 👍🏼

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to the pricing backup utils tests

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to the pricing backup utils

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mjac0bs to confirm this is where we want it

@abailly-akamai abailly-akamai marked this pull request as ready for review August 30, 2023 16:00
@mjac0bs mjac0bs changed the title feat: [M3-6966] feat: [M3-6966] - Add DC-specific pricing to Linode Create flows Aug 30, 2023
Copy link
Member

@bnussman-akamai bnussman-akamai left a comment

Choose a reason for hiding this comment

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

Very nice! Found no issues 🚀

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.

Thanks for this work! This is looking good throughout the create flows, checked create from backup and clone, in particular. Confirmed the smaller screens have the notice and the selection cards correctly update based on dynamic pricing in subheaders.

It doesn't look like the code has been pushed yet to change to info, so approving pending that and I know you're working on tests.

@bnussman-akamai bnussman-akamai removed the Add'tl Approval Needed Waiting on another approval! label Aug 31, 2023
@bnussman-akamai bnussman-akamai added the Approved Multiple approvals and ready to merge! label Aug 31, 2023
@abailly-akamai abailly-akamai merged commit 3887161 into linode:develop Sep 1, 2023
abailly-akamai added a commit that referenced this pull request Sep 7, 2023
* feat: [M3-6966] Initial commit: selection panels

* feat: [M3-6966] Linode: Checkout summary

* feat: [M3-6966] Fix display conditional

* Added changeset: Add DC specific Linode Create pricing support

* feat: [M3-6967] add comment

* feat: [M3-6967] reset flag state on component update

* feat: [M3-6967] consolidate tests and utils

* feat: [M3-6967] cleanup

* feat: [M3-6967] moar cleanup and comments

* feat: [M3-6967] quick display fix

* feat: [M3-6967] fix for DB create flow

* feat: [M3-6967] address feedback

* feat: [M3-6967] add tests

* feat: [M3-6967] cleanup tests

* feat: [M3-6967] cleanup tests

* feat: [M3-6967] address feedback (notice)

* feat: [M3-6967] small fix to flag prop and cleanup
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! DC-Specific Pricing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants