Skip to content

Refactor(android): consume the shared editor through public packages - #66

Draft
adibhanna wants to merge 1 commit into
mainfrom
refactor/ecosystem-boundaries-pr
Draft

adibhanna wants to merge 1 commit into
mainfrom
refactor/ecosystem-boundaries-pr

Conversation

@adibhanna

@adibhanna adibhanna commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace the cloned desktop source and private renderer/store imports with immutable core, bridge-contract, and shared-domain packages. Android now owns its native storage, Cloud transport, gestures, and keyboard behavior while using public APIs for editor and workspace actions.

  • Coordinate native vault rename/move with save draining, workspace identity, reopen, and rollback.
  • Reject stale attachment and gesture contexts after a workspace transition.
  • Preserve SAF error distinctions for missing files, directories, revoked access, and provider failures.
  • Add package-boundary checks and disposable native runtime/provider fixtures.

The vendored package set includes the v2.50.4 fixes. The Android application version is unchanged.

Validation

  • Clean package installation without a desktop source checkout; boundary check, typecheck, 138 tests, and production/fixture builds.
  • Android native unit tests, lint, debug build, and four instrumentation tests.
  • Disposable emulator: 20 runtime checks and three cold-start checks, including exact Unicode/trailing-space persistence, attachments, task scanning, rename, comments, Trash/Restore, and whole-vault relocation.

Draft dependencies

Depends on the main ZenNotes public-package migration. The exact vendored archives are review candidates with dirty-source provenance; replace them with reviewed clean artifacts before release. Real account-backed Cloud acceptance remains a staging gate. No application release or deployment is included.

Related boundary PRs

Replace the cloned desktop source and private renderer/store imports with immutable core, bridge-contract, and shared-domain packages. Android now owns its native storage, Cloud transport, gestures, and keyboard behavior while using public APIs for editor and workspace actions.

- Coordinate native vault rename/move with save draining, workspace identity, reopen, and rollback.
- Reject stale attachment and gesture contexts after a workspace transition.
- Preserve SAF error distinctions for missing files, directories, revoked access, and provider failures.
- Add package-boundary checks and disposable native runtime/provider fixtures.

The vendored package set includes the v2.50.4 fixes. The Android application version is unchanged.
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