feat: 多功能改进(导入/项目管理/笔记/错题推荐/UI修复)#131
Open
wyh16 wants to merge 10 commits into
Open
Conversation
1. 新增错题库同类题推荐侧边栏组件,基于知识点、学科、题型和内容相似度智能推荐题目 2. 为错题详情面板添加同类题按钮,点击可切换展示推荐面板 3. 重构笔记整理LLM调用逻辑,支持多模式结构化输出降级 4. 优化错误分析面板展示,支持多错因动态生成和列表展示
- 笔记整理新增项目选择弹窗,用户可选择保存到哪个笔记本 - 笔记库新建后自动显示在库视图中(避免重复加载覆盖)
- 在笔记项目选择弹窗底部添加「新建笔记本」按钮 - 与错题库导入弹窗保持一致的交互体验
1. 调整笔记整理弹窗关闭时机,提前关闭弹窗避免视觉卡顿 2. 为BaseModal添加zIndex属性支持,自定义弹窗层级 3. 新增项目创建完成回调,新建项目后自动跳转对应流程 4. 为WorkspaceView的新建按钮绑定创建完成回调,实现自动选中新项目并打开对应弹窗 5. 调整项目弹窗默认z-index层级避免被遮挡
1. 重构split_models函数,仅处理单个模型,移除逗号分割逻辑 2. 移除配置加载时的多模型取第一个的兼容代码 3. 简化后端状态接口中的模型列表处理逻辑 4. 前端移除多选模型功能,调整表单选择逻辑和提示文案
- 后端删除项目时级联清理关联题目、笔记、标签、对话等数据 - 移除 PROJECT_NOT_EMPTY 限制,有内容也可一键删除 - 删除弹窗新增 5 秒倒计时保护(有内容时) - BaseModal 新增 zIndex prop,修复弹窗层叠问题 - 修复库页面删除弹窗无法关闭的问题(deleteSaving 阻塞 close) - 删除题目后自动刷新项目计数并切换回列表视图 - 保存 LLM 配置后同时刷新模型选项列表
- ProviderDialog 模型选择改为单选,移除逗号拼接逻辑 - 后端移除 model_name 逗号分割逻辑,split_models 返回单元素列表 - 删除笔记本项目时级联清理 NoteTagMapping - 设置页保存配置后同时刷新 modelOptions,工作台立即显示新模型名 - 笔记删除后刷新项目计数
- 选项改为 v-html 渲染,修复 MathJax 公式在 {{}} 文本节点中重复显示的问题
- 同类题推荐面板标题区域固定,列表独立滚动,避免被内容挤出视口
- typesetMath 传入组件根元素,避免全局 typeset 影响其他页面
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更背景
错题库和笔记本的项目管理、导入流程、笔记整理等多处交互体验需要优化,同时新增错题推荐和模型选择简化等功能。
变更内容
自测清单
注意事项