Skip to content

feat(inbox): the Ovis mark is the one way into the agent inbox where it is drawn - #3954

Merged
devswha merged 1 commit into
mainfrom
fix/inbox-entry
Nov 16, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/inbox-entry

Conversation

@devswha

@devswha devswha commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Change

What was wrong. With the sidebar shown (from 769px), three things on one screen opened the agent inbox: the Ovis mark at the sidebar's top left, an Open agent inbox row at the sidebar's foot, right above the Settings gear, and the same item at the end of More. The maintainer asked for the row above Settings to go, since the Ovis mark already does it.

The fix. Where the Ovis mark is drawn and opens the inbox (from 769px with the sidebar shown, outside the inbox mode), it is the classic shell's only way in. Neither the sidebar's foot row nor More's last item is drawn there. One flag in App.tsx (markEnters) decides all three.

Each layout keeps one obvious way in:

Layout Ovis mark Way in
Wide window, sidebar shown (1440, and a narrow 800px window) drawn, a button the mark (no foot row, nothing in More)
Desktop app (window controls overlay / the Mac app's title bar) drawn, a button the mark: the same header, with the title-bar padding
Wide window, sidebar collapsed not drawn More's last item (unchanged); the foot row in the hover peek
Phone, drawer closed not drawn More's last item (unchanged)
Phone, drawer open not drawn the drawer's foot row (unchanged), and More in the header above it
Every width the command palette's Open agent inbox (unchanged)

Where I kept the entries instead of adding a mark. A phone's header and a collapsed sidebar draw no Ovis mark: a phone's header row holds the pane's title, and the collapsed header holds the palette and sidebar buttons before the tabs. Adding a mark there would put a new control in each of those rows just to replace a menu item, so More (and the phone drawer's foot row) still offer the way in.

The mark already says what it does. It is a button named and titled Open agent inbox in all four languages (en; ko 에이전트 인박스 열기; ja エージェント受信トレイを開く; zh 打开 Agent 收件箱, all checked on the page). In the mode, the mark at the top of the rail still says Back to Ovis and returns to the app as before. The design follows the Codex and Claude apps, where the app's mark at the head of the sidebar is the way home and no row repeats it. DESIGN.md's sidebar footer, inbox mode and More entries say this now.

Telemetry. Nothing is added, removed or renamed. shared/telemetry.ts is untouched, and so are the receiver's fingerprint and the notice. inbox_by_button is still counted by the mark, and inbox_by_menu by More wherever More still offers the item. Where the foot row and More's item are no longer drawn, they no longer count. The inbox shown mark still follows whether the mode is offered, which is unchanged.

Pictures (demo build, dark)

Before and after at 1440, sidebar shown: the foot row above the gear is gone.

Before and after at 1440, More open: no Open agent inbox beside the mark.

After at 1440 with the sidebar collapsed (no mark): More keeps it.

At 390 the phone is unchanged, before and after: the drawer's foot row, then More.

Validation

  • bun run check fast (TMPDIR under ~/.cache/ovis-tmp, heavy slot): exit 0. Every step ok: workflow syntax, generated types and themes fresh, typecheck, build, unit tests (527.7 s), actionlint.
  • The browser regressions that name the sidebar, More and the inbox mode, in the CI runner image (herdr-ci-runner:local, through ~/.ovis-toolchain/heavy-run.sh): ci.yml's ci-browser-parallel.ts step with BROWSER_SCRIPTS limited to them and BROWSER_RETRY=0, at 854679e:
    • inbox-mode-demo-regression 80.4 s, inbox-mode-panes-demo-regression 149.6 s, inbox-mode-rail-demo-regression 111.0 s, ui-contexts-layout-regression 137.9 s: pass.
    • ui-contexts-regression (it runs tab-menu, mobile-tabs and usage checks): pass, 290.3 s. Its first run failed in update-notice-regression.ts, which reads git rev-parse HEAD, because the container's user could not read my copy of the checkout ("dubious ownership"). I allowed safe.directory, rebuilt, and it passed. That was my setup, not this change.
    • setup-row, sidebar-declutter, sidebar-peek, sidebar-spacing, sidebar-split, sidebar-split-access, agent-state-groups, hide-pc, pc-load, deep-link, phone-back, tap-targets, terminal-autoswitch and preferences-sync demo regressions: 14/14 pass in 271.8 s with 3 workers. Check's report then exited 1 on the same git ownership refusal (its source identity), after every script had passed.
  • scripts/inbox-mode-demo-regression.ts changed with the behaviour. The wide-window block now asserts that neither More nor the sidebar's foot offers Open agent inbox beside the mark, and it enters by the mark. The other wide-window ways in use the mark. The two collapsed-sidebar blocks still enter by More, and one asserts that no mark is drawn. The phone blocks are unchanged: More's last item and the drawer's foot row.
  • A scratch Playwright pass on the demo build (not committed) found these ways in, by layout. 1440 and 800 with the sidebar shown: the mark only, with no foot row and no More item. Collapsed sidebar: More's item. 700 and 390: More's item. 390 with the drawer open: the foot row. The desktop app's data-window-controls header: the mark, which opens the inbox. Back to Ovis gives the mark back. The mark's name and title are in en, ko, ja and zh.
  • Not run: bun run check full, the integration lane, Windows and macOS.

