Skip to content

feat(dictionary): add JSON import/export#141

Open
endlessovo99 wants to merge 1 commit into
isecret:mainfrom
endlessovo99:feat/dictionary-json-import-export
Open

feat(dictionary): add JSON import/export#141
endlessovo99 wants to merge 1 commit into
isecret:mainfrom
endlessovo99:feat/dictionary-json-import-export

Conversation

@endlessovo99
Copy link
Copy Markdown
Contributor

Summary

  • add PersonalDictionaryStore import/export APIs for Typoless dictionary JSON files
  • add import/export actions to the personal dictionary settings view
  • document JSON dictionary import/export behavior and duplicate handling
  • add store and view model tests for import/export, invalid JSON, legacy enabled migration, and duplicate skipping

Verification

  • xcrun swiftc -typecheck -target arm64-apple-macosx14.0 app/Typoless/Persistence/PersonalDictionaryStore.swift app/Typoless/UI/Settings/PersonalDictionaryViewModel.swift
  • git diff --check

Full xcodebuild tests were not run locally because this environment only has Command Line Tools selected and no Xcode.app/xcodegen installed.

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.

1 participant