产品走查四条: ① **输入框加回边框**(上一版"无边框"太散,找不到落点):外层仍与会话同底、无分隔线, 输入块自己有边框。同时补一个**「回到底部」**圆钮 —— 只在没贴底时出现,浮在输入框 正上方居中(对齐 Claude Code)。⚠ ️ 判据复用 onScroll 里那个 80px 阈值,⛔ 不另写一个: 两个阈值不一致会出现"按钮还在、其实已经到底"这种解释不清的状态。 为此把 stickRef 加了个可渲染副本 atBottom(ref 改了不触发重渲染)。 ② 患者条目补**性别·年龄**,与患者详情卡片同口径(formatGender + calcAge)。⚠ ️ 年龄**读时算**(存的是 birthDate),两处各写一遍必然在生日当天差一岁。 ③🔴 **拖拽自动滚动**:HTML5 DnD 不会自己滚容器,助手窗一屏只放得下三四个客服, 拖到边缘就卡住 —— 想丢给下面的人基本不可能。现在拖动中指针进入上/下 56px 感应带 就按 rAF 持续滚。⚠ ️ 滚的是**离卡片最近的可滚动祖先**(运行时找),不是 window: 写死 window 在最大化/非最大化两种形态下会滚错东西。 ④ 卡片底部那三句(selectionNote/basisNote/rosterNote)撤掉展示 —— "规则拼成的,用户不需要知道"。⚠ ️ 三句话没删:助手在消息正文里已经原话转述过一遍, 卡片再贴一次是同一段出现两遍。⛔ 服务端那三个字段别删,助手要靠它们照抄。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ai-invocations | Loading commit data... | |
| assistant | Loading commit data... | |
| host-admin | Loading commit data... | |
| pet | Loading commit data... | |
| plan-detail | Loading commit data... | |
| plans | Loading commit data... | |
| realtime-coach | Loading commit data... | |
| recall-debug | Loading commit data... | |
| ui | Loading commit data... | |
| auth-gate.tsx | Loading commit data... | |
| can.tsx | Loading commit data... | |
| identity-cluster.tsx | Loading commit data... | |
| mock-login-dialog.tsx | Loading commit data... | |
| priority-hover.tsx | Loading commit data... | |
| session-expired.tsx | Loading commit data... |