Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-14 21-13-44 UTC [24da25580a].md
T
memrelay a78f626cce create: Checkpoint 2026-11-14 21:13:44 UTC [24da25580a]
MemRelay-Operation: checkpoint-save:euniv-checkpoint-progress-proxy-20261115
MemRelay-Resource: 122a8a7d-7ed7-4002-9b3b-7b04ca66e5be
2026-11-15 05:13:47 +08:00

46 lines
2.3 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-14 21:13:44 UTC [24da25580a]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-14-21-13-44-utc-24da25580a
stable_id: 122a8a7d-7ed7-4002-9b3b-7b04ca66e5be
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: euniv-checkpoint-progress-proxy-20261115
created_at: '2026-11-14T21:13:44.161377+00:00'
updated_at: '2026-11-14T21:13:44.161377+00:00'
tags:
- autostudy
- proxy
- ui
- hours
---
## 完成
九点需求已落地:线程下拉且提示进选项、代理测试显示加载、关闭/自动隐藏代理字段、线程数量文案、定时启动日期下拉且 1 日黄色警告、学时历史顶部四项统计、已开始则首页轮询进度/心跳倒计时/绿红点、管理端 hours_source、首页代理收进自动学习右下角弹窗。
## 关键实现
- 迁移 0013:system_config.hours_source
- client.accumulate_month_minutes / fold_month_minutes;StudySession.month_history_minutes
- autostudy WorkerView + heartbeat_at;HoursWatcher.source;monthly_target 0 不再当 600
- GET /api/settings/study-control 带 workers
- HomeView 轮询、NProgress、代理 NModal;UsersView/SettingsView/HoursHistoryView/ProxiesView
## 验证
81 项 pytest 通过;npm run build 成功。浏览器:首页定时启动/线程数量/代理弹窗关闭时无字段、HTTP 时出字段;立即开始显示任务已开始等待执行并已停止;学时历史四项统计;管理学习设置弹窗与学时达标开关;代理页测试/测试全部按钮与单条 loading。
## 下一步
提交并推送本次改动(若本会话已完成提交则无)。
## 给下个会话
- 服务 127.0.0.1:8000,EUNIV_DB_PATH=data/euniv.db,EUNIV_SECRET_KEY=dev-local-key,PYTHONPATH=backend;改 0013 后需重启 uvicorn
- 工号在密码库「euniv 工号 6650000146」;管理后台 admin
- 不要把 MD5 密钥写回代码;GetEncryptRequest 必须发字符串 body
- 产品文案不写聊天记录/开发说明
- Naive n-input 密码填充要逐字输入
- 验证时只短暂点了立即开始并已停止,不要把实际学习任务长时间挂在线上
- 测试全部代理延迟仍会阻塞 HTTP
- 首页取消代理弹窗会 restore 未保存修改