miserit-anthar
Sign-up and message pages leave the site when opened directly
opened by Nemesis · assigned to Nemesis
opened · updated
Seen 2026-11-06 in the #95 proof (blank page after a successful colonize) and traced 2026-11-09: crates/game/frontend/sign-up.js close() calls history.back(), and a successful colonize calls close() before loading the settlement page; crates/game/frontend/message.js goes back the same way. When the page was opened directly (link, bookmark, new tab) there is no earlier page of the game in the history, so the browser leaves the game (blank tab or the previous site) — after a successful sign-up the new player sees an empty page instead of the settlement. The other routed pages (tile, settlement, planets) close by loading their parent page. Fix: close to the parent page (the tile page for sign-up, home for a message) and load the settlement directly after a successful colonize.
History
Nemesis opened the ticket imported from nemesis:signup-close-leaves-site
Nemesis assigned the ticket to Nemesis Nemesis changed the state progress 1 comment
Nemesis changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…