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

upcoming: [M3-8282] - Prevent Linode Create v2 from toggling mid-creation #10611

Conversation

bnussman-akamai
Copy link
Member

@bnussman-akamai bnussman-akamai commented Jun 25, 2024

Description 📝

  • Prevent Linode Create v2 from toggling mid-creation
    • We are doing this so that if we need to toggle the flag, the user's form progress to be lost. That could be frustrating to a user 😠

Preview 📷

Before After
Screen.Recording.2024-06-25.at.12.13.54.PM.mov
Screen.Recording.2024-06-25.at.12.13.09.PM.mov
Notice how the form resets when the flag is toggled because the create flows changed Notice how the create flow does not change when the flag is toggled

How to test 🧪

  • By toggling the flag with local dev tools, verify the form does not reset when the flag is toggled

As an Author I have considered 🤔

  • 👀 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 self-assigned this Jun 25, 2024
@bnussman-akamai bnussman-akamai requested a review from a team as a code owner June 25, 2024 16:17
@bnussman-akamai bnussman-akamai requested review from jdamore-linode and jaalah-akamai and removed request for a team June 25, 2024 16:17
Copy link

github-actions bot commented Jun 25, 2024

Coverage Report:
Base Coverage: 82.43%
Current Coverage: 82.43%

@bnussman-akamai bnussman-akamai force-pushed the M3-8282-prevent-linode-create-flow-toggling-mid-creation branch from ce2cf30 to 572b952 Compare June 25, 2024 19:17
Copy link
Contributor

@abailly-akamai abailly-akamai left a comment

Choose a reason for hiding this comment

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

Good idea - now, this also means that when we want to turn off LinodeCreateV2 if we have a bug for instance, more users could encounter it (and report it) while carrying on with the erroneous flow till they restart it. Probably not a huge concern considering we don't anticipate such scenario, this current approach is still improving a much more likely case. Just wanted to point it out in case there's a 100% proof way to handle this.

@jaalah-akamai jaalah-akamai added the Approved Multiple approvals and ready to merge! label Jul 1, 2024
@bnussman-akamai bnussman-akamai merged commit d436114 into linode:develop Jul 1, 2024
18 checks passed
nikhagra-akamai pushed a commit to nikhagra-akamai/manager that referenced this pull request Jul 3, 2024
…tion (linode#10611)

* hold flag value in state so it does not change

* Added changeset: Prevent Linode Create v2 from toggling mid-creation

---------

Co-authored-by: Banks Nussman <banks@nussman.us>
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! Linode Create Refactor Ready for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants