Commit Graph

16 Commits

Author SHA1 Message Date
qzl 51ca78a37a feat(tokens): add semantic color tokens for high-frequency colors
Add design tokens for frequently used hardcoded colors:
- Surface colors: surfaceSecondary (11 uses), surfaceTertiary (9 uses), surfaceInfo (4 uses), surfaceInfoLight (3 uses)
- Border colors: borderSecondary (5 uses), borderTertiary (5 uses), borderQuaternary (5 uses)
- Status colors: success (4 uses), warning (4 uses), error (3 uses)
- Text colors: textSecondary (4 uses)

These tokens will enable migration of hardcoded Color() values in pages.
2026-03-02 16:22:25 +08:00
qzl 3d6ae7695f refactor: 优化日历状态管理与首页输入框,添加API客户端抽象 2026-02-27 18:36:21 +08:00
qzl e4e995854d feat: 实现密码重置功能与用户搜索API,优化注册登录流程
- 新增忘记密码页面与重置密码确认流程(前端+后端)
- 修复注册验证码页登录跳转路由
- 新增用户搜索API(按邮箱查询)
- 简化infra脚本,统一为app.sh
- 补充密码重置与用户API测试覆盖
- 更新runtime文档与AGENTS配置
2026-02-27 15:22:42 +08:00
qzl d635d9a5e0 refactor(frontend): adapt to RESTful API routes 2026-02-26 14:28:58 +08:00
qzl cc7a70d793 fix(auth): correct resend response type and improve error messages 2026-02-26 12:13:50 +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 d3bdb3ab4f feat(apps): add router auth protection 2026-02-25 15:25:31 +08:00
qzl 0a7e1cd2d4 feat(apps): add dependency injection configuration 2026-02-25 15:11:25 +08:00
qzl 23f5662e7b fix(apps): improve ApiInterceptor retry and error handling 2026-02-25 14:41:27 +08:00
qzl 75f4d2c3fb feat(apps): add core API infrastructure 2026-02-25 14:36:03 +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 fa1164afa8 feat(router): add all feature routes 2026-02-25 11:22:58 +08:00
qzl 567b3d6712 feat(todo): add quadrants and detail screens 2026-02-25 11:10:32 +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
qzl 8c0b0a25c3 feat(core): add theme, shared widgets and validators 2026-02-25 10:52:18 +08:00