Skip to content

macOS:导入文字题目并保留作答草稿 - #5

Merged
Functionhx merged 1 commit into
mainfrom
feat/macos-text-question-import
Sep 13, 2026
Merged

Functionhx merged 1 commit into
mainfrom
feat/macos-text-question-import

Conversation

@Functionhx

Copy link
Copy Markdown
Owner

macOS 题目卡片新增「导入文字」:粘贴或编辑完整题目,选填名称,确认后回填并自动保存。可通过原生文件选择器读取 UTF-8 / UTF-16 的 .txt / .md 题目。

保留当前作答、手写稿和计时,移除旧题目图片及历史重写关联。取消不修改题目,导入不会发起评分。界面沿用现有浅色卡片,版本更新至 1.3.1。

验证:33 项 Swift 测试通过,包含编码/文件读入及 SwiftData 导入回归;Universal Release 构建通过。隔离原生窗口验证粘贴、确认、取消与空内容禁用。文件选择器能导航和预览,但自动化未完成最终选择,仍需普通交互复核(见验证记录)。

Closes #4

@Functionhx
Functionhx merged commit 5cfba48 into main Sep 13, 2026
3 checks passed
@Functionhx
Functionhx deleted the feat/macos-text-question-import branch September 13, 2026 13:59
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.

macOS:支持粘贴与文本文件导入题目

1 participant