iOS app has no tests and its editor duplicates the Mac's #205

open cmc opened this on 2026-11-22 07:11 UTC · feature · milestone Backlog

Discussion

cmc 2026-11-22 07:11 UTC

Severity: Medium.

OrgstarMobile is 10,278 lines with no test target; the editor part (MobileEditor*.swift, MobileFragments.swift) shares 236 identical lines with OrgEditorAppKit, e.g. 50 of 101 in MobileEditor+Modal.swift and 19 of 26 in MobileEditor+Latex.swift, and has already diverged (no chunked styling; no isOrg guard at MobileEditor+Latex.swift:25). FocusFilter.swift and CaptureIntent.swift exist once per app. Move the styling driver and modal-key glue into shared modules covered by the Mac's tests, and merge the duplicated files.

From the performance review, docs/review-2026-11-21.md (#96).

Platforms: iOS, macOS.