Back in the installed app goes back through the app, not every folder #99

Merged
jcoffey-dev merged 1 commits from fix/96-back-button-history into main 2026-11-16 16:26:38 +00:00
Owner

In the installed app, Back walked through the sign-in form and every folder or section visited, and from the inbox it didn't leave the app (forum t/232).

The OAuth start and the catch-all <Redirect to="/mail"> now replace the page. In the installed app (display-mode: standalone), folder links, go-to-folder, the tab bar and the rail replace the current page too, except when leaving the inbox (lib/backStack.ts), so the history stays inbox → folder → message and Back from the inbox closes the app. A browser tab keeps every page as before. One leftover: tapping Mail from another folder leaves the inbox in the history twice, so Back from there takes two presses.

The server's sign-in page is inbuxa/inbuxa-server#404; the console is inbuxa/inbuxa-admin#222.

Fixes #96

In the installed app, Back walked through the sign-in form and every folder or section visited, and from the inbox it didn't leave the app (forum t/232). The OAuth start and the catch-all `<Redirect to="/mail">` now replace the page. In the installed app (`display-mode: standalone`), folder links, go-to-folder, the tab bar and the rail replace the current page too, except when leaving the inbox (`lib/backStack.ts`), so the history stays inbox → folder → message and Back from the inbox closes the app. A browser tab keeps every page as before. One leftover: tapping Mail from another folder leaves the inbox in the history twice, so Back from there takes two presses. The server's sign-in page is inbuxa/inbuxa-server#404; the console is inbuxa/inbuxa-admin#222. Fixes #96
jcoffey-dev added 1 commit 2026-11-16 16:03:09 +00:00
Back in the installed app goes back through the app, not every folder
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m6s
ci / announce (pull_request) Skipped
d0240d11bf
In the installed app, Back walked through the sign-in form and every
folder or section visited, and never left the app from the inbox.

Sign-in now replaces the page, as do the catch-all redirects to /mail.
In the installed app, moving between folders and sections replaces
the current page too, except when leaving the inbox, so the history
stays inbox, folder, message, and Back from the inbox closes the app.
A browser tab keeps every page as before.

Fixes #96
jcoffey-dev merged commit a2fbcffec3 into main 2026-11-16 16:26:38 +00:00
jcoffey-dev deleted branch fix/96-back-button-history 2026-11-16 16:26:38 +00:00
Sign in to join this conversation.