Skip to content

Make deliberate trips to Home land on the home surface - #130

Merged
badcuban merged 2 commits into
mainfrom
feat/home-stays-home
Aug 10, 2026
Merged

Make deliberate trips to Home land on the home surface#130
badcuban merged 2 commits into
mainfrom
feat/home-stays-home

Conversation

@badcuban

@badcuban badcuban commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Approved UX change: launch still lands you in your work (restore or default draft, unchanged), but 'Go to Home' and settings-back now show the pick-up-a-thread canvas - recent threads, New thread button, Search - instead of teleporting into a fresh draft. The launch-vs-deliberate distinction reuses the once-per-load restore seam from #128. Full web unit (2101) and browser (390) suites green.

The index route redirected into a default-project draft on every visit,
which made "Go to Home" and the settings back button teleport the user
into a fresh composer they didn't ask for (and quietly mint drafts as a
side effect). The redirect is launch behaviour, not a rule about the
route: the launch visit still restores the last thread or opens the
default draft exactly as before, and every visit after that renders the
pick-up-a-thread canvas that until now was only reachable with zero
projects.
@vercel

vercel Bot commented Aug 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadlines Skipped Skipped Aug 10, 2026 4:48am

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 8, 2026
The launch-vs-deliberate flag was only consumed inside the index route's
own redirect, but the launch does not necessarily pass through `/` at
all - the bootstrap welcome payload and a desktop deep link land
directly on a thread route. In those boots a later "Go to Home" was
mistaken for the launch visit and either bounced straight back to the
thread or stranded a blank canvas. Being on any thread or draft now
marks the launch moment consumed (via the route recorder, which already
watches exactly that), and the flag lives in its own module so both
routes can reach it.

Verified end to end in the dev harness: launch lands in the draft,
reload restores it, Go to Home shows the pick-up-a-thread canvas and
stays, New thread from Home reuses the empty draft, Home is repeatable.
@badcuban
badcuban merged commit 720183e into main Aug 10, 2026
17 of 18 checks passed
@badcuban
badcuban deleted the feat/home-stays-home branch August 10, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant