create: Checkpoint 2026-11-15 01:33:07 UTC [0d143eac25]
MemRelay-Operation: checkpoint-save:ckpt-home-study-rows-20261115 MemRelay-Resource: 56b5e661-4b26-44d1-ace0-f3d1e685eda7
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: Checkpoint 2026-11-15 01:33:07 UTC [0d143eac25]
|
||||
type: checkpoint
|
||||
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-15-01-33-07-utc-0d143eac25
|
||||
stable_id: 56b5e661-4b26-44d1-ace0-f3d1e685eda7
|
||||
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-home-study-rows-20261115
|
||||
created_at: '2026-11-15T01:33:07.851305+00:00'
|
||||
updated_at: '2026-11-15T01:33:07.851305+00:00'
|
||||
tags:
|
||||
- ui
|
||||
- autostudy
|
||||
- home
|
||||
---
|
||||
|
||||
## 完成
|
||||
首页去掉「正在学习:xxx」。正在学的课一行一门:课程名、进度条、百分比、倒计时、状态点。间隔为 0 不显示倒计时。接口轮询按课程心跳间隔,最低 10 秒,0 也按 10 秒。倒计时只在本地每秒走。
|
||||
|
||||
## 关键实现
|
||||
- HomeView studyingWorkers 过滤空闲/已完成线程
|
||||
- studyPollSeconds:有 0 或空则 10,否则 max(10, min(间隔))
|
||||
- setTimeout 链替代原来的 1 秒 setInterval 打 /api/settings/study-control
|
||||
|
||||
## 验证
|
||||
vue-tsc + npm run build 通过;test_study_poll 与 API 测试通过。Cursor 浏览器扫码凭据已失效,未登录首页实机点任务。静态资源已写入 web/dist,刷新页面即可。
|
||||
|
||||
## 下一步
|
||||
用户刷新首页看行布局。未提交。不要长时间点立即开始跑完全部课程。
|
||||
|
||||
## 给下个会话
|
||||
- 首页学习行布局已改,仍未 git commit(连同上一轮心跳协议)。
|
||||
- 不要提交 data/、Temp/、web/dist、.chlz。
|
||||
- QR_PASSWORD_MARK 是「扫码登陆」;扫码失效后不能用该标记走密码登录。
|
||||
Reference in New Issue
Block a user