Commit Graph

38 Commits

Author SHA1 Message Date
hmo 236f64510b refactor: move '我的' filter to first position in student and class list toolbars 2026-04-27 03:59:54 +08:00
hmo d6128e623d refactor: unify toolbar style with card wrapper in problems and classes pages 2026-04-27 03:57:46 +08:00
hmo 70678095ce fix: restore student list row wrapper 2026-04-27 03:54:56 +08:00
hmo 0628936b09 refactor: unify student list toolbar with card wrapper and consistent layout 2026-04-27 03:51:55 +08:00
hmo 3bb477ebc6 fix: simplify button text in student list toolbar 2026-04-27 03:48:25 +08:00
hmo 590e047c51 fix: index.html mobile UI - wrap buttons and filters properly
- Split filters and action buttons into separate rows
- Use flex-wrap for mobile responsiveness
- Remove duplicate btn-group on student list page
2026-04-27 03:42:39 +08:00
hmo e6d3726d47 fix: classes.html JavaScript syntax error - remove template literals in onclick attributes
- Replace template literals with string concatenation to avoid HTML attribute parsing issues
- Add escape function for proper HTML attribute values
2026-04-27 03:34:35 +08:00
hmo e50a9207b4 feat: v1.4.0 - 典型方案采纳、推荐方案列表、审计字段、导航优化
- 添加典型方案采纳功能 (POST /api/plans/<id>/adopt)
- 添加推荐方案列表 (GET /api/students/<id>/recommended-plans)
- PracticePlan 新增 created_by/updated_by/updated_at 审计字段
- 方案编辑/详情页导航优化 (bfcache 处理、pageshow 事件)
- 方案列表支持删除功能
- 学员列表'暂无方案/问题'样式统一
- 更新文档:问题文件已废弃(迁移到数据库)
- 更新部署脚本和验证清单
2026-04-27 02:01:22 +08:00
hmo 6abdd49c04 更新:models/routes/services/templates/docs 2026-04-26 18:02:36 +08:00
hmo f4ea6c9a77 refactor: 提取分配目标模态窗体为共享fragment,实现DRY 2026-04-24 10:22:53 +08:00
hmo 08cc0541f2 fix: 班级分配目标模态窗体也默认90天后 2026-04-24 10:13:03 +08:00
hmo 812715cf5e fix: 分配目标默认90天后,dropdown文案修正为'指定天数' 2026-04-24 10:08:47 +08:00
hmo 070533326a feat: 班级管理增加分配目标功能,支持批量分配目标给班级所有学员 2026-04-24 09:24:24 +08:00
hmo 587aa79c16 feat: 学员详情页改为学习历程时间线,显示目标启动/达成和方案生成记录 2026-04-24 00:33:30 +08:00
hmo a133f26fd5 fix: 评估日期选择器联动,天数自动计算日期或手动选日期 2026-04-24 00:19:42 +08:00
hmo 035c599c2f feat: 重构学员目标系统,支持评估日期/状态自动计算/评估目标,同时恢复方案列表的典型设置 2026-04-24 00:06:26 +08:00
hmo 68e106018b fix: 修复分类显示文字,标签统一为问题描述,新建目标也用Markdown编辑器 2026-04-23 23:02:25 +08:00
hmo 26dd158f01 feat: 统一编辑Modal样式,添加sticky底部按钮栏,目标内容使用Markdown编辑器 2026-04-23 22:43:23 +08:00
hmo 378c9913ec fix: 分组视图添加col-包装器以正确显示网格布局 2026-04-23 22:33:15 +08:00
hmo 66451c2006 feat: settings页面改名为problems,移除调试代码 2026-04-23 22:29:51 +08:00
hmo 22143bad78 fix: 修复JS语法错误,删除多余代码块 2026-04-23 22:20:40 +08:00
hmo ce75a288e8 feat: 目标和问题列表添加筛选和分组功能 2026-04-23 22:02:56 +08:00
hmo f83769fa20 feat: 目标和问题统一分类体系(综合/乐理相关/演奏能力/其他),添加数据库迁移 2026-04-23 21:57:00 +08:00
hmo 5f1dcc08fb fix: 添加goals表level字段的数据库迁移 2026-04-23 21:13:10 +08:00
hmo 6b86548dc8 debug: 添加console.log调试目标编辑和保存 2026-04-23 21:07:25 +08:00
hmo 7da9e9a43c feat: 目标添加级别字段,卡片显示级别和子目标数量,修复Modal重置 2026-04-23 21:02:24 +08:00
hmo 7d439b4b17 fix: 目标关联界面重做,支持多选添加子目标 2026-04-23 20:50:05 +08:00
hmo dd492c3b88 fix: goals.html使用正确的block名称extra_js 2026-04-23 20:42:04 +08:00
hmo 9eec4dbe36 feat: 侧边栏添加目标管理链接 2026-04-23 20:35:20 +08:00
hmo b86b67e3ac Merge branch 'feature/goal-management' 2026-04-23 20:31:38 +08:00
hmo 6b787bc9c9 feat: 添加学员目标API和目标管理页面 2026-04-23 20:29:28 +08:00
hmo b54b6c7aec feat: 添加 Goal, GoalRelation, StudentGoal 三个数据模型
- Goal: 目标表,支持存储学习目标
- GoalRelation: 目标自关联多对多表,支持 DAG 结构
- StudentGoal: 学员目标记录表,关联学员和目标
2026-04-23 20:10:08 +08:00
hmo 9f22717adc feat: add goal management section to student detail page 2026-04-23 18:30:00 +08:00
hmo ab0a8f383d feat: 添加目标管理CRUD API和关联蓝图 2026-04-23 20:18:36 +08:00
hmo 285979ff70 refactor: 简化各页面模板,移除重复代码;添加plan_common.js 2026-04-23 06:40:23 +08:00
hmo baaa6ca2f8 feat: 添加学员详情/方案编辑/方案列表新页面
- student.html: 学员详情页,支持编辑/添加/删除问题
- plan_edit.html: 方案编辑页
- plans.html: 方案列表页
- home.html: 首页
2026-04-23 06:38:44 +08:00
hmo 18351212e8 feat: 问题数据迁移到数据库;学员详情页URL导航改造;侧边栏统一
- 问题从文件系统迁移到数据库 problems 表
- 移除 PROBLEMS_DIR 配置和文件读取逻辑
- student.html 完整重写:编辑/添加/删除问题,生成方案进度显示
- 学员详情页支持独立URL访问 (/student/<id>)
- 统一侧边栏到 base.html
- 更新文档:DEPLOYMENT_SOP, MODELS, STRUCTURE, FRONTEND_ARCH
- 部署到生产环境 v1.2.0
2026-04-23 06:35:32 +08:00
hmo fd593bddf4 feat: 初始提交 v1.2.0 - 钢琴练习方案生成系统 2026-04-21 20:00:33 +08:00