Commit Graph

6 Commits

Author SHA1 Message Date
Audit Bot 07ee86dc65 fix: resolve all ESLint warnings for clean lint output
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 210h57m58s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 210h58m2s
- Fix 48x @typescript-eslint/no-explicit-any: err: any → err: unknown with type narrowing
- Fix 3x @typescript-eslint/no-unused-vars: remove unused imports/variables
- Fix 2x react-refresh/only-export-components: add eslint-disable comments
- Fix 1x react-hooks/exhaustive-deps: wrap in useCallback
- 28 files modified across app/ and src/pages/
- ESLint now passes with 0 errors + 0 warnings (--max-warnings 0)
2026-06-30 17:56:10 +08:00
Audit Bot 53910e5f20 fix: 前端交互全面审计 — 上传422修复 + 进度反馈 + 防重复提交
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
🔴 P0 Bug:
- AssetLibrary: handleUpload 补充 project_id,调用 getOrCreateDefaultProject() 解决 422

🟡 P0 交互:
- AssetLibrary: 上传时显示 Spin + 禁用 Dragger + 文案提示「正在上传」
- client.ts: 新增 413/415/503 状态码专属提示

🔵 全面交互排查:
- GeneratePage: 生成中禁用步骤导航按钮防误操作
- Billing: 自动续费 Switch 添加 loading 状态防连点
- TemplateLibrary: 收藏按钮 mutation 进行中 disabled 防重复
- TitleLibrary: 空状态增加「新建标题」和「批量导入」引导按钮
2026-06-29 10:48:39 +08:00
Audit Bot 4143018faa fix: 全面补充前端交互状态反馈
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
- client.ts: 添加全局错误拦截器,自动提取后端 detail/message/msg 字段展示 toast
  - 处理网络异常、超时、5xx 等场景
  - 通过 __msgShown 标记避免与组件 onError 重复弹提示
- 6 个 delete mutation 补充 onError 回退提示(AssetLibrary、TitleLibrary、
  VoiceLibrary、ProductLibrary、DuplicationResults×2)
- GeneratePage: 5 个 query 增加 loading + error 状态展示
- TemplateLibrary: favMutation 增加收藏/取消收藏成功提示及失败回退
- Dashboard: 增加 isError 错误状态展示,避免静默显示全零数据
- DuplicationDetail: 增加 isError 状态,区分加载失败与记录不存在
2026-06-29 09:35:08 +08:00
Xiaoxia AI 14f72dbb50 fix(web): clear stale auth before workspace load 2026-06-22 20:41:48 +08:00
Xiaoxia AI 02d8000202 fix(web): align auth contract with api 2026-06-22 07:12:53 +08:00
Xiaoxia AI edeab83f17 fix: connect API to tracker.db via SQLite repository 2026-06-17 13:21:38 +08:00