Skip to content

feat(ui): inbox redesign — workspace clustering, dual view, prose typography, hidden editor tabs#374

Merged
luokerenx4 merged 3 commits into
masterfrom
UI-issue
Jun 24, 2026
Merged

feat(ui): inbox redesign — workspace clustering, dual view, prose typography, hidden editor tabs#374
luokerenx4 merged 3 commits into
masterfrom
UI-issue

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

A round of Inbox UX work plus two app-wide chrome tweaks, all frontend:

  • Inbox clustered by workspace — the flat per-push stream now groups under its workspace (our durable unit; we have no Issue layer), with a header Time / Workspace toggle (persisted). Workspace clusters bubble up on new activity. Selection + detail stay per-push (a workspace's pushes are usually unrelated topics, so they aren't merged into one timeline).
  • Inbox detail — docs render as collapsed attachment cards with a text preview (so they read as openable content) above the comment; copy refreshed to describe the live inbox_push write path.
  • Prose typography.markdown-content gets a 15px base (single knob for chat / inbox / doc preview / file viewer); markdown was inheriting the 16px browser default and reading oversized next to UI chrome.
  • Editor tabs hidden by default — the top TabStrip is gated behind a persisted preference (Settings › Appearance); navigation is sidebar-driven.

Test plan

  • npx tsc -b (ui) clean
  • Manual browser verification on localhost:5173 — both inbox views, doc expand/preview, tab toggle, prose sizing
  • Full pnpm test not run (UI-only, esbuild doesn't enforce types anyway)

Boundary touch

None — frontend only (the one src/ change is a doc comment in inbox-store.ts).

🤖 Generated with Claude Code

Ame and others added 3 commits June 24, 2026 09:23
…abs by default

Inbox detail pane:
- Docs render as collapsed attachment cards (filename + 2-line text
  preview) above the comment, so a long comment can't push them
  off-screen; expand renders the live file in full. Comment-less
  entries default their docs expanded.
- Refresh stale copy: EmptyState + inbox-store header now describe the
  live `inbox_push` MCP write path instead of "still being designed /
  seed-only".

Typography:
- Give `.markdown-content` a 15px prose base (single knob for chat /
  inbox comment / doc preview / file viewer) — markdown was inheriting
  the 16px browser default and reading oversized next to UI chrome.
  Not yet semantic-ized; sizes still being tuned.

Editor tabs:
- TabStrip hidden by default behind a persisted `showEditorTabs`
  preference; opt back in via Settings › Appearance. Navigation is
  ActivityBar/sidebar-driven (tmux-style); the strip was low-use and
  accumulated forgotten tabs.

i18n: documentsSection / docExpand / docCollapse / docNoPreview +
settings.appearance.* across en/zh/zh-Hant/ja.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The inbox was a flat per-push notification stream. Cluster the pushes by
workspace (our durable unit — we have no Issue layer) so a workspace's
updates read as kin instead of scattering, while keeping selection and
detail PER-PUSH: a workspace's pushes are usually unrelated topics, so
merging them into one combined timeline read badly.

- New `groupThreads` helper buckets the feed by workspaceId, ordered by
  latest push (a workspace bubbles to the top on new activity).
- Sidebar gains two view modes, toggled from the header (persisted):
  - Workspace — clustered, label header + a rail of its message rows.
  - Time — flat chronological feed, date-bucketed (the prior behavior).
  j/k and default-select follow the displayed order in either mode.
- Detail renders the single selected push (docs above comment, reply bar
  jumps into the workspace); selection/read stay per-entry.

i18n: viewTime / viewWorkspace across en/zh/zh-Hant/ja.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jun 24, 2026 2:10am

Request Review

@luokerenx4 luokerenx4 merged commit 0773fa1 into master Jun 24, 2026
5 checks passed
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