…it is drawn

With the sidebar shown from 769px, the Ovis mark at its head already opens the
agent inbox, and the Open agent inbox row above Settings and More's last item
said the same thing twice more. They are no longer drawn there. A phone and a
collapsed sidebar, which draw no mark, keep More's item and the drawer's foot
row; the palette keeps its row at every width.

Telemetry names are unchanged: the mark keeps counting inbox_by_button, and
More's item counts inbox_by_menu wherever it is still offered.
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Navigation Updates
    • On wider screens with the sidebar open, use the Ovis mark to open the agent inbox. The duplicate inbox entries have been removed from the sidebar footer and More menu in this layout.
    • On phones and when the sidebar is collapsed, the inbox remains accessible from the existing footer and More menu entry points.

The expanded desktop sidebar’s Ovis mark now opens the agent inbox. When the mark is absent, More and the sidebar footer retain inbox entry points. The regression script and documentation reflect these conditions.

Changes: Agent Inbox Entry Points

Layer / File(s) Summary
Gate inbox entries by Ovis mark visibility
src/App.tsx, src/components/InboxMode.tsx, DESIGN.md, changelog.d/inbox-entry-ovis-mark.md
When the expanded desktop sidebar shows the Ovis mark, it opens the inbox and More and the sidebar footer omit their inbox entries. When the mark is absent, those entries remain available. The documentation describes the conditions.
Update entry-point regression coverage
scripts/inbox-mode-demo-regression.ts
Wide-layout tests enter through the Ovis mark and check that More and the sidebar footer do not duplicate the entry. Tests retain More as an entry when the sidebar is collapsed and keep phone entry paths separate.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Other

Possibly related PRs

  • devswha/ovis#3824: Adds the inbox mode and its prior entry points, which this change adjusts for wide layouts.
  • devswha/ovis#3846: Adds the Ovis mark as an inbox entry point at wide widths, which this change makes the only sidebar entry point in that layout.

Suggested reviewers: kilhyeonjun, duytbp

Merge Risk: Minimal · up to 85467

This change moves agent inbox entry to the Ovis mark in wide desktop layouts. Phones and collapsed sidebars keep their existing entries, and the command palette stays available at every width. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: with the sidebar shown, the Ovis mark becomes the only entry point to the agent inbox. The changeset matches this: App.tsx gates More and the sidebar foot entry on the…
Description check Passed The description follows the template. It has a Change section that explains the problem (three entry points on one screen), the resulting behavior, and a layout table. It has a Validation section that…
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 main change: with the sidebar shown, the Ovis mark becomes the only entry point to the agent inbox. The changeset matches this: App.tsx gates More and the sidebar foot entry on the mark, DESIGN.md and the changelog are updated, and the regression script enters the inbox through the mark. The title is in conventional-commit form and is a single sentence of 16 words, which is long but still specific.

Full details: Description check

Explanation

The description follows the template. It has a Change section that explains the problem (three entry points on one screen), the resulting behavior, and a layout table. It has a Validation section that lists the checks run (bun run check fast, named browser regressions), the results, and the checks not run (check full, integration lane, Windows, macOS). The template asks for a linked issue where a maintainer agreed to the feature. The description refers to a maintainer request but does not link an issue, so that item is missing. The HTTP/WS contract-test note is not addressed, though this change may not touch HTTP/WS.

Resolution

Optionally link the issue where the maintainer agreed to remove the sidebar foot row, as the template requests for features. State whether any HTTP/WS contract tests apply, since the template asks about them.

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 e5c6a8e and 854679e.

Files selected for processing: 5

  • DESIGN.md
  • changelog.d/inbox-entry-ovis-mark.md
  • scripts/inbox-mode-demo-regression.ts
  • src/App.tsx
  • src/components/InboxMode.tsx

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

@devswha
devswha merged commit bcc55ef into main Nov 16, 2026
13 checks passed
@devswha

devswha commented Nov 16, 2026

Copy link
Copy Markdown
Owner Author

Merge pass

Merged head 854679eff4f1 as bcc55efeafe5 on GitHub's checks, with no unresolved review threads.

Reviewer Verdict Note
claude CLEAR
codex CLEAR

