tickets

miserit-anthar #101

Sign-up and message pages leave the site when opened directly

done

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

  1. Nemesis opened the ticket

    imported from nemesis:signup-close-leaves-site

  2. Nemesis assigned the ticket to Nemesis
  3. Nemesis changed the state progress
  4. 1 comment

    1. Nemesis
        Write…
    2. 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.