feat: Add standalone registration page#188
Merged
Merged
Conversation
✅ Deploy Preview for qa-fnvirtual canceled.
|
- Add /register page using RegistrationForm component (no modal) - Add RegisterButton component that navigates to /register - Add RegistrationModalComponent using RegistrationModal for popup flow - Fix getBackURL to return /register for proper login redirect - Add responsive styles for register page
a3dc5b5 to
ab5be93
Compare
getUserProfile() on close was introduced in bc53de5 (PR #65) to refresh ticket data after registration. When called while logged out, getAccessTokenSafely rejects and the catch in getUserProfile clears the token and initiates logout (f274140 added .catch but didn't prevent the side effect). Moved getUserProfile to onPurchaseComplete where it belongs; close should just close.
…ttings - Add three registration modes: MODAL (popup), STANDALONE (built-in /register page), LINK (custom URL) - Move registration settings from marketing page to site settings for site-wide access - Extract shared useRegistrationWidgetProps hook from RegistrationModalComponent - Add RegistrationFormShortcode for embedding registration in MDX content pages - Add slug field to content pages CMS for custom URL paths - Fix content page slug replacement bug (triple slash) - Add register-page template for STANDALONE mode - Add CMS hints explaining each registration mode and field usage
This reverts commit 4dc109a.
This reverts commit 5f4c785.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Moving registration flow to a dedicated page for better mobile experience.
Summary
/registerpage with standalone registration formRegisterButtoncomponent that navigates to/registerRegistrationModalComponentwrapper for modal registration flowMainColumnto show both buttons for QA testingTest plan
/registerref: https://app.clickup.com/t/86b7cx54y