Files
Jyotisha/docs/tasks/PROGRESS-notice-loading-polish-20260930.md
T
Jesse_ChenandClaude Opus 5.5 da3ed2f3ab
Independent Staging Quality Gate / validate (push) Successful in 18m44s
Independent Staging Quality Gate / publish (push) Successful in 3m34s
chore(polish): integrate toasts, reports paging, loading motion; login centring floor for short windows; load-more uses notifyError; round records
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
2026-09-30 13:55:02 +08:00

41 lines
2.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PROGRESS:提示浮层 / 登录页 / 我的报告 / 加载动画 / 星盘气泡(2026-09-30)
直接执行模式(产品 2026-09-30「请你继续」)。基线 `origin/staging` 3177ffe6 → 90b1b6fb。三个 fork 并行、Claude 合并并独立验收。
## 产品决策
| 项 | 决定 |
| --- | --- |
| 性别入口 | 只在星盘档案编辑表单;个人资料删掉(BUG-1119,已部署 90b1b6fb) |
| 提示位置 | 顶部居中浮层;成功/信息 3 秒,报错 6 秒带关闭;带「重试」的页面级失败状态留在页面 |
| 星盘加载 | 宫位依次点亮(去掉中间 logo 圆环) |
| 报告分页 | 每次 10 份 +「加载更多」 |
## 交付
| 提交 | 内容 | BUG |
| --- | --- | --- |
| `3e29b697` | 个人资料删性别 | 1119 |
| `90b1b6fb` | 星盘气泡频闪(全局 tooltip 规则关掉舞台指针事件);表格圆角 | 1120 |
| fork B `4ffc0ab2` | `/reports` 静态外壳 + 复用预取;游标分页 10 份 +「加载更多」 | 1123、1124 |
| fork C `d2e24fcb` | 宫位依次点亮;档案/人物切换用轨道动画;今日一句不再揭幕后跳入 | 1125 |
| fork A `dd28089e` | 全站操作结果/报错改顶部浮层(`src/lib/notify.ts`);登录卡居中 | 1121、1122 |
| 合并补丁 | 报告「加载更多」失败走 `notifyError`;登录页去掉仅顶部内边距、行下限 56px、卡片最小高度 `100dvh - 128px`(验收中发现窗口 ≤760px 时页脚压卡片) | 1122 |
## 验收(Claude,合并后分支 `codex/polish-integrate-20260930`)
| 项 | 结果 |
| --- | --- |
| `tsc --noEmit` | 0 |
| `npm run lint` | 0 error(126 warning,均为既有) |
| `npm test` | 4,487 条,失败 24 条,与基线 `sf8.fails` 逐条相同;0 cancelled |
| `next build` | 通过;`/`、`/reports`、`/people`、`/chart` 均 ○ Static(`/reports` 由 ƒ 变 ○) |
| 首屏 gzip-9 | 652,948 → 652,838 B(−0.02%) |
| 本机 Chromium | 星盘气泡:同一移动序列下气泡不再移除/插入;表格圆角截图;登录页 1440×900 / 760 / 700 卡片上下留白相等、页脚不压卡片;未勾同意 → 顶部红色提示 + 勾选框描红;关闭按钮在提示右侧 |
| 环境缺口 | 本机无登录后端,发送验证码成功路径、`/people`、`/reports` 真数据、首页冷启动今日一句未在浏览器走,列入 `docs/testing/notice-loading-polish-20260930.md` |
## 验收中的教训
- 本机 `next build` 复用了 `.next` 下的旧 CSS 块(Turbopack 缓存),第一轮截图全是旧样式;清掉 `.next` 重建后才正确。浏览器验收前先确认页面引用的 CSS 块含本轮新规则。
- 旧 `next-server` 进程仍占 3917 端口时,新 `next start` 静默失败,页面拿到旧 HTML 引用已删除的 CSS。