Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): stop repeating the subagent name in the waiting banner #16022

Mergedsaphid(GitHub profile, opens in a new tab)merged 5 commits intomain fromrefs/pull/16022/headmerged by juliusmarminge View on GitHub

A single waiting subagent was named in both the title and its link. The existing link now says Show, with accessible name Show subagent . Multiple tasks keep their named links, plain labels and punctuation; an unlinked single task still has no description.

Credit to @saphid for #16022. Contributor commits are preserved. The maintainer implementation reduces the original 66-line rewrite to two changed lines against main, using the existing renderer and navigation.

Verification

  • 218 existing focused tests across ChatView logic, thread execution presentation, and pending background work pass. Added tests: 0 → 0; these suites support the behavior but do not test the JSX label. Actual client verification proves the label change.
  • Web typecheck and focused lint/format pass.
  • Two fresh full-diff review rounds by Opus and Sol completed; the final round found no actionable issues.
  • Actual Linux Chromium dev client: Show opens the correct server-loaded child and its parent action returns; single unlinked has no description; mixed linked/unlinked subagents and a command retain names/grouping; completed work removes the banner. At 390px, Show remains usable through Notice details.

Before — actual main ChatView at 34c5a6d446, 1280×800:

Before: the waiting banner repeats Review scheduler

After — 7fd3ae974c, same fixture and viewport:

After: the waiting banner names the agent once and offers Show

Before navigation recording · After: Show opens the child and parent navigation returns

At 390px, Notice details exposes the Show action

Fixtures use isolated synthetic projections; no provider turn or user data. The linked screenshots/navigation load from the test server. Unlinked, mixed, and empty states restore synthetic statuses through the real client state modules after server recovery stops orphaned tasks; those checks establish UI presentation only. No fabricated DOM or JSX was used.

Web and desktop share this renderer. macOS, Windows, Electron shell, native iOS/Android, and remote/relay/tunnel connections were not run here. Mobile's separate status pill visually shows only the title and is unchanged; its pre-existing screen-reader name duplication is outside this web fix. This focused duplicate-label fix changes no product defaults, settings, contracts, or workflow; it uses the small-obvious-bug contribution exception. At narrow widths the details popover says Show alone; a long agent name may remain truncated in the banner, while the accessible action name retains it. Fresh CI and maintainer review remain required before merging.

Implementation: gpt-6.1-sol; tests: gpt-6-astra; reviews: gpt-6-sol and claude-opus-5-5. Harness: Codex / Claude Code through T3 Code.

    1. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    2. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Approved at 7fd3ae9

      Macroscope's review found this PR approvable — This is a two-line, self-contained web UI fix that removes duplicate single-subagent naming while preserving multi-item behavior and navigation. It changes no product defaults, contracts, backend behavior, or sensitive code.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review. 🎉

      ℹ️ Recent review info
      ⚙️ Run configuration
      • Configuration used: Path: .coderabbit.config.ts
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: b3b4fe10-726a-48a4-80b0-3a20fb268427
      📥 Commits

      Reviewing files that changed from the base of the PR and between 955bb3afe30cb8aa82d702863ec70921d68ca5d0 and 7fd3ae974ccd3333029eb84d8eaffe248e002dd4.

      📒 Files selected for processing: 1
      • apps/web/src/components/ChatView.tsx
      🚧 Files skipped from review as they are similar to previous changes: 1
      • apps/web/src/components/ChatView.tsx

      Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

      📝 Walkthrough

      The background-work banner now displays a single subagent link as “Show” and uses the accessible label “Show subagent [name]”. For multiple subagents, links display their names and use accessible labels beginning “Open subagent”.

      Changes: Background-work banner

      Layer / File(s)Summary
      Display subagent links
      apps/web/src/components/ChatView.tsx
      A single subagent link displays “Show” and has an accessible label beginning “Show subagent”. Multiple subagent links continue to display each name and use accessible labels beginning “Open subagent”.

      Priority: ⬇️ Low

      Estimated code review effort: 1 (Trivial) | ~5 minutes

      Change: Bug fix

      Merge Risk: ⚪ Minimal · up to 7fd3a

      The banner change appears ready to merge after normal checks; mixed waiting tasks retain the multiple-item presentation.

      Pre-merge checks: Passed 4
      Check nameStatusExplanation
      Title checkPassedThe title clearly and concisely describes the main UI fix: preventing the subagent name from appearing twice in the waiting banner.
      Description checkPassedThe description provides the problem, implementation details, scope justification, verification results, screenshots, recordings, limitations, and agent attribution. It does not use the template's Pro…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      Full details: Description check

      Explanation

      The description provides the problem, implementation details, scope justification, verification results, screenshots, recordings, limitations, and agent attribution. It does not use the template's Problem, Change, and Scope and approval headings, but it contains the required information and is sufficiently complete.

      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create a new PR
      • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
      Comment `@coderabbitai help` to get the list of available commands.
    4. Review requested

      Date (UTC)ReviewerWhere
      2026-10-06MariaDiscord DM
      Logged so this PR shows when a maintainer was asked to review it.
    5. juliusmarminge assignedjuliusmarminge

    6. Taking over this one as maintainer for batch scheduler-tasks-01. I will preserve the original commits, integrate current main, and verify the single-subagent link and grouped banner behavior with fresh tests, implementation, and independent reviews. This takeover will remain unmerged.

    7. juliusmarminge merged this08b1cbe

    8. juliusmarminge closed this

Sign in to join this conversation.