iOS app: confirm() in the page always answers Cancel #453
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WebViewController is the web view's WKUIDelegate but does not implement
webView(_:runJavaScriptConfirmPanelWithMessage:...)(nor the alert and prompt panels), so everyconfirm()in the page returns false at once in the app, with nothing shown: whatever asks first (sharing a Patreon address, and the page's other 9 confirm() calls in web/src) cannot go ahead there. Found looking into Share in the app.Fix in
614f270on main: WebViewController implements webView(_:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:completionHandler:), an alert with Cancel and OK (Cancel at once if another alert is already up). alert() and prompt() are not used by the page, so they are left out. Not compiled here (no Xcode): left open until it is built and tried on the phone, e.g. Delete from iPX under a file's ⋯ menu.Seen again 2026-11-14 ~21:00 UTC: deleting from the iOS app did nothing. No DELETE reached ipx-web or ipx from any client in the last 48 h (Tempo), so the page stopped before the request: the episode's Delete asks with confirm() (web/src/items.ts:644), which an app built before
614f270answers Cancel without showing anything. Unsubscribe uses the page's own dialog and does not depend on this. Stays open until the app is built with614f270and tried on the phone.Confirmed working by the owner on 2026-11-17: Delete from iPX on a downloaded episode works in the page (
eda77e8) and the app (614f270, TestFlight build 15).