qzl
19aa33a609
fix: correct test failures and error propagation
...
- Add CacheScope provider in UserProfileCacheRepository tests
- Remove catch blocks that swallowed errors in _loadHistory/_loadMoreHistory
- Errors now properly propagate to switchUser() caller
2026-04-01 15:11:49 +08:00
qzl
63d225c567
feat(logging): add logging to auth feature
2026-04-01 14:28:30 +08:00
zl-q
4db9a13bfe
refactor(apps): 重构数据层目录结构并新增启动预热编排器
2026-03-29 20:26:30 +08:00
qzl
0661016827
feat(auth): transition from email to phone-based OTP authentication
...
- Replace Email+Password login with Phone+OTP flow
- Remove RegisterCubit and registration screens (email verification)
- Remove ResetPasswordCubit and reset password screens
- Add phone normalization and international dial code support
- Update LoginCubit with sendCode/resend cooldown logic
- Add new widgets: phone prefix selector, confirm sheet
- Update all auth API endpoints: /otp/send, /phone-session
- Update form inputs: Email -> Phone with E.164 validation
- Update tests for new auth flow
2026-03-19 18:42:05 +08:00
qzl
b34697660d
feat: 实现 Auth 全局状态机与 401 统一处理机制
...
- 新增 AuthSessionInvalidated 事件处理 token 失效场景
- ApiInterceptor 新增 authFailureCallback 单飞机制
- AuthBloc 区分 manual logout 与 auto expiry 语义
- 新增 startup recovery fallback 防止启动卡死
feat: 重构 Calendar DayWeek 视图事件布局引擎
- 新增 DayEventLayoutEngine 解耦事件计算与渲染
- 新增 DayTimelineMetrics 统一时间轴常量
- 新增 DayViewScale 支持捏合缩放
feat: 新增 Settings 页面共享 UI 组件
- 新增 BackTitlePageHeader 统一页面 header
- 新增 DetailHeaderActionMenu 统一操作菜单
- 新增 DestructiveActionSheet 统一删除确认
- 新增 AppToggleSwitch 统一开关组件
feat: Chat UI Schema 支持导航操作
- 支持 navigation 类型 action 触发内部路由跳转
- 新增路径验证与参数处理
chore: 更新相关测试覆盖 auth 失效路径
2026-03-18 13:35:25 +08:00
qzl
d635d9a5e0
refactor(frontend): adapt to RESTful API routes
2026-02-26 14:28:58 +08:00
qzl
9b51c8b293
feat(apps): add AuthBloc for global auth state
2026-02-25 14:59:20 +08:00