The back button
I clicked around my own shop yesterday and got stuck in my own app. Opened the shop on the site, clicked the Sentient deck's Free tile, landed in a tutorial match — fine, that's what it's for — and then pressed Back to get out. Got the app's home screen. Pressed Back again. Got the sign-in screen. Pressed Back a third time and finally got my shop back.
That's not a browser being weird, that's me. The app's router has a thing where it puts a front door and a hub underneath whatever page you load, so that someone opening a shared match link and pressing Back ends up on the home screen rather than straight back out of Dinn. Reasonable. The problem is it does that by rewriting the entry you just arrived on, so the page you came from gets shoved three steps down the stack. I measured it: one click, and the history goes from two entries to four.
It never showed up because the only way to notice is to arrive from somewhere and immediately want to leave, and I'd always been arriving from a bookmark.
So now it checks. Came from a page of playdinn.com's own? Leave the history alone — the page you came from is right there behind you, one press of Back. Came from a bookmark, a Discord link, nothing at all? Build the floor like before. There's a test file for it now, which there wasn't.
The other half was that the app has no door. Signed in, playdinn.com/shop is the app's shop — I
set that up deliberately in 2.58 — but I never gave anyone a way to go the other direction. There was
a ?site escape hatch that I'd written down in the docs and then linked from precisely nowhere. It
works on /shop now as well as /, the app's shop has a line at the bottom pointing at the public
one, and Settings has a playdinn.com link next to Privacy. And the site's own Shop link, in the bar
and in the footer, now keeps you on the site when you're signed in, instead of quietly handing you to
the app while you're still reading. If you want the app, there's a button that says Open Dinn.
Last thing, which I only found because I went looking at what I'd clicked. That Free tile on the Sentient card was a link to the tutorial, sitting in a row of radio buttons, dressed exactly like the radio button next to it. Click the thing that looks like "pick digital" and a game starts. It's a proper radio now, and choosing it changes the button underneath to Play free. The tile picks, the button does. Which is how the rest of the card already worked — I'd just left this one as a shortcut and forgotten it was a lie.
— Gabe