This is the inventory behind the Loading, failure and empty states pattern: what each screen of the mobile app shows while loading, after a failure and when empty, in the exact words of the Contract files, followed by the no-identity treatment.
Every screen
Screen | Loading | Failure | Empty |
|---|---|---|---|
Spinner, "Loading" | StatusLine with the load error, then "Check your connection, then try again." | "This page is empty." | |
Discussion under a document (DiscussSection) | Spinner, "Loading comments" | The error as a footnote, no Retry (pull to refresh) | "No comments yet. Start the conversation." |
"Opening…" on the button | Red text under the field | Not applicable | |
Spinner in a section | StatusLine in a section | "Nothing matches “{query}”." | |
Spinner in a section | StatusLine inside the header section | The "Documents" section is left out | |
Spinner | StatusLine | "No replies yet." | |
Spinner, "Loading comments" | The error as secondary text, no Retry (pull to refresh) | "No comments yet." | |
"Posting…" | Red footnote above the field | Not applicable | |
"Loading activity…" | Error row plus a "Retry" row; save errors in red | EmptyState "Nothing yet", "Replies and mentions for your identities show up here.", button "Refresh" | |
"Loading email settings…" | Error row plus "Retry"; save errors in red at the end | Status line "No email configured" | |
"Loading agents…", and "Connecting…" under the server | AgentError | Row "No agents yet", "Configure a model provider, then create an agent to start a conversation.", then "Create an agent" | |
"Loading agent…" | AgentError | "No conversations yet. Start one to talk to this agent." | |
"Loading conversation…" | AgentError at the end of the transcript; a failed turn offers "Retry reply" | EmptyState "New chat", "Say something to start this conversation." | |
None | Red text in a section | "No providers configured yet." | |
Nothing extra: the action rows show at once | "Couldn’t read the identities on this device." with "Retry" | Row "No identity yet", "Create one to comment and talk to agents, or import one you already have." | |
None | Not applicable | "This identity is no longer on this device." | |
"Generating…", then "Creating…" | Red footer under the switch | Not applicable | |
"Loading profile…", then "Saving…" | The error, then "Retry" (or "Import identity" when the key is missing) and "Change server" | Not applicable | |
"Opening your vault…", "Syncing…" | Red text ("Couldn’t open the vault." when no detail) plus "Retry" | Row "No identities yet", "Create an identity, import a key, or connect your remote vault." | |
"Approve this device" with a countdown | "Connection stopped" with "Try again" | Not applicable |
No identity
Reading needs no identity. Everything else says so and offers one step forward:
Where | What is shown | Action |
|---|---|---|
Activity inbox | EmptyState "No identity selected", "Choose or create an identity in Me to see its replies and mentions." | "Open Me" (bordered) |
Email settings | "Choose an identity to set up email notifications." | "Open Me" row |
Agents list | Row "Choose an identity", "Agent servers accept signed requests. Choose or create an identity in Me to start a conversation." The "New agent" and "Model providers" controls are disabled | "Open Me" row |
Thread | "Create an identity to reply." in place of the reply field | "Create" (bordered) |
Compose sheet | "Create an identity to reply.", "Comments are signed with an identity kept on this device." | "Create an identity" (filled) |
See Composers for the last two.
User stories
This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).
US-READ-01 Open the app to my site's home: The exact loading and failure strings of the document screen
US-READ-07 Browse and search a space's documents: Loading, failure and no-match strings of the directory
US-READ-09 See who wrote a document and visit their profile: The profile's loading and failure strings
US-READ-10 Refresh a page and recover from a failed load: The exact strings of the document, directory and author states
US-DISC-01 See the discussion on a document: The state table for the document discussion and All comments
US-DISC-02 Read a thread: The thread row of the state table
US-DISC-05 Be guided to create an identity before commenting: The no-identity rows for thread and compose
US-ACT-01 See replies and mentions for my identity: The inbox rows of the state table
US-ACT-04 Get notifications by email: The email settings rows of the state table
US-AGENT-01 See my agents: The states of the Agents list, one by one
US-AGENT-05 Chat with an agent: Loading, empty, sending and failed states of the session
US-AGENT-07 Steer a run: Agent working, waiting on me and reply failed states
US-AGENT-08 Return to earlier conversations: Loading, failure, none yet and more available
US-ID-01 Create an identity: Generating, confirmed, creating and refused states
US-ID-02 Import an identity I already have: Every status line of the import sheet
US-ID-03 Switch between my identities: States of Me and Identity detail
US-ID-04 See and share my account ID, and name my key on this device: Missing identity, no key name and rename refused states
US-ID-05 Back up my key: Exporting and key revealed states
US-ID-06 Remove an identity from this device: The No identity yet state after the last removal
US-ID-07 Edit my public profile: Loading, key missing, load failed, saving, save failed, saved
US-ID-08 Choose which Seed server I read from: Checking, bad address, not a Seed site, unreachable, connected
US-VAULT-01 Connect my vault to bring my identities to this phone: Every state of Vault and Connect vault
US-VAULT-02 Keep my identities in sync across devices: The connected state of Vault
US-VAULT-03 Lock my vault, switch to local, or log out: Opening, failure, locked, local and connected states of Vault
US-VAULT-04 Trust that my keys stay safe: Failure states of Me and Vault
US-APP-05 Always know what is happening: Loading, failure, empty and no identity strings for every screen
US-TEAM-06 Review a change with evidence I can check: The states a reviewer looks for on each screen
Related
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime