Enhance onboarding flow and improve user authentication handling#1591
Merged
Conversation
… CreateVideoTasksWithAI
fixes: VerticalDivider responsiveness and add 'Auto' option in CreateVideoTasksWithAI
…ontrolled input for name and surname fields
…ing input props and enhancing button disabling logic
… handle invitation tokens
…oarding Add invitation token to User type and update onboarding logic
…rameters are preserved after password change
…heckboxes and improving navigation logic
…nd implement acceptance logic
Fix onboarding flow
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.
This pull request introduces several improvements and fixes to the authentication flows, user onboarding, and password management, as well as some UI/UX enhancements for password reset and logout. The main themes are: enhanced password and onboarding logic for invited users, improved logout handling, additional user fields for invitations, and better localization and navigation for password reset flows.
Authentication & Onboarding Enhancements
SetPasswordFormto use the permanent password for login and then require a password change if needed. This also adds support for the newchangePasswordmethod in the authentication context, ensuring a smoother onboarding for invited users. [1] [2] [3]invitation_tokento theUsertype and API schema, supporting invitation-based onboarding and tracking. [1] [2]Logout Flow Improvements
/logoutroute, simplifying the profile modal's logout action. [1] [2] [3] [4]Password Management & Auth Context
changePasswordmethod to the authentication context and implemented its usage, enabling users to change their password after onboarding or as needed. [1] [2] [3] [4]Password Reset & Navigation UX
Testing & Miscellaneous
NODE_ENVtotestin the Playwright configuration to ensure the correct environment during tests.syncWordpressutility. [1] [2] [3]These changes collectively improve the robustness, user experience, and maintainability of the authentication and onboarding flows.