Skip to content

优化题目笔记和自定义参考答案体验 - #9

Merged
dogxii merged 2 commits into
mainfrom
feat/note-preview-answer-overrides
May 31, 2026
Merged

优化题目笔记和自定义参考答案体验#9
dogxii merged 2 commits into
mainfrom
feat/note-preview-answer-overrides

Conversation

@dogxii

@dogxii dogxii commented May 31, 2026

Copy link
Copy Markdown
Owner

变更摘要

  • 优化题目笔记为默认预览、轻量编辑器、Markdown 工具栏和本地图片导入。
  • 新增自定义参考答案能力,支持编辑、查看原参考答案、恢复默认确认,并纳入本地备份/Gist 同步。
  • 优化自定义答案和题目笔记的 UI 层级,减少正文区域占用。
  • 新增 PR 标题和描述使用中文的仓库规则。

数据与同步影响

  • IndexedDB 版本升级,新增 question_answer_overrides 和本地 question_note_images 存储。
  • 自定义答案会参与本地备份和 Gist 同步。
  • 笔记图片仅本地保存,不上传、不进入 Gist 同步或备份;缺失时会显示本地图片不可用提示。

验证

  • git ls-files -z | xargs -0 bunx biome check
  • bun run build
  • bun run check:backup
  • bun run check:sync
  • 浏览器手动验证题目详情页、笔记编辑/预览、自定义答案编辑、笔记本地图片预览。

Copilot AI review requested due to automatic review settings May 31, 2026 12:04
@vercel

vercel Bot commented May 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
i-face Ready Ready Preview, Comment May 31, 2026 12:04pm

@dogxii
dogxii merged commit ae9ffe0 into main May 31, 2026
2 of 3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants