Add automated fix workflow for AI nutritionist page

- Create .fixes/ directory structure for tracking repairs
- Add FIX-001 to FIX-009 repair tasks based on Cursor review
- Add automation scripts (start-fix.sh, complete-fix.sh)
- Update HEARTBEAT.md with repair checklist
- Create AUTOMATION_PLAN.md with workflow documentation

Fixes address:
- Remove fake initial data
- Add clear chat button
- Split oversized component
- Optimize multi-image upload
- Fix scroll behavior
- Remove dead code
- Extract hardcoded config
This commit is contained in:
2026-02-28 06:56:43 +08:00
parent 14d29d51c0
commit 6122f94818
14 changed files with 628 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# FIX-006: 优化滚动到底部实现
**状态**: 待开始
**创建时间**: 2026-02-28
**优先级**: 低
**负责人**: msh-agent
---
## 问题描述
`scrollToBottom` 使用 99998/99999 magic number在部分机型上可能不生效。
---
## 修复方案
改为:先设一个很大的数触底,再在 `@scroll` 里记录实际 scrollTop下次用 `lastScrollTop + 1` 等小步进触发一次滚动。