All comments
DiscussAllScreen: every thread on a document as a scrolling list of thread rows, titled with the comment count.

A document shows only its first three threads. This screen shows all of them, so a person can scan a long discussion and open the thread they care about. The screen component is DiscussAllScreen (discuss.contract L122-L150).

At a glance

Tab

Read

Route

comments, /comments/:ref

Presentation

pushed

Title

inline: "49 comments", "1 comment", or "Discussion" when there are none or the count is not known yet

How you get here

the messages button in a document's bar; the brand "N comments" line under its byline; "See all N threads" in its DiscussSection

Where it leads

a Thread

No screenshot is embedded on this page. Every capture of this screen (final/ios-all-comments-light.png and its variants) was taken on the live hyper.media home document, whose first thread opens with a crude one-word comment. The layout is the same as the thread list visible under a document, extended to the full screen.

Anatomy

    Navigation bar. Back and the count as an inline title. No actions: there is no compose button here.

    Threads. A plain list holding one column, padded 8 points above, 20 at the sides and 40 below, capped at 40rem and centred. Each thread is a DiscussThreadRow: the root comment as a DiscussBubble (28 point avatar, name, time, the text in a rounded grey bubble) and, when it has replies, a brand footnote "1 reply" or "N replies" aligned under the bubble. Rows are separated by a 1 point line in -exact-separator; the first row has none.

Threads are ordered by newest activity first: a thread moves to the top when it is started or when someone replies in it. The time shown on a row is the root comment's, so the dates down the list are not strictly descending.

Two numbers appear around this screen and they count different things. The title counts comments (roots and replies: "49 comments"). The link that leads here counts threads ("See all 36 threads").

States

State

What shows

Loading

A spinner (progress, label "Loading comments"); the title reads "Discussion"

Failure

The error sentence in secondary colour (for example "Couldn't reach the server."). There is no Retry button here; pulling down asks again

Empty

"No comments yet." in secondary colour

Refreshing

The pull-to-refresh spinner over the loaded list

Actions

Gesture

Result

Tap a thread row

Pushes the Thread

Pull down

Reloads the discussion

Back, or swipe from the edge

Returns to the document

Links inside a comment's text are part of the row, which is itself a link, so on this screen a tap anywhere opens the thread (inferred from the row wrapping the whole bubble).

Components used

Component

Kind

Role on this screen

DiscussThreadRow

named

One thread: its root comment and reply count

DiscussBubble

named, inside the row

The root comment

Avatar

shared, inside the bubble

28 point author faces

header

primitive

The bar

list

primitive

appearance="none": the refreshable body

link

primitive, inside the row

Makes each row open its thread

text

primitive

Title, error and empty lines

column

primitive

The centred column and the separators

progress

primitive

The loading spinner

It uses no inline part and no StatusLine.

Why it is designed this way

    The document stays a document. Showing three threads under the page and the rest here keeps the reading screen from turning into a comment feed. This is Reading first applied to discussion: a glance in place, the full list one tap away. DESIGN.md describes the job as "glance at the discussion".

    The same row in both places. The rows are the very component the document uses, so the list here reads as a continuation of what the person just saw. See Lists for why this list is painted and not an inset-grouped one: the rows hold bubbles of varying height in a reading column, which is content, not settings.

    The title is the count. The bar says how much discussion there is, which is the one fact this screen adds. A fixed word like "Comments" would repeat what the person already knows from the button they tapped (inferred).

    Replies are a brand line. The reply count is the affordance that says "there is more inside". It uses the brand tint, the app's colour for things that navigate. See Color and tokens.

    Names and faces lead every row. See Names, not identifiers. An account with no profile name shows a shortened key as its name, which is the fallback, not the intent.

Where it falls short of Honest state: the failure line has no Retry button, unlike the Thread and the document. The empty line also does not name a next step, and there is no way to start a comment from here.

Difference from DESIGN.md: its route map has no comments route. It mentions a "See all N" link but not the screen it opens.

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

Attributes
name
All comments
summary
DiscussAllScreen: every thread on a document as a scrolling list of thread rows, titled with the comment count.