dialog
The system alert: the five confirmations and one prompt the app asks before something that cannot be undone or that reveals a secret.

dialog is a question the app puts over the screen and that must be answered before anything else. Seed Exact writes five, all with role="alertdialog", so iOS draws each as its own system alert: a title, a message, and two actions. They guard the few steps that destroy or expose something: removing an identity, revealing a private key, logging a device out of a vault. One is a prompt with a text field, for renaming a key.

What iOS draws

For dialog role="alertdialog", a UIAlertController alert. The aria-label is the alert's title, the text is its message, each button is an action, and an input among them is the alert's text field. The app writes no layout or style: the centred card, the dimmed background and the button arrangement are the platform's. An alert has no outside: a tap beside it does nothing.

None of the screenshots in the set captures an open alert, so this page describes them from the code.

The five dialogs

id

Title (aria-label)

Message

Actions

Opened from

Source

me-remove

"Remove this identity?"

"Its key is deleted from this device. Without its recovery phrase or a key file, it can’t be recovered."

"Remove" (destructive), "Cancel"

Swiping an identity row on Me

me.contract L125-L130

me-remove-detail

"Remove this identity?"

the same

"Remove" (destructive), "Cancel"

"Remove from this device" on Identity detail

me.contract L228-L233

me-rename

"Rename key"

"Letters, numbers, dashes and underscores."

a field with placeholder "Name", then "Save", "Cancel"

The "Key name" row on Identity detail

me.contract L215-L221

me-export

"Reveal the private key?"

"The export is your unencrypted private key. Keep it somewhere safe and never share it with anyone you don’t trust."

"Reveal", "Cancel"

"Export key file" on Identity detail

me.contract L222-L227

vault-logout-confirmation

"Log out and clear this device?"

"Your identities remain in your remote vault and on your other devices."

"Cancel", "Log out" (red text)

"Log out and clear this device" on Vault

vault.contract L152-L162

The same removal question exists twice because a dialog belongs to the screen that shows it: one copy on Me, one on Identity detail. The root action picks the one for the visible screen (app.contract L605-L610).

Attributes in this app

Element

Attribute

Uses

Meaning

dialog

id

5

The name an action opens it by, with showModal(id)

dialog

role="alertdialog"

5

Makes it the system alert

dialog

aria-label

5

The title, always phrased as the question or the task

button inside

commandfor, command="close"

10

Every action closes the alert

button inside

press

5

The confirming action. The five Cancel buttons have none

button inside

destructive=true

2

The two "Remove" actions

All five are opened from an action with showModal, never directly by a button, because each needs to record first which identity or which screen is meant.

Rules for use

    Ask only before what cannot be undone or what exposes a secret. Routine and recoverable steps ask nothing: switching identity, forgetting a saved server by swipe, cancelling a compose sheet.

    The title is the question. The message says the consequence in plain words, including what survives ("Your identities remain in your remote vault…").

    Two actions: the confirming verb ("Remove", "Reveal", "Log out", "Save") and "Cancel". Never "OK" or "Yes" (Voice and wording).

    Mark the confirming action destructive when it deletes. The vault dialog colours its text red instead of using destructive, and puts Cancel first; treat the Me dialogs as the model.

    Anything with more than a single field is a sheet, not a dialog (Stacks, pushes and sheets).

    A failure is never an alert in this app. Errors appear inline, next to what failed (Loading, failure and empty states).

Used by

Screen

Dialogs

Me (MeScreen)

1

Identity detail (MeIdentityScreen)

3

Vault (VaultScreen)

1

No screen in the Read, Activity or Agents tabs uses a dialog. Cancelling a running agent is a destructive button with no confirmation.

Why

DESIGN.md specifies "swipe = remove after alert" for identities. Removing a key is the one loss the app cannot repair, so it interrupts; everything else stays inline so reading and chatting are never blocked. Using the system alert means the question looks like every other serious question on the phone, which is the point (Leave it unsaid, Honest state). Inferred: the swipe on Me opens the alert instead of deleting at once, against Exact's default for swipes, because here the deletion is not recoverable.

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 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 linkdialogdialog
Citations 0Children & links 27

Loading child documents…

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

Related documents

Loading connections…