diff --git a/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 16-56-12 UTC [3fb6a2b88b].md b/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 16-56-12 UTC [3fb6a2b88b].md new file mode 100644 index 0000000..843541b --- /dev/null +++ b/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 16-56-12 UTC [3fb6a2b88b].md @@ -0,0 +1,40 @@ +--- +title: Checkpoint 2026-11-15 16:56:12 UTC [3fb6a2b88b] +type: checkpoint +permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-15-16-56-12-utc-3fb6a2b88b +stable_id: f51f4530-1e57-4eee-8e16-f171b47c492d +scope: project +memory_type: checkpoint +project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9 +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: ckpt-20261116-reactive-study-btn +created_at: '2026-11-15T16:56:12.047606+00:00' +updated_at: '2026-11-15T16:56:12.047606+00:00' +tags: +- autostudy +- websocket +- homepage +--- + +首页学习按钮改为响应式:work 结束后不用刷新也会回「立即开始」。 + +## 完成 +1. want_work / drop_work / halt_work 都 _notify;学时刷新也推。 +2. assemble 带 month_hours、monthly_target。 +3. HomeView:WS 断线立刻 HTTP;onopen 再拉一次;ping 8s;切回标签页/focus/online/pageshow 唤醒。 +4. 不覆盖正在编辑的每月目标输入框。 + +## 验证 +66 pytest。npm build 产物 index-BuoTj0rL.js。浏览器 6650000146:立即开始可点;WS 推送 started=false;POST stop 不刷新按钮仍是立即开始。未点开始跑 1187 门课。 + +## 下一步 +8981提交再说。 + +## 给下个会话 +- uvicorn 127.0.0.1:8000 无 --reload,当前进程已重启以加载 notify+new dist。旧 589926 已停。 +- 不要提交 data/ Temp/ web/dist .chlz +- 本月 paused 的账号不会因窗口过点自动拉起 +- 不要点立即开始跑 1187 门课 +- TestClient websocket receive 等 notify 会死锁,用 monkeypatch notify 测 \ No newline at end of file