Skip to content

Conversation

@sebaxor
Copy link
Contributor

@sebaxor sebaxor commented Oct 15, 2025

✅ T1 & Builders Hub Login

Integrated unified login flow between T1 and Builders Hub.
👤 Unified User Profile

Merged the user profile component — now using the T1 profile as the single source of truth.
🔒 Logout Synchronization

Integrated T1 logout with Builders Hub to maintain session consistency.
🎨 Design Adjustments

Updated and refined UI layouts related to the T1 integration.

- Updated middleware to include new protected paths for Ambassador DAO profile and onboarding.
- Refactored layout components to improve user redirection based on authentication status and token errors.
- Added error handling for token acquisition failures, ensuring users are directed to onboarding or appropriate pages based on their status.
- Introduced new onboarding option in the user menu for new users.
- Updated user authentication logic to streamline user experience across Ambassador DAO components.
- Added new fields to the TalentForm and SponsorForm components, including bio, telegram user, profile privacy, and email notifications.
- Integrated a custom hook for managing talent profile logic, improving state management and file uploads.
- Updated the IUpdateTalentProfileBody interface to accommodate new fields.
- Improved user interface consistency by standardizing class names and styles across components.
- Enhanced error handling and data fetching for local profiles, ensuring a smoother onboarding process.
- Improved the handling of external token acquisition and error states in the RedirectIfNewUser component.
- Updated the TalentForm to include manual validation for skills and social links, enhancing user feedback.
- Modified the saveToLocalProfile function to accept social links, ensuring comprehensive profile updates.
- Streamlined the onSkip function to save user data without requiring full validation, improving user experience during onboarding.
- Adjusted the SignOut component to ensure proper logout functionality with API integration.
…lentProfile hook

- Added functionality to check for a stored redirect URL after saving the profile, allowing users to navigate to a specified page if available.
- Updated both the TalentForm and useTalentProfile hook to enhance user experience by ensuring proper navigation post-profile update.
…ewUser component

- Introduced a modal to prompt new users to complete their profile information before proceeding.
- Updated the redirect logic to show the modal when certain conditions are met, enhancing user experience during onboarding.
- Refactored code for improved readability and consistency in handling cookies and external token acquisition.
- Removed commented-out code and unnecessary console logs to enhance code clarity.
- Streamlined the external token authentication logic, ensuring a cleaner implementation.
- Adjusted the redirect logic to maintain user experience during onboarding.
@sebaxor sebaxor requested a review from a team as a code owner October 15, 2025 09:06
@vercel
Copy link

vercel bot commented Oct 15, 2025

@Riot-pls is attempting to deploy a commit to the Ava Labs Team on Vercel.

A member of the Team first needs to authorize it.

- Enhanced error handling in FormLogin and VerifyEmail components by adding console error logging for OTP sending failures.
- Updated state management in VerifyEmail to reset cooldown and retry attempts upon error.
- Removed commented-out code in authOptions for cleaner implementation.
@vercel
Copy link

vercel bot commented Oct 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
builder-hub Error Error Oct 27, 2025 4:47am

- Removed the default avatar import and replaced it with a UserRound icon for better visual representation.
- Cleaned up the code for enhanced readability and maintainability.
- Adjusted username validation to enforce a length between 3 and 30 characters.
- Enhanced social link validation by filtering out empty links before submission.
- Set a default profile image URL if no image is provided during profile update.
- Removed required attributes from several input fields for improved flexibility in form submission.
- Added condition to prevent redirection for users on the login page.
- Enhanced user experience by ensuring new users are directed appropriately during onboarding.
- Updated the RedirectIfNewUser component to display a terms modal for new users instead of redirecting them immediately.
- Enhanced the AmbassadorDao component to handle user session checks and redirect to the login page if the user is not authenticated when attempting to become a client.
- Added an accepted_terms field to the user model in the database schema to track user agreement status.
…ndling

- Introduced a new terms acceptance form using react-hook-form and Zod for validation.
- Updated the profile update logic to include the accepted_terms field.
- Refactored the component structure for improved readability and user experience during the terms acceptance process.
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.

2 participants