Vault connect panel
The inline panel of the Connect vault sheet: a status title, the instruction, Open in browser, the expiry countdown and link, warnings and Try again.

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

Connect vault sheet

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

column gap=8

The status title in -exact-title2, then one sentence in -exact-secondary-label

Browser action

button

"Open in browser", a plain tinted button row. Pending only

Link block

column gap=8

"Link expires in 4:32" in -exact-footnote, secondary colour, then the approval link in -exact-footnote, label colour, selectable, wrapping at word breaks. Pending only

Warning

text in -exact-system-red

A polling warning. Pending only, and only when there is one

Failure

text in -exact-system-red

The reason the connection stopped

Retry

button

"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

"Link expires in 4:32" is minutes, a colon, and two digit seconds. It counts down once a second and stops at "0:00". It uses text, not a progress bar: the exact time left is the information.

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).

Related

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

Unsubscribe anytime

Attributes
name
Vault connect panel
summary
The inline panel of the Connect vault sheet: a status title, the instruction, Open in browser, the expiry countdown and link, warnings and Try again.