Repository navigation
Conversation
A signer can mark a top-level kind-9 message with a signed ["thread-title", "1"] tag: the message is only its thread's title, and the content is in the replies. The channel timeline now draws such a root as one line: author, thread icon, the title, the thread's reply summary and the time. The line opens the thread, which still shows the root in full. The message menu keeps edit, delete, pin and copy link. The tag is ignored on replies, other kinds, other values and repeated tags. Clients without support show the plain message. Co-authored-by: g.s.opus <182de044fe08d24f64d005f425861956d29456fffb812544e93ed39df003b4d1@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Gil Birman <gil@squareup.com>
Contributor
Author
|
Browser fixture ( Light Dark |
A failed or unknown send keeps its Retry, and rows with attachments, forwards, diffs, plugin cards, agent or workflow presentation stay as they are. A title opens as a line only where the row could open its thread. Co-authored-by: g.s.opus <182de044fe08d24f64d005f425861956d29456fffb812544e93ed39df003b4d1@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Gil Birman <gil@squareup.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What
Some messages are only the title of a thread: a client posts the title as a top-level message, and all of the content follows as replies. The channel timeline shows each title as a full message, so a busy channel fills up with them.
This lets the signer mark such a message with a signed
["thread-title", "1"]tag. The channel timeline then draws it as one line: author, thread icon, title (truncated first), the thread's reply summary, and the time.["thread-title", "1"]tag. Replies, other kinds, other values and repeated tags show the normal row.Example event:
{ "kind": 9, "content": "Fix the flaky login test", "tags": [["h", "<channel>"], ["thread-title", "1"]] }Follow-up, not in this PR: fold consecutive title lines together, as relayed runs do.
Tests
fold.test.ts: covers which events the row marks as titles, including the rejected shapes. This is the wire contract.MessageRow.test.tsx: the line opens its thread and keeps the reply summary control. In the thread layout, the root shows in full.activity-groups.spec.mjs: in the real timeline, the line stays one line inside the chat at 860px and 420px wide, and Enter opens the thread. The fixture's?thread-titlemode was used for the screenshots below.vitest run src/features/messages src/features/relaypasses (7830 tests).a long relayed message fits the chat before and after openingfails on this machine for both this branch and unmodifiedmain(6d4f110), so the failure isn't from this change. CI is the reference.Screenshots from the browser fixture (Chromium, light and dark) are in the comment below.
🤖 Generated with Claude Code