Skip to content

Conversation

@alexanmtz
Copy link
Member

This pull request introduces several significant changes focused on refactoring and modernizing the public session and welcome feature components in the frontend. The main updates include migrating session-related pages to use new design library templates, cleaning up and removing legacy and unused welcome components, and improving code consistency and maintainability.

Session and Authentication Flow Refactor:

  • Added new session-related page components (SigninPage, SignupPage, ForgotPage, ResetPage, AccountActivationPage) that leverage up-to-date design library templates for a more unified and maintainable UI (frontend/src/components/areas/public/features/session/pages/). [1] [2] [3] [4] [5]
  • Introduced a new SessionPage component that organizes all authentication routes under a single base template, streamlining the routing and layout logic (frontend/src/components/areas/public/features/session/pages/session-page.tsx).
  • Implemented a new Session component to handle authentication via token and redirect users appropriately after login (frontend/src/components/areas/public/features/session/components/session.tsx).

Storybook and Template Enhancements:

  • Added the SignupSigninBase template and a corresponding Storybook decorator for consistent session-related page layouts (frontend/.storybook/decorators/withPublicTemplate.tsx). [1] [2]

Cleanup and Removal of Legacy/Unused Components:

  • Removed several unused or legacy components from the welcome feature, including BottomSectionDialog, Info, OurStack, cubes.js, clientlist.js, and their associated styles, reducing technical debt and improving code clarity (frontend/src/components/areas/public/features/welcome/components/). [1] [2] [3] [4] [5] [6]

Minor Improvements and Fixes:

  • Updated the cookie policy contact information to use the actual support email address (frontend/src/components/areas/private/components/session/cookie-policy.tsx).
  • Fixed the searchUserSuccess action to use the correct property name (data instead of user) for consistency with the rest of the codebase (frontend/src/actions/loginActions.js).
  • Cleaned up Storybook webpack aliases for better maintainability (frontend/.storybook/main.js).

These changes modernize the session and welcome flows, improve maintainability, and remove outdated code, setting the foundation for further improvements in the user authentication and onboarding experience.

@alexanmtz alexanmtz merged commit 63a472a into master Nov 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants