Commit Graph

13 Commits

Author SHA1 Message Date
weli c96830c301 feat: add lesson statistics pages and audit log viewer
- Add student lesson records page (/student/lessons)
- Add teacher lesson statistics page (/teacher/stats)
- Add supervisor statistics page (/supervisor/stats)
- Add navigation entries in student/teacher/supervisor profiles
- Add audit log viewer in clazz detail modal
- Add getAuditLog, queryStudentLessons, queryTeacherDetailStats store methods
- Register new routes

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 19:46:00 +08:00
weli 8589a6fc02 feat: student teacher switching in profile page
Add teacher context for students: show current teacher in profile,
allow switching via new teacher-select page. Filter daka queries
by selected teacher when available.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 23:50:39 +08:00
weli d117eb06f6 feat(course-package): detail page, publish/unpublish UI, edit lock
- Add detail/show page with conditional action buttons
- Route /course/course-package/detail with props query params
- List page click navigates to detail instead of edit
- Edit page redirects if package is published (published_at set)
- Store: add publish/unpublish API functions

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 21:06:19 +08:00
weli b78f25da20 feat(course-package): add course-package CRUD pages under 教学资源库
Add list/add/edit views for course-package under the qumu section,
visible to TEACHER and SUPERVISOR roles via the 教学资源库 tab.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-30 13:51:27 +08:00
weli 98c0bfd195 refactor: rename clazz UI label to 排课
Use 排课 for /clazz tab and page titles to avoid confusion with teaching-domain 课程 terminology.

Made-with: Cursor
2026-04-28 00:15:33 +08:00
weli 02f39ddaf6 feat(front): add org context UI and role scoping
Introduce organization selection/homepage flows, show current organization on profile pages, and scope displayed roles to the active organization context while preserving system-wide behavior.

Made-with: Cursor
2026-04-27 21:52:26 +08:00
weli 19fbb53060 fix(front): 打卡/计划提交不再强制课程含图片;选课不限媒体;曲谱文案改为图片
- daka/jihua prepare 去掉仅 Picture+CourseSection 的前端校验
- pick 列表始终可选课,去掉仅按图片判断的警告
- 课程与练习相关界面 ref_name 与提示由「曲谱」改为「图片」等

Made-with: Cursor
2026-04-26 21:38:34 +08:00
weli f5451f97f7 feat(dev): add /__dev/session to paste UC JWT + sudo for local browser QA
Production build omits route via import.meta.env.DEV guard.

Made-with: Cursor
2026-04-26 16:08:59 +08:00
weli b7fa0a3d7e feat: 课程模块更名为 clazz(路由 /clazz、store、通知与选型)
对接 AuthCoreJS 通知枚举与 clazz_id;打卡与通知页使用 clazz 字段;补充 package-lock。

Made-with: Cursor
2026-04-24 07:43:06 +08:00
weli 3007c73c80 refactor frontend terminology to course system mapping
Align frontend wording with final domain terms (course system/course/lesson block), keep PickTargets backward compatible with backend values, and fix related import paths.

Made-with: Cursor
2026-04-23 21:47:02 +08:00
weli 3849426ad9 fix frontend route component import paths
Point admin and course route imports to existing qumu page files to resolve missing file errors in Vite build.

Made-with: Cursor
2026-04-23 21:42:45 +08:00
weli 88122f8579 refactor frontend course field naming alignment
Align frontend types, stores, pages, and routes to the renamed course/course_section/course_group domain fields for backend compatibility.

Made-with: Cursor
2026-04-23 21:38:49 +08:00
weli a661e439a0 chore: initialize frontend repo with teaching terminology updates
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context.

Made-with: Cursor
2026-04-23 16:37:14 +08:00