@devswha
devswha deleted the fix/inbox-entry branch November 16, 2026 08:06
devswha added a commit that referenced this pull request Nov 16, 2026
…d its foot is the gear alone (#3961)

## Change

The maintainer asked that a phone's workspace list not spend rows on
**Open agent inbox** and **Change PC** ("모바일의 경우 왼쪽 사이드바에 많은 줄을 차지하지
않았으면해. PC 바꾸기도 마찬가지야"). He compared three variants on a preview, then
picked the Ovis mark in the drawer's head with the gear alone at its
foot, without a Change PC icon ("pc 바꾸기 필요한가? 어차피 사이드바에 머신별로 나오는거아니야?").

On a phone (below 769px):

- **The drawer's head.** With the drawer open, the toggle's place holds
the Ovis mark (`.drawer-toggle.is-mark`, `OvisMark`) instead of the X.
It is a button named and titled **Open agent inbox**, and it opens the
inbox mode. The setup guide's shell offers no inbox, so it keeps the X.
The design follows the app mark at the head of the Codex and Claude
apps' sidebars, which is their way home.
- **The drawer's foot is the gear alone.** Neither the Open agent inbox
row nor the Change PC row is drawn there.
- **Change PC** is now the last row of Settings' page list at the
drawer's widths (`.settings-change-pc`, `DRAWER_QUERY`, below 769px),
only where the page shows one PC of a list: the phone app or the relay
shell. Getting back to the list of PCs is drawer → gear → Change PC,
three taps. The row sits under the pages and needs no scrolling at 390
(picture below). Before, Settings' Change PC was under Devices and PCs →
More → This app, five taps deep, so I put a row on the list rather than
moving it within its section. That row stays, and so does the access
gate's.
- **Closing without the X.** The drawer closes by a tap on the dimmed
pane beside it, a swipe, Back, or Escape. It also starts with **Close
workspace list** (`.drawer-close`), a named control that a screen reader
reads; it is drawn as a button only while the keyboard is on it.
- **A double tap on the menu button.** I chose a time guard over moving
the mark. The mark sits exactly where the menu button was, so a tap on
it within 400 ms of the click that opened the drawer is that double
tap's second half and does nothing. The guard compares the two clicks'
own `timeStamp`s (`SECOND_TAP_MS` in lib/useSidebarLayout.ts), so there
is no timer. I kept the mark in place because the header row over the
drawer has no other free spot: moving it would put it on the pane's
title, whose tap opens the tab list.

Wide layouts are unchanged. From 769px, the sidebar's foot still has the
phone app's or relay's Change PC row, and a collapsed sidebar's hover
peek keeps its Open agent inbox row.

Also, from the review of #3954:
- `inbox-mode-demo-regression`'s stale PASS wording is fixed.
- `sidebar-peek-demo-regression` now checks the peek's Open agent inbox
row, the only sidebar way in there.

## After the first review (second commit)

- **641-768px gap:** at those widths the drawer had no Change PC row and
Settings' list had none either, because the list's row followed the
dialog's 640px narrow width. It now follows the drawer's own width.
`drawer-modal-regression` checks it at 700px, where the row sits under
the page list beside the open page.
- **Deterministic guard test:** the guard is `secondTapOf` in
`lib/useSidebarLayout.ts`. `useSidebarLayout.hook.test.ts` drives
`toggleDrawerByButton` and `secondTapOfOpening` with fixed timestamps:
within the window, at its edge, and after a close by another way. The
browser test no longer has to rely on two real taps landing close
together.
- **Stale stamp:** the opening stamp is cleared whenever the drawer
closes.
- **Comment:** MachineSidebar's comment now says "last row".

## After GitHub's browser run (third and fourth commits)

- **The open drawer lost its disclosure state.** The X carried
`aria-controls="workspace-drawer"` and `aria-expanded="true"`. The Ovis
mark in its place opens the inbox and rightly carries neither, so with
the drawer open nothing said it was expanded. The named **Close
workspace list** carries both now.
- Four browser scripts on GitHub waited on that control:
sidebar-activity, pane-mute-captures (through pane-mute-demo-run),
workspace-touch-reorder and sidebar-agent-tree. With the attributes back
they find it again.
- The two places that tapped the old X to close the drawer
(sidebar-activity, ui-regression) tap beside it instead.
- omp-question-compat reads the drawer's `is-open` state and closes it
through the named close.
- **The double-tap check asserts or fails.** drawer-modal's double-tap
check no longer skips itself when its two taps land 400 ms or more
apart. It fails with the gap, and the guard's edges are the hook test's.

## Pictures (demo build, 390×844, dark, drawer open)

The phone app with several PCs, before and after:

<img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/before-app-several-pcs-390-dark.png"
width="240"> <img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/after-app-several-pcs-390-dark.png"
width="240">

The phone app with one PC, before and after:

<img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/before-app-one-pc-390-dark.png"
width="240"> <img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/after-app-one-pc-390-dark.png"
width="240">

A phone browser (no Change PC anywhere, as before), before and after:

<img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/before-browser-390-dark.png"
width="240"> <img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/after-browser-390-dark.png"
width="240">

The gear's Settings in the phone app, before and after: Change PC at the
end of the list.

<img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/before-app-several-pcs-settings-390-dark.png"
width="240"> <img
src="https://raw.githubusercontent.com/devswha/ovis/6d7401b437ab8c146597bdcafc9d7aff3421d553/after-app-several-pcs-settings-390-dark.png"
width="240">

The phone app is a stand-in `window.Capacitor` on the demo build, the
same one the new test uses.

## Validation

On cc19360 (the fourth commit):
- `bun run check fast`: exit 0, every step ok (unit tests 538.3 s).
- In the CI runner image, every lane script that uses the drawer's
`aria-controls` or pane-mute-demo-run passed: herdr-profiles,
pane-mute-captures, pane-mute, phone-worktree-sheet, recent-folders,
sidebar-activity, sidebar-agent-tree, workspace-touch-reorder and
drawer-modal. ui-regression failed in that batch, at its desktop reorder
step (line 1788, after the drawer step it changes at line 588, which ran
and passed). Alone it failed once more, on a different step (a split's
route handled twice). Then side by side it passed, on this head and on
main.

On the second commit (64c84a2):
- `bun run check fast`: exit 0, every step ok (unit tests 519.5 s). This
includes the new `useSidebarLayout.hook.test.ts` case.
- In the CI runner image: drawer-modal (with the 700px check),
settings-pages, phone-back and inbox-mode passed, 4/4 in 110.8 s.

On the first commit (7a889c9):
- `bun run check fast` (TMPDIR under ~/.cache/ovis-tmp, heavy slot) on
the pushed head: exit 0. Every step ok: workflow syntax, generated types
and themes, typecheck, build, unit tests (542.8 s). An earlier run
caught App.tsx going one hook over `app-hooks.test.ts`'s ceiling, so the
double-tap stamp moved into `lib/useSidebarLayout.ts`.
- `scripts/drawer-modal-regression.ts` (extended), run locally and in
the CI runner image:
- the open drawer's head is the mark (named and titled Open agent inbox,
no `aria-expanded`);
- the drawer holds the named close, and its foot is the gear's row
alone;
- it closes by a tap outside, Back (staying on the pane), Escape, a
swipe, and the named close reached by Tab (drawn while focused, focus
back to the toggle);
- a double tap on the menu button (the two clicks' timeStamps 132-148 ms
apart) opens the drawer and not the inbox, and a tap past 400 ms (waited
for on `performance.now()` against that click's timeStamp, no sleep)
opens the inbox;
- with a stand-in phone app, the drawer has no Change PC row, the gear's
Settings list ends in Change PC, which calls `HerdrShell.disconnect`,
and a 1440 window keeps its Change PC row.
- In the CI runner image (`herdr-ci-runner:local`, `heavy-run.sh`,
ci.yml's `ci-browser-parallel.ts` step with `BROWSER_SCRIPTS` and
`BROWSER_RETRY=0`), these passed, 19/19 in 513.6 s: drawer-modal,
phone-back, sidebar-declutter, sidebar-filter, render-crash, pc-load,
deep-link, workspace-rows, tap-targets, agent-state-groups,
sidebar-machine-layout, sidebar-spacing, phone-safe-area,
terminal-autoswitch, settings-pages, sidebar-peek, sidebar-split,
setup-row and hide-pc. These passed too: ui-regression,
ui-contexts-layout, and the three inbox-mode scripts.
- `ui-contexts-regression`: three failures, then two passes, all on the
branch's head.
- The three failures were all in `newtab-typeahead-regression.ts`'s
frame count: "the page's frames for the new tab are all heard". The
typed text was heard intact each time, in its touch case twice and its
dialog case once. Three of the script's last five commits worked on that
comparison (#3691, #3713, #3788).
- Then on the pushed head it passed twice, and origin/main (bcc55ef)
passed three times, all alone in their own slots.
- This change sends no terminal frames. I count it as that known flake,
not a regression.
- Scripts that closed the drawer by its X (deep-link, pc-load,
sidebar-filter, render-crash, sidebar-declutter, workspace-rows) now tap
outside it or wait on `#workspace-drawer.is-open`. inbox-mode's drawer
block enters by the mark, past the double-tap window.
- `sidebar-peek-demo-regression` (new check, from #3954's review):
passes light and dark, locally and in the image.
- Not run: `bun run check full`, the integration lane, Windows, macOS,
and a real iOS/Android app (the app is a `window.Capacitor` stand-in).
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