Skip to content

Improve sign up flow#90

Merged
Saterz merged 8 commits into
developerfrom
feat/improve-sign-up-flow
Aug 24, 2025
Merged

Improve sign up flow#90
Saterz merged 8 commits into
developerfrom
feat/improve-sign-up-flow

Conversation

@Saterz

@Saterz Saterz commented Aug 24, 2025

Copy link
Copy Markdown
Member

This pull request improves the sign up process to CubeIndex, with better sign up page UI and backend flow

Saterz added 3 commits August 22, 2025 15:14
- Added `file-type` and `sharp` packages to `package.json` for enhanced file handling and image processing capabilities.
- Introduced new `passwordStrength` helper function for password validation, providing feedback on password strength.
- Created `cubeForm` and `signup` validation schemas using Zod for structured data validation in forms.
- Updated user avatar handling in the signup process to support file uploads and image processing.
- Refactored user profile and signup components to integrate new validation logic and improve user experience.
- Introduced a new server route for handling email OTP verification, allowing users to confirm their accounts.
- Implemented error handling for missing parameters and verification failures.
- Updated user profiles to mark them as verified upon successful OTP verification.
- Added functionality to sync user data with Brevo after verification.
- Ensured safe redirection to prevent open redirects.
@netlify

netlify Bot commented Aug 24, 2025

Copy link
Copy Markdown

Deploy Preview for cubeindexbeta canceled.

Name Link
🔨 Latest commit bb99244
🔍 Latest deploy log https://app.netlify.com/projects/cubeindexbeta/deploys/68ab66a4e3576200082a0523

Saterz added 5 commits August 24, 2025 12:10
…process

- Updated the error handling in the signup action to include the specific user error in the failure message, enhancing clarity for debugging and user feedback.
- Enhanced the error message to provide clearer feedback by including a conditional check for user errors, improving user experience during signup failures.
- Changed the error response for missing token_hash or type from a 303 to a 400 status code, providing clearer feedback for client-side validation during the OTP verification process.
- Replaced token_hash and type parameters with a single code parameter for OTP verification.
- Adjusted error handling to return a 400 status code for missing code, improving clarity in client-side validation during the verification process.
…ation flow

- Simplified the GET handler for OTP verification by removing unnecessary parameters and improving error handling for profile creation.
- Updated the signup action to provide clearer feedback for user data retrieval failures and adjusted the redirect logic to enhance user experience.
- Improved the email verification process by ensuring users are prompted to verify their email before proceeding with signup.
@Saterz Saterz merged commit 6ea5c40 into developer Aug 24, 2025
4 checks passed
@Saterz Saterz deleted the feat/improve-sign-up-flow branch August 24, 2025 19:25
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.

1 participant