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

Start building PRO flow #1601

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Start building PRO flow #1601

merged 1 commit into from
Jan 8, 2025

Conversation

ernstmul
Copy link
Contributor

@ernstmul ernstmul commented Jan 8, 2025

What does this PR do?

When visiting the console through the "Start building" button on the PRO column of the site pricing, you get redirected to the console.

when not signed in,

  • the console redirects you to register
  • after registration you get redirected to register an organisation with PRO plan preselected

when signed in,

  • the console redirects you to register an organisation with PRO plan preselected

Have you read the Contributing Guidelines on issues?

@ernstmul ernstmul requested a review from ItzNotABug January 8, 2025 09:11
Comment on lines +7 to +11
if (paramType === 'createPro') {
shouldRegister
? goto(`${base}/register?type=createPro`)
: goto(`${base}/create-organization?type=createPro`);
}
Copy link
Member

Choose a reason for hiding this comment

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

do we know if we are going to open scale as well, like createScale in the params? I am not yet aware of the Scale GA. If not, lgtm.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently on the website that button is still disabled, and also in the console it's not a visible option. So I thought: we'll cross that bridge when we get there. It is the reason I moved everything into 1 function, so we can easily adjust it when we do need to make that change!

@ernstmul ernstmul requested a review from ItzNotABug January 8, 2025 09:25
@ernstmul ernstmul merged commit c209e72 into main Jan 8, 2025
1 of 2 checks passed
@ernstmul ernstmul deleted the feat-fix-createpro-redirect branch January 8, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants