Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 16-56-12 UTC [3fb6a2b88b].md
T
memrelay df7909c22e create: Checkpoint 2026-11-15 16:56:12 UTC [3fb6a2b88b]
MemRelay-Operation: checkpoint-save:ckpt-20261116-reactive-study-btn
MemRelay-Resource: f51f4530-1e57-4eee-8e16-f171b47c492d
2026-11-16 00:56:14 +08:00

40 lines
1.5 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.
---
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 测