## Summary
Build a login UI that allows users to request a magic link via email, with client-side email validation and error state handling.
## Implementation Tasks
- [x] Create login page/modal with email input
- [x] Add client-side email format validation
- [x] Submit email to /auth/login endpoint
- [x] Show success state (Check your email)
- [x] Show error states (invalid email, rate limited, server error)
- [x] Handle magic link callback (token verification)
## UI States
1. Initial: Email input + submit button
2. Loading: Spinner/disabled state during request
3. Success: Magic link sent, check your email message
4. Error: Specific error messages per error type
## Acceptance Criteria
- [x] Email input validates format before submission
- [x] User sees clear feedback for all states (loading, success, error)
- [x] Rate limit errors show appropriate message
- [x] Accessible (keyboard navigation, screen reader labels)
- [x] Works on mobile viewports
libretech
changed title from Add login and registration UI to Add magic link login UI with email validation and error handling2026-02-28 21:41:42 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Build a login UI that allows users to request a magic link via email, with client-side email validation and error state handling.
Implementation Tasks
UI States
Acceptance Criteria
libretech referenced this issue2026-02-28 21:15:46 +01:00
Add login and registration UIto Add magic link login UI with email validation and error handlinglibretech referenced this issue2026-02-28 22:00:33 +01:00
libretech referenced this issue2026-03-01 00:13:51 +01:00