Commit Graph
3 Commits
Author SHA1 Message Date
DarkSky 646d638354 fix(editor,hosts,web): resolve cold-start touch keyboard, link hit-testing, and collaborative unlink
- Track actual presented system keyboard inside MetalHostView.inputView, restore software keyboard on repeat prose taps after dismissal, honor iPadOS hardware Command shortcuts in Modifiers::secondary, and sync UITextInteraction mode synchronously across readonly/mode/form-factor transitions.

- Make mobile KeyboardToolbar visibility declarative on active selection so narrow-to-wide resize, selection clear, and Android cold start never leave a ghost bottom toolbar; deduct docked toolbar height in popover_viewport and forward iOS touches immediately when floating overlays are open.

- Re-validate LinkPopup against live document revisions and sub-ranges so concurrent partial title/text link edits survive Unlink, align full-width and adjacent-link hit-testing, update web-smoke link button geometry for the 11-item format toolbar, and harden preview-workers/sign-in redirect handling.
2026-11-29 07:35:58 +09:00
DarkSky 76d32341d9 feat(mobile,playground): wire cross-platform selection core, Android native handles/menus, and multi-MIME clipboard
- Add authoritative document-level touch selection geometry, endpoint anchors, UTF-16/preedit-aware table-cell queries, cross-block handle dragging, and multi-MIME Copy/Cut/Paste/Select All actions in PlaygroundView.
- Wire native Android teardrop selection handles, floating system ActionMode menu, and multi-MIME ClipboardManager integration (text/plain, text/html, text/markdown, application/x-blocksuite-snapshot) in AffineAndroidHost.
- Suppress GPU floating selection menus when native host selection UI is active while preserving scroll/edit dismissal invariants and single-arch arm64-v8a mobile CI checks.
2026-11-28 23:11:54 +09:00
DarkSky 4e66722b44 feat(mobile): mount native GPU BlockSuite editor in iOS and Android hosts
- Add orthogonal PointerKind, FormFactor, and EditorCapabilities matrix in blocksuite-editor, decoupling database_readonly from edgeless_readonly and enforcing page_readonly across command/toolbar paths
- Attach cross-platform CJK and emoji FontFallbacks to blocksuite-editor text runs so iOS CoreText and Android CosmicTextSystem render CJK and emoji glyphs cleanly
- Wire real WgpuRenderer and CosmicTextSystem into Android ANativeWindow via SwappableAtlas, deterministic ui::clock_now() dispatch_after timer draining, single-JNI UTF-16 reads, surrogate-pair composing alignment, requestCursorUpdates + Matrix CursorAnchorInfo, historical ACTION_MOVE samples, hardware keyboard/scroll forwarding, and zero shadow-buffer pollution
- Frame iOS MetalHostView and SelectionOverlayView inside safeAreaInsets, gate software keyboard responder on PlaygroundView::wants_software_keyboard and pan-slop tap detection, avoid double safe_bottom subtraction on KeyboardToolbar insets, prevent spurious UITextInputDelegate textWillChange/textDidChange echo during IME composition, yield hardware pressesBegan during marked text, and guard UIEditMenuInteraction with explicit actions
- Enable wgpu/cosmic-text for target_os = "android" in packages/ui/ui and add Linux fontconfig/freetype packages to np-mobile CI workflow
2026-11-28 06:11:09 +09:00