All of the guide

What the flows show

Each Maestro flow (Testing) is written once, in flows/, and runs in a browser and in both phone apps: the pages are the same HTML in all three, and only what the apps draw themselves differs. A flow takes a screenshot at the moment it checks, with a takeScreenshot step. These are those, from the test runs: the test server with empty data, in Chromium, on the "Hotwire Test" iPhone simulator and on the hotwire-test Android emulator. Each row is one step of one file, in three places.

They are not in git: they are files of the repository's docs-media release, which each publish replaces, and this page links them there. There are no videos: vp run record in the app makes one of a flow in each phone app (Getting started), and this page links none, as the iOS app's eleven alone take a quarter of an hour of its simulator at each publish.

They are this repository's, not the app's, so their tasks are at the repository's root (vite.config.ts there, with gh from its mise.toml):

vp run docs:publish   # on a Mac: every test of the example, then the upload
vp run docs:upload    # only the upload, of what the example's last runs left in example/.dev/
vp run check          # with the plugins' check: every file this page links is on the release (CI runs it)

An upload replaces the files of the same names, and deletes the release's files that are no longer made. A file on the release that no page links only warns: one release serves every branch.

A new flow or a changed screen: give the flow a takeScreenshot where it checks, link the screenshots here (<shot>-<platform>.png), and run vp run docs:publish.

The top-level pages

navigation.yaml: the navbar's links in a browser, which Turbo Drive follows, and the native tabs in the apps open the same pages under the same names (Pages, Hotwire Native).

Chromium iOS Android
The About page in Chromium The About tab on iOS The About tab on Android

The inline form

inline-form.yaml: the message appears in place, from the form's Turbo Stream answer, and the form empties (Forms). The "Message sent." notice that came with it is on the page in a browser, and a native toast in the apps.

Chromium iOS Android
A message added in place above the list, with its notice A message added in place on iOS A message added in place on Android

The form on its own page

new-message.yaml: a page that a link opens in a browser, and a modal that a native button opens in the apps, with a native Send. An empty message gets the server's 422 and its error. A message closes the form: a browser is redirected to the messages with the notice, the apps close the modal, reload the list and show the notice as a native toast. The footer shows the D1 bookmark the list was read at (Forms); the test runs' data center is Cloudflare's local placeholder, DFW.

Chromium iOS Android
The error under the form in Chromium The error in the modal on iOS The error in the modal on Android
The form with its text in Chromium The form in a modal on iOS The form in a modal on Android
The messages with the notice in Chromium Message sent, as a native toast on iOS Message sent, as a native toast on Android
The footer with the data center and the D1 bookmark The footer on iOS The footer on Android

Live updates

live-updates.yaml: a message from another browser reaches the open page, once (Live updates).

Chromium iOS Android
A broadcast message at the top of the list in Chromium A broadcast message on iOS A broadcast message on Android

The stats frame

stats-frame.yaml: the lazy frame loads when it comes into view (Frames).

Chromium iOS Android
The stats frame with its count in Chromium The stats frame on iOS The stats frame on Android

Searching the messages

search-messages.yaml: the search filters the list on the page, a message that arrived live included. A field above the list in a browser, a native search bar in the apps (Hotwire Native).

Chromium iOS Android
The messages filtered by the search field The messages filtered from the native search bar on iOS The messages filtered from the native search bar on Android

Signing in

otp-sign-in.yaml: a wrong code shows Better Auth's error, and the code from the email in Void's inbox signs in (Signing in). Signing out is a button in a browser; in the apps it is in a native menu, and asks first in a native alert.

Chromium iOS Android
The account page, signed in, with no passkeys yet The account tab, signed in, on iOS The account tab, signed in, on Android
A button on the page The sign-out alert on iOS The sign-out alert on Android

passkey.yaml, in a browser and in both apps: "Add passkey" makes a passkey, and after signing out "Sign in with Passkey" signs in with it, each time when the flow touches its device's reader: a fingerprint reader in the browser, the simulator's Face ID in the iOS app; the Android emulator's test keeper of passkeys asks for none (Signing in).

Chromium, a passkey added Chromium, signed in with it iOS, signed in with it Android, signed in with it
The account page with one passkey in its list The account page after signing in with the passkey The account tab of the iOS app after signing in with the passkey The account tab of the Android app after signing in with the passkey

passkey-sign-up.yaml, in a browser and in both apps: signed out, "Sign up with Passkey" makes an account for the address in the email field, with a passkey the device makes, and signs it in. The account says its address is not confirmed, until a code sent there confirms it (Signing in).

Chromium iOS Android
The account page after signing up with a passkey: not confirmed, with one passkey The account tab after signing up with a passkey, on iOS The account tab after signing up with a passkey, on Android

The same flow ends on "Delete this account", at the foot of the account page, which asks first, in the page (Signing in).

Chromium iOS Android
The account page asking before it deletes the account: Yes, delete my account, or Keep it The same question in the account tab, on iOS The same question in the account tab, on Android

The guide, on the site

guide.yaml: the About page links this guide, which the app shows in its own layout (Pages).

Chromium iOS Android
The guide's first page on the site, under the app's navbar The guide's first page as a screen on the About tab, on iOS The guide's first page as a screen on the About tab, on Android

About: the appearance, and sharing and rating in the apps

about.yaml: the About page's switch turns every page dark, from a cookie the server reads (Styling), and the apps' own bars with it. Only the apps have a share button, which opens the system's share sheet, and "Rate this app", which opens the App Store's prompt (on Android, only in an app from Google Play).

Chromium iOS Android
Not in a browser The share sheet on iOS The share sheet on Android
Not in a browser The review prompt on iOS Only from Google Play
The About page, dark, in Chromium The app dark on iOS The app dark on Android