Skip to content

fix(header): keep More's header to the path, and say the waiting count once per screen - #4981

Merged
devswha merged 7 commits into
mainfrom
ui-trim/header-more
Nov 28, 2026
Merged

devswha merged 7 commits into
mainfrom
ui-trim/header-more

Conversation

@devswha

@devswha devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner

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.

No server or HTTP/WS contract change.

before after
phone 390, More ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/before-390-more.png) ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/after-390-more.png)
desktop 1440 ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/before-1440.png) ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/after-1440.png)
desktop 1440, More ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/before-1440-more.png) ![](https://raw.githubusercontent.com/devswha/ovis/remote:
remote: Create a pull request for 'evidence/ui-trim-header-more' on GitHub by visiting:
remote: https://github.com/devswha/ovis/pull/new/evidence/ui-trim-header-more
remote:
de5570b/after-1440-more.png)

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'.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

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.

Run configuration

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.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Suggested reviewers: jpcarranza94, charleoyang

Merge Risk: Minimal · previous review 64e99

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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

Commits

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.
@devswha

devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

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.

@devswha
devswha merged commit 420680e into main Nov 28, 2026
16 checks passed
@devswha
devswha deleted the ui-trim/header-more branch November 28, 2026 18:38
@devswha

devswha commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

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.

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