Skip to content

Download the title another app asks for on the iPad - #80

Merged
scooper4711 merged 2 commits into
mainfrom
fix/ipad-download-requests
Nov 16, 2026
Merged

scooper4711 merged 2 commits into
mainfrom
fix/ipad-download-requests

Conversation

@scooper4711

Copy link
Copy Markdown
Owner

On the iPad, when another Tableside Toolkit app asked for a title that is not on disk, Scrollkeeper only brought itself forward and ignored the request.

This change adds PadHandoffHandler, which handles open and download requests on the iPad. It checks the app key, shows the title, downloads it when needed, and shows an alert when it cannot. It sends nothing back to the requesting app. Other links, such as a bare scrollkeeper:// or an index request, still only bring the app forward. The spec in docs/specs/app-handoff is updated to match (2.9).

Tests: swiftlint --strict is clean and the coverage gate passes (97.3% lines, 94.3% regions). RequestLinkUITests passed 3/3 on the iPad simulator.

Not included: an unrelated local change to ios/Scrollkeeper.xcodeproj/.../Package.resolved, which is not committed.

When another app asks for a title that is not on the iPad, the app now downloads it instead of only showing the library. PadHandoffHandler handles the download link and LibraryWindow routes requests to it. RequestLinkUITests covers the flow in the simulator.
@scooper4711
scooper4711 merged commit 2a621d0 into main Nov 16, 2026
3 of 4 checks passed
@scooper4711
scooper4711 deleted the fix/ipad-download-requests branch November 16, 2026 11:38
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