The vault connect panel is the single card on the Connect vault sheet. It guides a person through approving this phone in the vault's browser page: it names the step, offers the link, shows how long the link is good for, and reports warnings, failure and success in the same place.
Kind: inline part. It is not a named component in code. It is the one section written inside VaultConnectScreen: vault.contract L191-L213. The countdown text comes from vaultCountdown.
Used by
Screen | How |
|---|---|
The whole content under the sheet's bar |
There is no capture of this panel in the screenshot set. The Vault page shows the screen it sits above.
Anatomy
Top to bottom, as rows of one grouped list card:
Part | Contract | Detail |
|---|---|---|
Status block |
| The status title in |
Browser action |
| "Open in browser", a plain tinted button row. Pending only |
Link block |
| "Link expires in 4:32" in |
Warning |
| A polling warning. Pending only, and only when there is one |
Failure |
| The reason the connection stopped |
Retry |
| "Try again". Only when stopped. Disabled while a vault operation runs |
The status title is the largest type on any Me tab screen below a navigation bar. It is the one -exact-title2 in the me, profile and vault contracts. See Typography.
States
Connection | Status title | Sentence | Rows shown |
|---|---|---|---|
pending | "Approve this device" | "Open your vault in the browser and approve the connection, then return here." | Browser action, link block, warning if any |
disconnected | "Connection stopped" | the same sentence | Failure reason if any, "Try again" |
connected | "Connected" | "Your identities are ready. Returning to your vault…" | none |
The strings a person may see in red:
Kind | Example |
|---|---|
Warning: server not answering after three checks | "Cannot reach the vault server (3 failed checks: …). If using a browser, the vault server must allow cross-origin requests." |
Warning: interrupted while completing | "Connection interrupted (attempt 2: …). Retrying with your browser approval…" |
Failure: the link ran out | "connection token expired" |
The countdown
Rules for use
The title names the state in two or three words. The sentence under it says what to do next.
Keep the action for the current state directly under the status block: "Open in browser" while pending, "Try again" when stopped. Never show both.
A warning adds a red line and leaves the title alone. A failure changes the title.
Show a deadline as time remaining, in words and digits.
Keep the raw link visible and selectable. It is the fallback when the browser hand off fails, and it lets the person approve from another device.
Why it looks this way
A ceremony needs a headline. This is a waiting screen with nothing to read but its state, so the state is set large. Everything else in the Me tab is list rows at body size. Inferred from the unique use of -exact-title2 here.
Honest waiting. The panel never shows a bare spinner. It shows the step, the clock and any trouble with the server, in words. See Honest state and Loading, failure and empty states.
Same card, same slots. Pending, stopped and connected reuse one layout, so the person's eye stays in place as the state changes. See Cards and panels.
Platform rows only. The panel is a section of an inset grouped list with text and button rows, like its sibling, the Vault status panel. See Leave it unsaid.
Where it falls short. The red strings come straight from the connection code. They are lower case or technical ("connection token expired", "cross-origin requests") and do not match the app's voice. The first warning mentions "If using a browser", advice written for the web build that also shows on the phone.
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-VAULT-01 Connect my vault to bring my identities to this phone: The connect panel: title, countdown, link, warnings
US-VAULT-03 Lock my vault, switch to local, or log out: The connect form that returns after leaving
US-VAULT-04 Trust that my keys stay safe: Warnings that do not end the wait
Related
Parent: Inline parts. Siblings: Vault status panel, Email status panel (another wait for an action taken outside the app).
Screens: Connect vault sheet, Vault.
Patterns: Buttons and actions, Refresh, haptics and progress. Visual language: Color and tokens.
How it is built: Vault: connect ceremony, Vault: screens and tasks.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime