DiscussBubble
One comment: a 28 point avatar, the author's name, a relative time, and the Markdown text in a rounded grey bubble. The root of a thread uses a larger text style.

DiscussBubble is how a comment looks everywhere in Seed Exact. It is a named component defined in discuss.contract L49-L67. One comment is one bubble, with the person who wrote it beside it.

Used by

Parent

Where

DiscussThreadRow

The root comment of a thread, in the document's discussion and in All comments. Always with big off

Thread (DiscussThreadScreen)

Every comment of the thread; big on for the first

Document and site home (DocScreen)

Through DiscussSection and DiscussThreadRow: the root comment of each thread shown under "Discussion"

Props

Prop

Type

Effect

c

a comment

Author name and avatar, time, Markdown text, depth, and the name of the person it answers

now, utc

numbers

The app's minute clock and time zone, for the relative time

big

true or false

Larger text, for a thread's root

testId

string

For tests only

Anatomy

A row, 10 point gap, aligned to the top.

    Avatar at size 28.

    A column taking the remaining width, 4 points between lines:

      Name line: the name in -exact-subheadline, weight 600, -exact-label; then the time in -exact-footnote, -exact-secondary-label, on the same baseline. The line wraps if the name is long.

      "Replying to Name" in -exact-caption1 grey, only when the comment answers another reply and not the thread's root.

      The bubble: padded 8 by 12 points, radius 18, filled with -exact-secondary-background. It hugs its text and never grows past the column. The text is Markdown in -exact-callout (-exact-body when big), -exact-label, selectable, and long words such as URLs break.

The bubble's text starts 38 points from the row's left edge (28 for the avatar, 10 for the gap). Other components align to that edge: the "N replies" line of a thread row and the "Reply" button of a thread both use a 38 point inset.

Three bubbles: a root, a reply, and a reply to that reply, indented with its "Replying to" line. This is an older build: the root's avatar is now 28 points like the others, and times no longer include the time of day.

Variants and states

Case

Result

big

Text in -exact-body. Nothing else changes

Depth 0 or 1

No indentation

Depth 2 and deeper

The whole row is padded 16 points per level past the first, up to 48 points. Deeper replies stay at that indent and rely on the "Replying to" line

Empty text

The bubble reads "(empty comment)"

No profile name

The name is a shortened key, such as "zDnaeq...1AVA"

No image

The Avatar fallback: a green disc with a white initial

Time

"now", "24 min. ago", "1 hr. ago", "1 day ago", "2 days ago"; a week or older, or in the future, shows the date ("Feb 26, 2025")

The bubble has no pressed, selected or "mine" state. Your own comments look like everyone else's.

Rules for use

    Use it for every comment on a document.

    Do not make the bubble itself a button. A parent wraps it in a link (DiscussThreadRow) or puts a "Reply" button under it (Thread).

    Do not use it for agent chat. That transcript has its own message parts; see Chat messages and the streaming reply.

    Use big for one comment per screen at most: the one the screen is about.

Why it looks this way

    A bubble says "someone said this". The shape separates comment text from document text at a glance, which matters because both sit on the same page under a document. The 18 point radius is the one DESIGN.md sets for bubbles. See Spacing, radii and sizes.

    Left-aligned, with a face. DESIGN.md: "all left-aligned with avatar + name + relative time, since it's a group". Exact's chat-thread recipe makes the same distinction: "Yours: no name; a group names others'." A document's discussion is a group, so every bubble is named, including yours.

    Grey, not brand. The fill is the platform's secondary background, the same surface as code blocks and cards. brand.fill is described in the tokens as "a surface under body-size white text (my bubbles, badges)" and is kept for the Agents chat. See Color and tokens.

    Text one step below body. Comments use -exact-callout so the document's -exact-body paragraphs stay the most prominent text on the page; the thread's root is promoted to body because on that screen it is the subject. See Typography and Reading first.

    People, not keys. The name leads. A key appears only as the fallback for an account that has published no name. See Names, not identifiers.

Not built: the comment carries a link to its author's profile, but the bubble does not use it. Tapping a name or face in a comment does not open the Author profile.

Difference from DESIGN.md: it names this CommentBubble(author, avatar, time, md) in the shared ui.contract.

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

Loading child documentsโ€ฆ

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

Related documents

Loading connectionsโ€ฆ