A thread is one conversation about a document. The person reads the root comment and its replies in order, and can answer the thread or any single reply without leaving the screen. The screen component is DiscussThreadScreen (discuss.contract L186-L240).
At a glance
Tab | Read |
Route |
|
Presentation | pushed |
Title | inline, "Thread" |
How you get here | a thread row under a document or in All comments; posting from the Compose sheet; a row of the Activity inbox; a deep link |
Where it leads | the document the thread is on; the Create identity sheet when there is no identity |
Anatomy
Navigation bar. Back and the title "Thread".
Document line. A 44 point tall link with symbol:document and the document's title in footnote grey. It tells the person what is being discussed and takes them there.
Root comment. A DiscussBubble with big set, so its text is -exact-body. Under it, a footnote count: "No replies yet.", "1 reply" or "N replies".
Replies. One DiscussBubble each, in -exact-callout. Replies read oldest first, each directly under the comment it answers. A reply to a reply is indented 16 points per level past the first (up to 48 points; deeper replies stay there) and carries "Replying to Name". When the person has an identity, each reply has a text button "Reply" under its bubble, aligned with the bubble's edge.
Composer. DiscussComposer, outside the scrolling list and fixed to the bottom, with the placeholder "Write a reply…".
The scrolling part is a plain list with a column padded 20 points at the sides, 14 points between comments, capped at 40rem.
States
State | What shows |
|---|---|
Loading | A spinner ( |
Failure | StatusLine with the error and Retry; no composer |
No replies | "No replies yet." under the root |
No identity | The composer shows "Create an identity to reply." and a bordered "Create" button; reply buttons are hidden |
Replying to a reply | A line "Replying to Name" above the field, with a close button (label "Reply to the thread instead") |
Posting | Send is disabled until the answer arrives |
Post refused | A red footnote above the field, for example "The server refused the comment (409): …". The draft is kept |
Refreshing | The pull-to-refresh spinner over the loaded thread |
Actions
Gesture | Result |
|---|---|
Tap the document line | Opens the document |
Tap "Reply" under a reply | Targets that reply and focuses the field, raising the keyboard |
Tap the close button on "Replying to" | Targets the thread's root again |
Tap Send ( | Posts the reply. On success the field empties, the target resets, the new comment appears and a success haptic plays. The keyboard stays up |
Tap "Create" | Opens the Create identity sheet in the Me tab |
Pull down | Reloads the thread |
Long press comment text | Selects it |
Tap a link in a comment | Follows it |
Components used
Component | Kind | Role on this screen |
|---|---|---|
named | The root and every reply | |
named | The pinned reply field, or the identity prompt | |
shared, inside the bubble | 28 point author faces | |
shared | The failure line with Retry | |
primitive | The bar | |
primitive |
| |
primitive | The document line | |
primitive | "Reply", Send, the close button, "Create" | |
primitive, inside the composer | The reply field | |
primitive | Title, counts, labels | |
primitive | The document, send and close symbols | |
primitive | The transcript column | |
primitive | The loading spinner |
Why it is designed this way
A group transcript, all on the left. DESIGN.md: "The root comment large, replies as a transcript (chat-thread look, but all left-aligned with avatar + name + relative time, since it's a group)". Right-aligned "mine" bubbles are kept for the one-to-one Agents chat; here everyone, including you, has a face and a name. See Names, not identifiers.
The composer is always there. It is pinned so replying needs no navigation, following Exact's chat-thread recipe: "interactive-widget keeps the composer over the keyboard; Send keeps it up." See Composers.
One composer, two targets. A per-reply field would clutter the transcript. "Reply" retargets the single field and says so in a line above it.
Reading works without an identity. A person with no identity still sees everything; only the composer changes, and it names the next step. See Honest state.
A haptic on success. A posted comment is a signed, published act, so it is confirmed by touch as well as by the new bubble. See Refresh, haptics and progress.
Bubbles are painted. DESIGN.md's principle 1 lists "comment bubbles" among the content the app paints itself; the bar and keyboard handling are the platform's. See Leave it unsaid.
Difference from DESIGN.md: it describes the signed-out composer as "disabled with a 'Create an identity to reply' link". The built composer is replaced by that sentence and a bordered "Create" button.
Not verified: the contract colours "Reply" with brand, while the screenshots show it in the label colour.
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-READ-06 Keep reading another site in place: Threads are read from and answered on the context site; Activity threads use the configured server
US-DISC-02 Read a thread: The screen where a thread is read
US-DISC-03 Comment on a document: Where posting lands
US-DISC-04 Reply in a thread: The screen with the pinned composer and per-reply "Reply" buttons
US-DISC-05 Be guided to create an identity before commenting: The no-identity composer and hidden Reply buttons
US-ACT-02 Open what a notification is about: Where a comment notification lands
US-APP-02 Move around the app without losing my place: Where a reply notification lands
Related
Parent: Read tab screens. Neighbours: All comments, Compose comment sheet, Document and site home.
Structure: Moving between tabs and into the app explains what changes when the thread is opened from Activity.
Visual language: Typography, Accessibility for the 44 point targets.
How it is built: Discuss: screens and components, Discuss: posting a comment, Discuss: threading logic.
Source: discuss.contract L186-L240, actions at app.contract L329-L364.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime