This PR introduces a significant refactoring of the user input identifier caching mechanism to enhance the sign-in experience. The main changes include:
Implementation of a new UserInteractionContext to manage and persist user input identifiers across different pages and flows.
Introduction of session storage for caching identifier input values, improving user experience when navigating between pages.
Refactoring of various components and hooks to utilize the new context and storage mechanism, including:
ForgotPassword flow
SignIn flow
Registration flow
Password reset flow
Removal of state passing through react-router, replacing it with the new context-based approach.
Updates to relevant test cases to accommodate the new caching mechanism.
These changes aim to provide a more seamless and consistent experience for users across different authentication flows, reducing the need for re-entering information and improving overall usability.
The refactoring touches multiple files across the experience package, primarily focusing on state management and data persistence between different steps of the authentication process.
Summary
This PR introduces a significant refactoring of the user input identifier caching mechanism to enhance the sign-in experience. The main changes include:
These changes aim to provide a more seamless and consistent experience for users across different authentication flows, reducing the need for re-entering information and improving overall usability.
The refactoring touches multiple files across the experience package, primarily focusing on state management and data persistence between different steps of the authentication process.
Testing
Test locally and all IT passed.
Checklist
.changeset