Loading, failure and empty states
How every screen in Seed Exact shows loading, failure with Retry, empty, no identity and pending, with the exact strings for each screen.

Every resource a screen shows can be loading, failed, empty or present, and several screens also depend on having an identity. The mobile app gives each of these a deliberate treatment so a screen is never a blank pane. This is the Honest state principle made concrete: "loading (a quiet placeholder, never a blank pane), a failure line with Retry, and an empty state that names the next step" (DESIGN.md).

The five treatments

State

Treatment

Contract

Loading

In content lists: an indeterminate spinner. In grouped lists: one secondary text row ending in an ellipsis

progress aria-label="Loading", or text "Loading agents…" color="-exact-secondary-label"

Failure

The message in footnote type with a "Retry" button on the same line

StatusLine, or AgentError (the same shape in -exact-system-red), or a text row plus a "Retry" row

Empty, whole screen

A centered symbol, title, message and one action

EmptyState from exact:content

Empty, inside a grouped list

A row with a headline and a secondary sentence, followed by the action rows

column gap=2 with -exact-headline and -exact-subheadline texts

Empty, inside content

One sentence in -exact-secondary-label

text "This page is empty."

DESIGN.md gives the rule for the two empty forms: "Empty states inside a grouped list are a row (headline + secondary sentence) followed by the action rows; a whole-screen empty state (nothing else on screen) is EmptyState."

Whole-screen empty state: symbol, "No identity selected", one sentence, and a bordered "Open Me" button.
Empty inside a grouped list: "No identity yet" as a headline row with a secondary sentence, then the two action rows that fix it.

Every screen

The treatment of each screen, with exact strings for loading, failure, empty and no identity, is on States for every screen.

Pending and disabled

A running request never blocks the screen. The control that started it is disabled and its label changes ("Checking…", "Importing…"); everything already on screen stays. A refresh keeps the old content and shows the pull to refresh spinner (refreshing=(loading and loaded)), see Refresh, haptics and progress. Unavailable actions are disabled, not hidden, when the person can fix the cause: "Mark all read" with nothing unread, "Save" with nothing changed.

A document that loaded while its discussion failed: the page stays readable and the section says "Couldn't reach the server." in a footnote. "Add a comment" remains.

Do and do not

    Do give a failure a way out on the same line: Retry, or pull to refresh.

    Do write an empty state as what is missing plus what to do next. See Voice and wording.

    Do keep content on screen during a refresh.

    Do not use EmptyState inside a grouped list that has other rows. Use the headline row.

    Do not show a spinner over content.

Where the app is uneven

These are observations from the code, not rules. Failure appears in three shapes: StatusLine (read, discuss), AgentError in red (agents), and plain text with a "Retry" button written on the spot (a separate row in activity and vault, the same line on Me). Read and discuss load with a spinner while the other tabs load with a text row. The discussion section and All comments show an error with no Retry button. Inferred: each package wrote its own state rows, and only read and discuss share StatusLine.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
Linked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkStates for every screen · Child document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLinked document · Outgoing linkLoading, failure and empty statesLoading, failure and empt…
Citations 0Children & links 36

Loading child documents…

Connections show where other documents or comments link to this document.

Related documents

Loading connections…