Repository navigation
feat(app): redesign the inbox sidebar - #59696
opencode-agent[bot] wants to merge 1 commit into
Conversation
Live sessions show the avatar, project / title and a text-only state, with the pending request underneath, aligned to the text. Read sessions settle into one line below them. Working sessions join the live list instead of a pinned shelf, a project picker filters the inbox, and rows drop the branch line and server icon.
There was a problem hiding this comment.
The change looks sound. I couldn't run it: this is the web/desktop app and no browser is available here, so I only type-checked it (typecheck:tsc passes in packages/app) and read the code. Please attach before/after screenshots or a short video of the inbox: with mixed projects, the project picker, a pending approval and question, and a narrow sidebar (below 240px).
The public API is unchanged. Only the app's locally saved sidebar.inbox state changes: workingExpanded is dropped and project is added. Saved values still load, and since is kept.
No blocking concerns. The removed branch-loading code has no other callers, and the fields[0] access is safe because the core rejects forms with no fields. A few English strings are now unused (sidebar.inbox.section.needsAttention/working/recent and sidebar.inbox.status.approval/input/done); they could be removed in a later change.
Summary
Redesigns the experimental Inbox sidebar (Settings → Interface → Inbox) so it is calmer, works at any sidebar width, and shows only what helps you act.
project / title, and one text-only state slot (Approve,Answer,Failed,Working 33s, or the age). Under rows that need you, the pending request's own words: the command or resource for a permission (in the code font) or the question text for a form. That line aligns with the text, never sits under the avatar, and wraps before the state column, up to two lines.Settleddivider. Archived sessions keep their own section.All projects) filters the inbox and is persisted. It only appears when the inbox spans more than one project, and rows only name their project when the list mixes projects.New English strings only:
sidebar.inbox.section.settled,sidebar.inbox.project.all,sidebar.inbox.action.approve,sidebar.inbox.action.answer.Not in this PR
Verification
bun typecheckandbun run typecheck:tscinpackages/app,bun run lint:changedfrom the root.Visual
Requested by: @R44VC0RP (vogel via Slack)