Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync main #2184

Merged
merged 14 commits into from
Dec 17, 2024
Merged

chore: sync main #2184

merged 14 commits into from
Dec 17, 2024

Conversation

Innei
Copy link
Member

@Innei Innei commented Dec 16, 2024

No description provided.

Innei and others added 14 commits November 14, 2024 22:08
* feat: login with password

* chore: auto-fix linting and formatting issues

* feat: show email

* refactor: login form

* chore: update

* fix: show login error

* chore: update

* credential provider

* feat: confirm password

* chore: update

* revokeOtherSessions when update password

* changelog

* typecheck

* chore: update

* chore: update hono

* feat: forget password

* chore: update

* feat: reset password page

* feat: register form

* chore: update

* chore: update

* chore: update

* chore: update

* fix: email login handler

* fix: navigate to login after register

* chore: remove forget password button for now

* chore: update

* feat: forget password page

* chore: update hono

* fix: forget-password link

* feat: login email text

* refactor: enhance login and forget password functionality

- Updated the forget password page to include a back navigation button using MotionButtonBase.
- Refactored the login component to utilize the new Login module, simplifying the structure.
- Adjusted translations for consistency in the login text across English and German locales.
- Improved the useAuthProviders hook to return a more structured AuthProvider interface.

Signed-off-by: Innei <[email protected]>

* feat: add form validation and UI enhancements for login-related pages

- Introduced form validation state management in forget-password, register, and reset-password components.
- Updated button states to be disabled when forms are invalid, improving user experience.
- Enhanced UI elements with consistent styling and layout adjustments, including the addition of MotionButtonBase for navigation.
- Improved accessibility and responsiveness of card components.

Signed-off-by: Innei <[email protected]>

* feat: enhance login component with dynamic provider buttons

- Added MotionButtonBase for improved button animations and interactions.
- Refactored the rendering logic to conditionally display login options based on the presence of credential providers.
- Introduced a new icon mapping for providers to enhance visual representation.
- Improved layout and styling for better user experience during login.

Signed-off-by: Innei <[email protected]>

* feat: add GitHub provider icon and adjust button margin in login component

- Introduced a GitHub icon to the provider icon map for enhanced visual representation.
- Adjusted the margin of the submit button to improve layout consistency.

Signed-off-by: Innei <[email protected]>

* chore: update

---------

Signed-off-by: Innei <[email protected]>
Co-authored-by: hyoban <[email protected]>
Co-authored-by: DIYgod <[email protected]>
Co-authored-by: Innei <[email protected]>
Signed-off-by: Innei <[email protected]>
…mponents

- Updated the LoginModalContent and Login components to safely access provider icon class names using optional chaining.
- Excluded the "credential" provider from the list of displayed auth providers to streamline the login options.

Signed-off-by: Innei <[email protected]>
Signed-off-by: Innei <[email protected]>
Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
follow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 16, 2024 5:12pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
follow-external-ssr ⬜️ Ignored (Inspect) Visit Preview Dec 16, 2024 5:12pm

@follow-reviewer-bot
Copy link

Suggested PR Title:

feat(auth): enable email/password login and password reset

Change Summary:
This PR introduces email and password login functionalities and password reset features across the application. Key changes include:

  • Added UpdatePasswordForm for users to change their password.
  • Implemented email verification via sendVerificationEmail functionality.
  • Introduced pages for user registration, login, and password reset.
  • Updated localization files to support new labels for email and password-related actions.
    These updates enhance user authentication methods and improve overall account management.

Code Review:
No change requests necessary.

@Innei Innei merged commit 0e86a24 into dev Dec 17, 2024
10 checks passed
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