The Me tab is where a person manages who they are in Seed: the identities (keys) held on this phone, the public profile of each, which server the app reads from, and whether the keys sync through a remote vault. DESIGN.md calls this the third job of the app, done "now and then", which is why it is the last tab and why every screen in it is a plain system settings list.
The screens
Screen | Route | Presentation | What the person does |
|---|---|---|---|
| tab root, large title | Sees the identities, switches or removes one, reaches everything else | |
| pushed | Copies the account ID, renames the key, exports a key file, removes the identity | |
| sheet | Gets a new 12 word recovery phrase and confirms it is written down | |
| sheet | Pastes a recovery phrase or a key file | |
| pushed | Chooses the server the app reads from and publishes to | |
| sheet | Sets the public display name and summary | |
| pushed | Sees where keys are stored, connects a remote vault, syncs, locks | |
| sheet | Waits while the device is approved in the browser |
Three packages own these screens: me.contract (the first five), profile.contract (Edit profile) and vault.contract (the last two).
How they connect
flowchart TD
me["Me"] --> identity["Identity detail"]
me --> server["Server"]
me --> vault["Vault"]
me -. sheet .-> create["Create identity"]
me -. sheet .-> imp["Import identity"]
me -. sheet .-> agentserver["Agent server sheet"]
identity -. sheet .-> profile["Edit profile"]
profile --> server
profile -. sheet .-> imp
vault --> identity
vault -. sheet .-> create
vault -. sheet .-> imp
vault -. sheet .-> connect["Connect vault"]Solid arrows are pushes, dotted arrows are sheets. The Agent server sheet belongs to the Agents tab and is linked from Me's Connections section. Other tabs send people here too: the Activity inbox and the Agents list have an "Open Me" button when no identity is selected, and the Compose comment sheet and the Thread composer open the Create identity sheet directly. See Moving between tabs and into the app.
What the screens share
One layout. Every screen is a list with listStyle="inset-grouped": rounded white cards on the grouped background, section headers above, footers below. See Lists and Forms and inputs.
Names before identifiers. An identity is labelled by its profile name, then its key name, and only then its short id (z6Mk…AvCG). The full account ID appears in one place, on Identity detail. See Names, not identifiers.
Status in the footer. Validation and errors are written into the section footer, which turns -exact-system-red for an error and returns to the grey hint otherwise. See Honest state and Loading, failure and empty states.
Alerts before anything irreversible. Removing an identity, revealing a private key and logging out of a vault each ask first, with a system alert. See Buttons and actions.
No custom chrome. The teal tint is the only brand colour on these screens. Everything else is what iOS draws for a settings list. See Leave it unsaid.
The inline parts that recur across these screens have their own pages: Identity rows, Recovery phrase grid, Server rows, Vault status panel and Vault connect panel. The one named component that belongs to this tab is ProfileForm.
Where the built tab differs from DESIGN.md
DESIGN.md lists sections "Identities, Server, Vault, Agents servers, About". The built Me screen has three: "Identities", "Connections" (Server, Agent server, Vault) and "About".
DESIGN.md has no profile editing route. profile-edit was added by the profile package.
DESIGN.md describes Create as "name, optional icon". The built sheet has a name and no icon.
User stories
The pages in this section deliver these stories (traceability).
Related
Parent: Screens. Neighbours: Read tab screens, Activity tab screens, Agents tab screens.
How it is built: Me: screens and components, Profile: editing name and summary, Vault: screens and tasks, Identity: key storage.
Source: me.contract, profile.contract, vault.contract.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime