2.1 KiB
2.1 KiB
No app Back overrides
User request (2026-10-24): "I don't want any overrides in the back button anymore."
Removed
- Router root double-back ("Press back again to close",
AndroidRootExit, deleted) and its rootPopScope, including the wide-chat variant from7bb95d46. - Router step-up: a stage to its run/pipeline and an inline run/pipeline to its
list (
_stepUp,onPopToRuns,onPopToChat). - Router-side closing of Search/Templates/Schedules: they are Navigator pages,
so the stock pop closes them through
onDidRemovePage. - The standalone Templates screen's step-back
PopScope(the app mounts it embedded, so it never ran in the app).
AppRouterDelegate.popRoute is now only Navigator.maybePop(): it pops the top
page or dialog, otherwise Back belongs to the platform (one press leaves).
Consequences
- A wide-window run or pipeline open inside its tab is not a page, so system Back leaves the app; the on-screen Back in the bar still returns to the list. Same for a wide chat beside its list.
- Kept:
PopScope(canPop: !_sending)on dialogs and the server editor, which block dismissal only while a request is in flight.
Evidence
Router, navigation, wide-run, chat, search and templates tests rewritten to assert
stock Back; flutter analyze clean; full suite passes. No device verification.
APK 29880932
./install --apkbuilt 0.1.29880932 (65,480,466 bytes, ZIP clean) fromc6342ac6, including the wide chat list/detail and the permissions chip. SHA2566d4eab81338815542ec61c824b34031573bf633c77cda234ad1660ff7383ee42.- The installer only writes
~/.local/share/pipelines/lib/app-updates; the public 8443/8096 feeds are served fromapp/build/updates(andapp/build/web/updatesis kept in step), so both were replaced atomically with mode 644. - Authenticated
version.jsonand full APK downloads verified on HTTPS 8443 and 8096 with matching SHA256. Rollback:build/updates-before-wide-chat-29880932/,build/web/updates-before-wide-chat-29880932/, andbuild/updates-before-wide-chat-1792855278/(installer feed). No service restart, no device installation.