oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

1# Native Docs implementation and acceptance inventory
2
3Scope is the working web editor in `fixtures/`, not disabled menu placeholders.
4Both Apple targets use native TextKit controls and the same sandboxed Yjs-compatible
5CRDT engine. No web editor or HTML rendering engine is embedded.
6
7| Working web feature | Native implementation | Evidence / remaining acceptance |
8| --- | --- | --- |
9| List, title, search, create, shared marker, first-page thumbnail | JSON-backed SwiftUI workspace | Backend route tests; real iPhone/iPad create and reopen/export read |
10| Command-K jump to document | Native searchable sheet using server-ranked results, arrows/Enter/Escape | iPhone result-button navigation and iPad actual responder-command dispatch + software submit passed; physical keyboard/HID acceptance remains unverified |
11| Paragraph editing and multiple paragraphs | Generation-bound UTF-16 operations, native IME buffering | Actual WASM rapid-newline/typeahead, cross-paragraph replacement, emoji and AppKit marked-text tests |
12| Bold, italic, inline code, clear formatting | Native toolbar and keyboard commands | iPhone/iPad bold persisted through fresh server export; command tests |
13| Font family, size, headings, alignment, indentation | All sixteen families of `internal/fonts/fonts.json` bundled, Carlito the default; native paragraph attributes | DocsFontsTests, DocsFontPickerTests, WebKit line-break comparison per family; complete visual matrix still requires review |
14| Bullet/ordered lists, nesting, range conversion, quote toggles | Scoped CRDT structural operations | Rust structural tests and actual Swift/WASM range-list tests |
15| Typed heading/list/quote shortcuts and Backspace reversal | Native input-rule interception | Native AppKit and actual WASM rule/revert/typeahead tests; iPhone bullet rule, Backspace reversal and multiline typing passed with exact fresh server Markdown |
16| Rich paste and copy, pasted links/images/rules/code/H4–6 | Native clipboard schema/HTML parser, attributed projection and attachments | Clipboard schema tests, actual WASM paste then immediate typing; newest UIKit clipboard flow pending |
17| Own-edit undo/redo | Authoritative own-origin undo with native responder routing | Peer-update undo tests, command tests; newest standard Mac menu behavior pending interactive acceptance |
18| Live collaboration and reconnect | Bounded authenticated SSE and incremental Yjs updates | Native/browser wire fixture and generation/anchor/rollback tests; expanded simultaneous live UI session pending |
19| Pages/pageless, word count and shortcut help | Mac: TextKit 1 page geometry, breaks by block (S1b). iPhone and iPad (S3): TextKit 2, which lays out only what is on screen; breaks by paragraph (`DocsPhonePages`), a paragraph taller than a page's body running over the gap. SwiftUI tools | Real glyph geometry tests; `PhoneLargeDocumentTests` (200 pages: open, typing, a jump to the end against a whole layout); iPad screenshot review; counts exclude inline atoms |
20| Sharing and once-only public URL | The web's Share panel (`docs.share.panel.*`): a popover under Share… on the Mac, a sheet on iPhone; invite, remove, team and link switches that hold and revert, the once-only URL kept only in the panel's memory (S2b) | Real backend capability tests; `DocsSharePanelModelTests`; `SharePopoverTests` (real clicks and keys in a hosted window: focus, Share… while open, outside click with and without the URL, Esc); physical-device pass pending |
21| Delete… (owners) | File ▸ Delete… on the Mac, the toolbar on iPhone until S3's •••; the server's `{"ok":true}`, or a check of `/d/{sqid}` for anything else (an older server's 303, a 404); only a deleted answer drops the lane and replica (S2b) | Go matrix (`delete_native_test.go`, `TestTeamNativeDelete`); `DocsDeletionTests`; the window closing and File ▸ Recent forgetting it are not covered by a hosted test |
22| PDF/Markdown export, PDF print | Bounded streaming export to native destinations | Real iPad PDF and Markdown picker/cancel tests, staging cleanup; actual destination write/print dialog acceptance pending |
23| Unsaved draft and revoked access | In-memory pending queue, visible retry, epoch-bound lifecycle | Recovery and server revocation tests; close/discard UI final review pending |
24| Twelve locales and accessibility | Catalog-backed controls, labels and keyboard bindings | Exact key/placeholder parity; independent native-speaker and full VoiceOver navigation review not claimed |
25
26Latest completed Apple gate (2026-09-13): 19 Rust replica tests, five structural
27command tests, deletion convergence regressions, five interpreted-host tests,
2828 XCTest cases and 14 Swift Testing cases passed against the rebuilt Apple bridge.
29All three deletion backports passed the final native gate, including browser
30replay, per-delta peer state, delayed updates, and snapshot reload regressions. Mutation checks intentionally remove
31behavior and verify failures before restoring the source. See `REVIEW.md` for actual
32UI fixture evidence and `benchmarks/README.md` for measured Mac interpreter costs.
33
34Disabled web menu items (including comments/history, find/replace, and insertion
35menus which have no implemented handler) are not represented as delivered features.
36Independent production branch review approved at `c2e1a92`; final Mac, simulator
37and device builds for both apps passed (six targets). The manual acceptance
38limits above remain explicit; see `REVIEW.md` for exact runtime evidence.
39