Skip to content

Call child threads "child threads" across the app - #5388

Merged
brsbl merged 1 commit into
mainfrom
bb/child-threads-1-wording-thr_7xmbr7vsqz
Oct 12, 2026
Merged

brsbl merged 1 commit into
mainfrom
bb/child-threads-1-wording-thr_7xmbr7vsqz

Conversation

@brsbl

@brsbl brsbl commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Human comments

What was wrong

Threads spawned by another thread were called "children", "child" or nothing at all depending on the surface, and they shared a generic person icon with other assignment events. The archived filter, archive/delete confirmations, mention pills and the thread header each used different wording for the same thing.

What changed

  • One copy helper (apps/app/src/lib/child-thread-copy.ts) for "child thread(s)" and its count, used by the archive/delete dialogs, the archive toast and thread actions.
  • A two-person ChildThread icon (shared-ui icon registry) for assignment events and the mention pill; mention pills read "child thread".
  • Archived threads filter: All threads / Threads / Child threads.
  • Archive and delete confirmations name the child thread count; the archive button reads "Archive".
  • The child thread header no longer shows a "child" pill; the parent picker drops its redundant heading; the settings copy says "child threads".

UI copy only; data, API, SDK and CLI names are unchanged.

How you verified

CI.

Screenshots

Before: d011a88bc1 · After: c4b144a85a · Captured at 2×

Screen / state Viewport Before After
Child thread view: no "child" header pill Desktop · 1280×720 Before: Child thread view: no "child" header pill After: Child thread view: no "child" header pill
@ mention from a parent: "child thread" pill Desktop · 1280×720 Before: @ mention from a parent: "child thread" pill After: @ mention from a parent: "child thread" pill
Parent picker: no redundant heading Desktop · 1280×720 Before: Parent picker: no redundant heading After: Parent picker: no redundant heading
Archived threads: filter and badge Desktop · 1280×720 Before: Archived threads: filter and badge After: Archived threads: filter and badge
Archive confirmation Desktop · 1280×720 Before: Archive confirmation After: Archive confirmation
Delete confirmation Desktop · 1280×720 Before: Delete confirmation After: Delete confirmation
Settings: archive confirmation copy Desktop · 1280×720 Before: Settings: archive confirmation copy After: Settings: archive confirmation copy

BB-Thread: Redesign child threads

🤖 Generated with Claude Code

AGENT GENERATED

Use one copy helper for the child thread noun and count, and a two-person
ChildThread icon for child threads in assignment events and mention
pills. The archived filter reads All threads / Threads / Child threads,
archive and delete confirmations name the child thread count, the archive
button reads "Archive", the parent picker drops its redundant heading, and
the child thread header no longer shows a "child" pill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brsbl
brsbl added this pull request to stack #5392 October 12, 2026 21:14
@brsbl
brsbl marked this pull request as ready for review October 12, 2026 23:01
@brsbl
brsbl merged commit 84631c5 into main Oct 12, 2026
35 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T23:03:17.313106Z c4b144a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brsbl
brsbl deleted the bb/child-threads-1-wording-thr_7xmbr7vsqz branch October 12, 2026 23:01

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c4b144a85a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<>
Its{" "}
<span className="font-semibold">
{formatChildThreadCount(target.childThreadCount)}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Count every thread in the deletion cascade

When deleting a thread with nested lifecycle-owned descendants, this count is misleading: target.childThreadCount comes from nonDeletedChildCount, which counts only direct parentThreadId children, while the server recursively deletes the entire lifecycle ownership tree. A parent → child → grandchild hierarchy can therefore claim that 1 child thread will be deleted while permanently deleting both descendants. Use the actual deletion-cascade count here, or keep the warning nonnumeric.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant