feat(自学): 重做学生端页面与教师端学情概览
Some checks failed
Deploy / deploy (push) Has been cancelled

学生端:目录 + 居中限宽正文 + 可收起的示例代码栏;目录改成三态圆点,
顶部加总进度;上一课/下一课栏桌面端固定在底部。
教师端:汇总卡片、学生状态标签与筛选(未开始/7 天没学/只读不练等)、
最后学习补「N 天前」、按练习表加「没人一次对/多数人卡住」提示。

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-19 05:07:37 -06:00
parent c228b164cf
commit 20a6ddc79c
7 changed files with 498 additions and 188 deletions

View File

@@ -1,6 +1,6 @@
import type { Exercise } from "utils/types"
type Segment =
export type Segment =
{ type: "md"; content: string } | { type: "exercise"; exercise: Exercise }
export function parseExercises(