You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(header): keep More's header to the path, and say the waiting count once per screen - #4981
Trims two duplicates from the UI trim audit (items 1 and 6).
More's header opens with the pane's path alone (and an omo goal line when the chat has one). It no longer repeats the agent and title, the PC and workspace, "Worked 2m · Transcript size unknown", or the connection route mark ("Tailscale"): the header, sidebar and status bar already say them, and none is something to act on. ConnectionRouteMark, lib/connectionRoute.ts, their tests, styles and the twelve route strings in ko/ja/zh go with it, as does the relay transport's directVia, which only the mark read.
Waiting count once per screen. While the sidebar foot (with its Inbox badge) is on screen, More's waiting dot and the status bar's "N waiting for you" step back; on a phone or with the sidebar collapsed they still show. The folded Agents section drops its own "N need you". Each row's ? stays. Open the next session waiting for you stays as More's first item.
Design reference: the Codex and Claude desktop apps show one unread/attention count in the sidebar and keep overflow menus to actions; this follows them. DESIGN.md is updated.
Checks (runner image): bun run check fast green except server/ssh-account-add.test.ts (known false failure when the image runs as uid 1000); inbox-mode-demo, drawer-modal, tab-menu, agent-helpers-fold-demo and deep-link-demo regressions pass.
…t once per screen
More's header no longer repeats the title, PC and workspace, the session
totals or the connection route (ConnectionRouteMark and its route lib go
with it). The sidebar foot's Inbox badge is the one waiting count while the
sidebar shows: More's dot and the status bar's count step back then, and
the folded Agents section drops its 'N need you'.
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Updates
The More menu header now shows the pane path and, when available, the session goal. It no longer displays the pane title, location, session totals, or connection-route details.
Waiting-session counts now appear in one place: the Inbox badge when the sidebar is visible, or the status bar or More indicator otherwise.
The collapsed Agents section no longer shows a count of agents needing attention.
The More header now shows the pane path and optional Omo goal. Waiting-session counts appear in one location based on sidebar visibility, and the collapsed Agents count is removed. The connection-route indicator and related classification code are also removed.
Changes: More Header and Waiting Counts
Layer / File(s)
Summary
Update More header and waiting counts src/App.tsx, src/components/AgentSidebar.*, src/styles.css, DESIGN.md, scripts/inbox-mode-demo-regression.ts, changelog.d/ui-trim-header-more.md
The More header displays the crumb path and optional goal. Waiting counts depend on whether the sidebar footer is shown. The collapsed Agents count is removed. Documentation and the regression assertion reflect the updated header and count behavior.
Remove connection-route indicator and classification src/lib/transport.ts, src/lib/relay/transport.ts, src/lib/connectionRoute.ts, src/components/ConnectionRouteMark.tsx, src/lib/i18n.*.ts, src/styles.css, related tests and CI timing entries
The connection-route UI, classification logic, and direct-carrier detail property are removed along with their related translations, styles, tests, and timing entries.
This change trims duplicate header and count displays and removes the connection-route indicator. No functional or contract risk is evident, and it is ready to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the two main changes: More's header is trimmed to the pane path, and the waiting count is shown once per screen. Both match the code and DESIGN.md changes in the summary. The title is …
Description check
The description follows the template's Change and Validation sections. Change explains the problem and resulting behavior in detail, covering the header, the waiting-count rules, and the removed conne…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the two main changes: More's header is trimmed to the pane path, and the waiting count is shown once per screen. Both match the code and DESIGN.md changes in the summary. The title is specific and uses the conventional fix(header) prefix. It is a single line and does not list files.
Full details: Description check
Explanation
The description follows the template's Change and Validation sections. Change explains the problem and resulting behavior in detail, covering the header, the waiting-count rules, and the removed connection-route code. Validation lists the commands run (bun run check fast), the one known failing test, and the demo regressions that passed. The template asks for a linked issue for a feature, but this PR is a trim audit fix, so that gap is minor. The Validation section does not state whether the full check or contract tests were run, and it does not say whether the rendered screenshots were checked. The screenshot table contains broken remote-git output inside the image links, so the before/after evidence cannot be viewed.
Resolution
Fix the broken screenshot image links in the before/after table, since the git push output was pasted into the URLs. Optionally state whether bun run check full or contract tests were run and whether they were skipped.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between 7b3eddb and 64e99e5.
Files selected for processing: 18
DESIGN.md
changelog.d/ui-trim-header-more.md
scripts/ci-test-timings.json
scripts/inbox-mode-demo-regression.ts
src/App.tsx
src/components/AgentSidebar.css
src/components/AgentSidebar.tsx
src/components/ConnectionRouteMark.test.tsx
src/components/ConnectionRouteMark.tsx
src/lib/connectionRoute.test.ts
src/lib/connectionRoute.ts
src/lib/i18n.ja.ts
src/lib/i18n.ko.ts
src/lib/i18n.zh.ts
src/lib/relay/transport.direct.test.ts
src/lib/relay/transport.ts
src/lib/transport.ts
src/styles.css
Files with no reviewable changes: 14
scripts/ci-test-timings.json
src/components/AgentSidebar.css
src/components/AgentSidebar.tsx
src/components/ConnectionRouteMark.test.tsx
src/components/ConnectionRouteMark.tsx
src/lib/connectionRoute.test.ts
src/lib/connectionRoute.ts
src/lib/i18n.ja.ts
src/lib/i18n.ko.ts
src/lib/i18n.zh.ts
src/lib/relay/transport.direct.test.ts
src/lib/relay/transport.ts
src/lib/transport.ts
src/styles.css
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review.
…d name More plainly where it shows none
Review follow-ups: the phone drawer's Inbox shows the count, so More's dot
steps back there too; More's name says the count only where its dot does;
DESIGN.md's status bar entry is brought up to date. drawer-modal-regression
checks the drawer case.
Review round (omo gate + Codex via axwith), fixed in e9458f5:
HIGH (omo): on a phone with the drawer open, More's dot and the drawer's Inbox badge both showed the count. More's dot now steps back while a phone's drawer is open; drawer-modal-regression checks it.
MEDIUM (omo, Codex): More's name/tooltip said "N waiting for you" even with the dot hidden. The name now carries the count only where the dot shows.
MEDIUM (omo): DESIGN.md's status bar entry still described the old More header; updated.
LOW (not changed): the status bar's next-waiting button is hidden while the sidebar foot shows; More's first item keeps that jump.
Re-run: typecheck, drawer-modal-regression and inbox-mode-demo-regression pass.
Merged through pr-merge at head 1a3652183. Seen before the merge was asked for: required checks green, no unresolved thread, no conflict, no hold, main not red, no release in progress. CodeRabbit said it did not review (a limit or a skip) since this head.
main had moved since the checks of 356bb86f6: pr-merge --update merged it in (3c0769fcf), and every required check was green at this head.
It waited in the merge queue behind #4985, whose change overlaps it, before it was updated.
Reviews: omo gate (BLOCK: HIGH phone-drawer double count, MEDIUM More name/DESIGN) and Codex via axwith (BLOCK: MEDIUM More name) both fixed in e9458f5; one fix round per lane rule. The owner approved the UI trim audit's top items without a screenshot hold. Relay transport change only removes the directVia getter that the deleted route mark alone read. Browser lane failures were unrelated flakes (file-viewer-regression, repo-diff-browser-qa, virtual-source-browser-qa timeouts; then inbox-mode-panes' transcript-end scroll block), each passed on retry.
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
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.
Trims two duplicates from the UI trim audit (items 1 and 6).
More's header opens with the pane's path alone (and an omo goal line when the chat has one). It no longer repeats the agent and title, the PC and workspace, "Worked 2m · Transcript size unknown", or the connection route mark ("Tailscale"): the header, sidebar and status bar already say them, and none is something to act on.
ConnectionRouteMark,lib/connectionRoute.ts, their tests, styles and the twelve route strings in ko/ja/zh go with it, as does the relay transport'sdirectVia, which only the mark read.Waiting count once per screen. While the sidebar foot (with its Inbox badge) is on screen, More's waiting dot and the status bar's "N waiting for you" step back; on a phone or with the sidebar collapsed they still show. The folded Agents section drops its own "N need you". Each row's
?stays. Open the next session waiting for you stays as More's first item.Design reference: the Codex and Claude desktop apps show one unread/attention count in the sidebar and keep overflow menus to actions; this follows them. DESIGN.md is updated.
No server or HTTP/WS contract change.
Checks (runner image):
bun run check fastgreen exceptserver/ssh-account-add.test.ts(known false failure when the image runs as uid 1000); inbox-mode-demo, drawer-modal, tab-menu, agent-helpers-fold-demo and deep-link-demo regressions pass.