As a reader, I want to see people, my own identities and spaces by name and face, so that I can tell who is who without reading a 48 character key.
Situation
Every Seed account is a long key that starts with "z6Mk". I read documents by several people and keep two identities on the phone.
What I do
Open a document and see who wrote and commented.
Open Activity and see who replied or mentioned me.
Open Me and look at my identities.
Open one identity to find its full account ID.
What I should see
A document's byline shows its authors' avatars and names. A name carried by two accounts is listed once.
Each comment shows its author's avatar and name, and a reply says "Replying to" followed by a name.
A notification is a sentence about a person, such as "Ana replied to you in", or "Someone" when the name is unknown.
On Me, my current identity shows its name large and under it the short form of its key followed by "· current", for example "z6Mk…vQ1P · current".
The name is my public profile name. If I have none it is the name I gave the key on this device, and only then the short key.
An identity with no name at all shows its short key as its title and "Current identity" under it. The key is not repeated.
A person with no picture gets a green disc with a white initial. The same name always gets the same green.
An author's profile shows a large avatar, the name, then the short key in grey.
The compose sheet says "Commenting as" followed by my name, and the directory sheet is titled with the space's name.
The full account ID appears in one place, Identity detail, in a section titled "Account ID" where I can select it, "Copy account ID" or "Share account ID…".
When something goes wrong
My profile name cannot be loaded: the app falls back to the key name or the short key, so a row is never blank.
Two people have the same name: the short key on the author's profile tells them apart.
Not included
The green disc follows the name, not the account: two accounts with the same name look alike, and renaming changes the colour. See Names, not identifiers.
The short key has two forms: six leading characters in Read and Discuss, four in Me and Vault.
I cannot set a profile picture from the phone. See Current limits and known gaps.
Trace
Story US-APP-06, status Shipped. These links are kept in step with the traceability matrix and with the "User stories" section of every page listed here.
Design
Page | Part it plays |
|---|---|
The principle, the fallback order, where the short id goes and where it falls short | |
Principle 5, Sentence case, no IDs, quoted | |
Picture or green disc with initial, sizes and the hue rule | |
The rule that computes an avatar's green from the name | |
Section parent: the inline parts that show people and identities | |
Current and other identity rows with name over short id | |
Avatar, name and short id on the author profile | |
The byline of avatars and joined names | |
The sentence about a person and their avatar | |
An agent shown by name with a disc | |
Several authors as overlapping avatars | |
Author name and Replying to on a comment | |
Names before identifiers | |
Identity, account ID, key name and space | |
Identity rows | |
The one place the full account ID is shown | |
Author profile header | |
Titled with the space's name |
Implementation
Page | Part it plays |
|---|---|
Avatar in ui.contract and the never-an-id-as-primary-label rule | |
meDisplayName and the identity rows | |
Profile names for my identities come from the server | |
Key names and the short id | |
Author names, author pages and the directory title | |
Byline and face piles | |
Row labels with the author's name or Someone | |
Comment author names and reply targets | |
vaultName uses the same fallback order | |
discussAccountName for Commenting as | |
The rule: never an account id as a primary label |
Code
File | What |
|---|---|
avatarHue and Avatar | |
meDisplayName and meIcon: profile name, key name, short id | |
current and other identity rows; Current identity when unnamed | |
copy and share the account ID | |
vaultName | |
authorNames: a repeated name listed once | |
the byline | |
discussAccountName | |
Replying to a name | |
avatar, label and title of a notification row | |
shortId |
Tests
File | What it checks |
|---|---|
"me: an unnamed identity shows its short id once, and its account ID copies and shares" | |
"document rows name their authors" | |
"an author chip opens the author's profile" | |
"a Card query renders a card grid with face piles" | |
author face piles and names | |
"empty inbox is successful and missing names get readable labels" | |
"a normal name starting with z6Mk is not mistaken for a principal" |
Delivery
Delivered by #1470.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime