Skip to content

Add URL context menus on iOS - #98

Open
pardeike wants to merge 2 commits into
gonzalezreal:mainfrom
pardeike:url-context-menu
Open

pardeike wants to merge 2 commits into
gonzalezreal:mainfrom
pardeike:url-context-menu

Conversation

@pardeike

@pardeike pardeike commented Nov 1, 2026

Copy link
Copy Markdown

Add an opt-in native menu for long presses on links and embedded images. A file browser can use it to offer Quick Look while keeping the reader in place.

The app supplies a menu for a URL, or returns nil to keep text selection. Image menus receive the image URL. Ordinary taps keep their original link destination.

Validation: 57 focused iOS tests and a consuming app's image, PDF and table-link UI flow pass. The demo builds and launches. The full iOS run has one existing bidi-layout snapshot mismatch on Xcode 27.1, reproduced unchanged on 0.5.0.

pardeike and others added 2 commits November 1, 2026 10:11
Let apps offer actions on file links and embedded images while preserving ordinary taps and text selection.

Co-Authored-By: Codex <noreply@openai.com>
Capture a visible region from the rendered content for highlight and dismissal. Keep one snapshot per menu and refuse detached animation targets.

Co-Authored-By: Codex <noreply@openai.com>
@pardeike

pardeike commented Dec 1, 2026

Copy link
Copy Markdown
Author

Could you approve CI run #164 for the current commit when you get a chance? The earlier run timed out before any checks started and will soon expire.

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