Skip to content

Journeys: try a mockup as if it were the app - #3

Merged
omartelo merged 4 commits into
mainfrom
journeys
Dec 3, 2026
Merged

omartelo merged 4 commits into
mainfrom
journeys

Conversation

@omartelo

@omartelo omartelo commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

A mockup can now be tried as if it were the app, to find where a journey fails. Present stays as it is: it shows screens.

A journey is a new item, beside screens, fragments and notes, written by the model over MCP or made in the window:

journey "Create account" from="Login" via="Register" to="Welcome"
  • Trying it runs the app alone in the window, live, with the path walked beside it. At the end it tells the clicks that did nothing and the screens no click opens. goto=back opens the screen the user came from.
  • On the board, each journey has a flag over its first screen, and the screens it goes through are marked. A click on the flag lights the way: screens numbered, what is clicked on each ringed, the rest dimmed.
  • In the sidebar, the route icon or J lists the journeys with their steps.
  • via and to are optional. The way shown is the shortest, through via when it names a screen.

Also fixed: the tooltips of the top bar opened above it, cut by the window's edge. They open below.

Worth knowing when reviewing

  • The store gets a journeys table, a new migration.
  • Gio tells no widget its place, so the ring finds a goto by laying the screen out once more and reading Gio's semantic tree (Session.gotoAreas).
  • A design system whose buttons use a click type of their own does not get its dead buttons told. Both limits are in docs/ceilings.md.
  • The test window's frame now holds the app's lock, as the real window does: without it the race detector caught the test, not the app.

Checked: gofmt, go vet, go test -race ./..., and the window rendered headless in both themes. The way through a via has tests but was not rendered.

A journey names where it starts and the screen it is meant to get to. Trying it
runs the app alone in the window, lists the path walked, and tells at the end
the clicks that did nothing and the screens no click opens. goto=back opens the
screen the user came from.
They opened above, where the window's edge cut them.
A journey could only be found in a menu, with nothing on the board telling
which screens and clicks it was made of. Each has a flag over its first screen
and marks the ones it goes through; lit, its way is numbered, with a ring around
what is clicked on each screen. The route icon lists them in the sidebar, in the
menu's place.
The board shows the shortest way, which may skip the point: signing in is
shorter than creating the account. via takes it through a screen, and trying it
does not end before that one.
@omartelo
omartelo merged commit f858fda into main Dec 3, 2026
3 checks passed
@omartelo
omartelo deleted the journeys branch December 3, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant