macOS:导入文字题目并保留作答草稿 - #5
Merged
Merged
Conversation
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.
macOS 题目卡片新增「导入文字」:粘贴或编辑完整题目,选填名称,确认后回填并自动保存。可通过原生文件选择器读取 UTF-8 / UTF-16 的 .txt / .md 题目。
保留当前作答、手写稿和计时,移除旧题目图片及历史重写关联。取消不修改题目,导入不会发起评分。界面沿用现有浅色卡片,版本更新至 1.3.1。
验证:33 项 Swift 测试通过,包含编码/文件读入及 SwiftData 导入回归;Universal Release 构建通过。隔离原生窗口验证粘贴、确认、取消与空内容禁用。文件选择器能导航和预览,但自动化未完成最终选择,仍需普通交互复核(见验证记录)。
Closes #4