Commit Graph

2 Commits

Author SHA1 Message Date
d60808923f fix: 修复堆叠块在折叠状态下全局鬼畜与容器动画不同步
根因(双重修复):
1. 容器高度计算改为精确目标高度公式 overhead + contentTarget,替代受CSS过渡
   影响的实时高度测量,消除 JS测量↔CSS过渡 的循环反馈
2. 给容器添加260ms CSS过渡(与块内容max-height过渡同duration/easing),
   用CSS统一负责所有动画,替代之前逐帧rAF追踪的视觉不同步
3. scrollListener中检测到scrollHeight变化时强制延长suppressUserIntentUntil
   至400ms,防止stick-to-bottom spring的自动追底被误判为用户滚动而中断

配套清理:移除调试日志代码和临时/api/debug/stacked-log端点
2026-06-08 02:08:43 +08:00
d6fb59e1d8 refactor: split web_server into modular architecture
- Refactor 6000+ line web_server.py into server/ module
- Create separate modules: auth, chat, conversation, files, admin, etc.
- Keep web_server.py as backward-compatible entry point
- Add container running status field in user_container_manager
- Improve admin dashboard API with credentials and debug support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-22 09:21:53 +08:00