Skip to content

A reaction opens an ordinary thread, with no drawing of its own while unanswered #7323

Done

Description

@max-sixty

A thread that holds only the reaction that opened it is a special case. The server serves it with bare_reaction, the panel neither lists nor counts it, and the page draws it with a margin entry and highlight of its own: the emoji as the entry's glyph, with an Undo entry and an Escape scope. Since #7304, which made a reaction a message the agent answers, that state lasts only the seconds before the agent's first line whenever an agent is listening. Carrying and drawing such a thread like any other removes the special case.

Measured on the trial branch trial-reaction-as-thread (792c89b), which builds it: code +102 −434 (net −332), tests +121 −409, prose +6 −8. It removes the served bare_reaction field and its filter in thread_counts; bareReaction, discussed and the browser's second copy of the rule for pending threads; the state publisher's second thread list; the reactions margin contribution with its Undo entry, removal state and "On a reaction" Escape scope; and the lf-react highlight with its --lf-react token. leaf-dev interface --base reports no package-interface name added or removed. pnpm run check and pnpm run test:runtime (1146 tests) pass. The branch updates tests/browser and tests/journeys but they weren't run.

What the user sees. Before anyone answers, the passage shows the speech-bubble mark rather than the emoji, and pressing it opens a card whose one message is the 👍. Re-pressing the emoji in the picker on the passage takes the reaction back (probed on the branch). The card itself offers no way to take back an emoji message.

Decision for Max: whether a lone reaction may look like any other thread. Almost all of the saving is in the display. Carrying the thread alike while keeping the emoji as its mark would keep only +52 −108 of the code change, and would still need either a glyph on the thread's generated margin reading or the old receipt seat.

This was written by Claude Code on behalf of max-sixty

Activity

  1. added
    backlog
    next
    ux
    on Nov 26, 2026
  2. self-assigned this
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backlognextux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions