Commit Graph

75 Commits

Author SHA1 Message Date
qzl 656b2a1793 fix(auth): improve error toast trigger condition 2026-02-26 11:18:56 +08:00
qzl 74dc44b0b0 feat(auth): add toast feedback for code sending 2026-02-26 11:15:49 +08:00
qzl 8235ac5cd9 fix(auth): improve resendCode with status tracking and return value 2026-02-26 11:12:04 +08:00
qzl d1e224ece4 fix(auth): reset countdown after resend and add sending state 2026-02-26 11:06:16 +08:00
qzl 25b8a2b569 feat(auth): improve resend button style with countdown 2026-02-26 11:02:30 +08:00
qzl 1f253c54e9 feat(auth): add countdown timer for resend button 2026-02-26 10:58:29 +08:00
qzl deba6cc435 fix(auth): add navigation debounce for register next button 2026-02-26 10:52:44 +08:00
qzl 8f8b6ac263 feat(auth): optimistic navigation to verification screen 2026-02-26 10:48:48 +08:00
qzl 8e8bcfa4f5 fix(auth): prevent concurrent sendCodeSilently and add edge case tests 2026-02-26 10:46:16 +08:00
qzl 175da2a8b7 feat(auth): add sendCodeSilently with isSending state 2026-02-26 10:37:02 +08:00
qzl e20b1905cb fix(apps): consolidate FormzInput validators and fix login screen
- Move FormzInput validators to core/form_inputs/form_inputs.dart
- Fix login_screen.dart syntax error (missing 'class' keyword)
- Remove unused _isLoading field
- Fix unnecessary const keywords
- Update login_cubit and register_cubit imports
- Remove duplicate FormzInput definitions from register_cubit
- Add Toast and Banner UI feedback system
- Remove legacy login/register screens (login_code, login_email, login_password, register_step2)
- Remove unused warning_banner widget
- Update tests for new error messages and DI setup
2026-02-25 18:00:02 +08:00
qzl 8c1dfa9987 feat(apps): integrate auth cubits with register and login screens 2026-02-25 15:21:26 +08:00
qzl c9195b81b6 feat(apps): add LoginCubit for login form 2026-02-25 15:09:29 +08:00
qzl 89d2722241 feat(apps): add RegisterCubit for signup form 2026-02-25 15:05:29 +08:00
qzl 9b51c8b293 feat(apps): add AuthBloc for global auth state 2026-02-25 14:59:20 +08:00
qzl b00cfc80ab feat(apps): add auth repository 2026-02-25 14:51:21 +08:00
qzl bfec6ffd7d feat(apps): add auth data models 2026-02-25 14:45:08 +08:00
qzl 02e5e52e1f fix: add navigation links and account screen
- Fix empty onPressed handlers in login/home screens
- Add todo/calendar toggle navigation in bottom dock
- Fix message invite detail path (/messages/invites/:id)
- Add account screen with logout/switch account dialogs
- Add /settings/account route
2026-02-25 12:06:14 +08:00
qzl 052ab1ff37 feat(settings): add settings, features and memory screens 2026-02-25 11:18:28 +08:00
qzl b397d51dcc feat(calendar): add dayweek, month and event detail screens 2026-02-25 11:12:24 +08:00
qzl 567b3d6712 feat(todo): add quadrants and detail screens 2026-02-25 11:10:32 +08:00
qzl b5cce74f49 feat(messages): add invite list and detail screens 2026-02-25 11:05:42 +08:00
qzl 2541e10304 feat(contacts): add contacts list and add contact screens 2026-02-25 11:02:33 +08:00
qzl 12b7df42d6 feat(home): add home screen and sheet 2026-02-25 11:01:09 +08:00
qzl 4fb90de1f5 feat(flutter): add auth module with router and screens
- Add app_router.dart with auth routes (login, register)
- Update main.dart with MaterialApp.router
- Add 5 auth screens:
  - LoginEmailScreen with email validation
  - LoginPasswordScreen with password visibility toggle
  - LoginCodeScreen with verification code input
  - RegisterScreen with step indicator
  - RegisterStep2Screen with password/code/invite inputs
2026-02-25 10:57:43 +08:00