Skip to content

Add mobile (iOS / Android) port study - #7

Open
Martin-PB wants to merge 1 commit into
mainfrom
mp-mobile-port-study
Open

Martin-PB wants to merge 1 commit into
mainfrom
mp-mobile-port-study

Conversation

@Martin-PB

@Martin-PB Martin-PB commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Intent

Record in the repository the study of porting Cartocortex to mobile (iOS / Android), for a future implementation. Prior check done: nothing exists or is planned — no roadmap file, no mobile mention in the README (the "Not yet" section only covers XMind variants), and the open PRs at the time only dealt with import formats (#1–#6) or CONTRIBUTING (#2, not the agent's).

What was done

  • docs/mobile-port.md (new): the full study, status "specified, never executed".
    • Verdict: the port is not done in the code (v0.1.2, commit f296080); the architecture is favourable.
    • What helps: the mobile-ready Tauri 2 shell (#[cfg_attr(mobile, tauri::mobile_entry_point)] already in lib.rs), plugins all available on mobile, the browser fallback isTauri, Pointer Events already used (pan, marquee, floating drag), pure business logic in model.ts.
    • What is missing: no mobile target configured (no gen/ios|android, no mobile workflow, desktop-only capability), a keyboard-first UX, HTML5 drag-and-drop (re-parenting) unusable on touch, no pinch-zoom, and double-click/hover/fixed panel/1100×720/localStorage to revisit.
    • Proposed path: 4 PRs — build plumbing, touch interaction (Pointer Events drag on the model of startFloatDrag, pinch-zoom, long-press), mobile UI (touch toolbar, collapsible panel), storage (autosave outside localStorage).
  • README.md: one line in "Not yet" pointing at the study.

What the agent did

Study carried out by reading the repository's code (package.json, tauri.conf.json, Cargo.toml, capabilities/default.json, lib.rs, App.tsx, Shell.tsx, README, CI/release workflows). Doc pushed as a single commit 234ba4b (trailers: agent and human review), then re-read from GitHub: zero mojibake in both files (verified by code points: ⌘, …, —, ‹ intact), the README differs from main only by the added line. Doc only — no code changed.

Human checks

  • CI runs on this PR (typecheck/build/test and the desktop shell compile); npm test / npm run build should stay green, but the PR touches no code.
  • Diff review (~80 lines, pure doc).
  • The operator reviews and merges.

Agent: Vibe (Mistral, glm-5-latest-short)
Reviewed-by: Martin-PB

Records the evaluation of porting Cartocortex to iOS/Android: what already helps (Tauri 2 mobile-ready shell, pointer events, pure model), what is missing (touch drag, pinch zoom, mobile UI, build targets), and a suggested PR sequence. Study only — nothing implemented.

Agent: Vibe (Mistral, glm-5-latest-short)
Relu-par-humain: Martin-PB

This branch has not been deployed

No deployments
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