feat: refine desktop workspace experience - #68
Merged
Conversation
wolfiesch
force-pushed
the
codex/production-onboarding
branch
from
July 19, 2026 09:29
ca403ba to
7967f98
Compare
wolfiesch
marked this pull request as ready for review
July 19, 2026 09:37
wolfiesch
force-pushed
the
codex/production-onboarding
branch
from
July 19, 2026 09:39
320ed0b to
c832efd
Compare
There was a problem hiding this comment.
Pull request overview
This PR refreshes the desktop workspace UI and interaction model in apps/web, consolidating session tools into a single “Workspace” menu, adding verified session environment context, reorganizing Settings into clearer groups, and introducing a reversible Focus Mode—while updating tests and provenance to match.
Changes:
- Introduces Focus Mode as an ephemeral workspace state, plus new keyboard shortcuts (Cmd/Ctrl+J terminal, Cmd/Ctrl+Shift+F focus) and corresponding UI flows.
- Refactors session header tooling into a unified Workspace menu and adds a Session context popover (host/model/connection + health entry point).
- Reworks Settings navigation into grouped sections (rail + mobile picker) and updates CSS tokens / E2E + unit tests to validate the new UX.
Reviewed changes
Copilot reviewed 18 out of 30 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| provenance/t3code/imports/f1-shell-20260711.json | Updates provenance checksums for adapted/reference shell imports. |
| provenance/t3code/imports/f0-20260711.json | Updates provenance checksums for token/theme references. |
| packages/ui/src/tokens.css | Adjusts workspace geometry and visual tokens (topbar height, radius, sidebar bg, shadows, dark palette tweaks). |
| e2e/site-mobile-docs.spec.ts | Makes desktop download visibility assertions less label-fragile across platforms. |
| e2e/remote-app.spec.ts | Adds E2E coverage for Workspace menu consolidation, Focus Mode, session context, and Settings grouping. |
| e2e/pwa-install.spec.ts | Updates expected titlebar padding to match refreshed chrome spacing. |
| apps/web/test/workspace-store.test.ts | Adds unit coverage for Focus Mode’s “ephemeral + non-destructive” behavior and persistence sanitization. |
| apps/web/test/shortcuts.test.ts | Adds unit coverage for new terminal + focus keyboard shortcuts. |
| apps/web/test/mobile-touch-targets.test.tsx | Updates mobile touch-target assertions to reflect Focus Mode and Workspace menu changes. |
| apps/web/test/live-settings-screen.test.ts | Adds coverage for grouped Settings rail behavior (including unknown/host sections). |
| apps/web/src/state/workspace-store.ts | Adds focusMode state + action, ensures it remains ephemeral (not persisted). |
| apps/web/src/keyboard/shortcuts.ts | Extends shortcut resolver with terminal toggle and focus toggle support. |
| apps/web/src/features/settings/SettingsWorkspace.tsx | Implements grouped Settings rail + optgroup mobile picker; updates layout/typography. |
| apps/web/src/components/Titlebar.tsx | Adds Focus Mode exit control and refines titlebar styling/spacing. |
| apps/web/src/components/SessionScreen.tsx | Adds Session context popover; replaces scattered tools with a unified Workspace menu; hides chrome in Focus Mode. |
| apps/web/src/components/Rail.tsx | Refreshes rail header/labels and keyboard hint presentation. |
| apps/web/src/components/CommandPalette.tsx | Improves search UX (grouping, recent limiting, keyboard help) and adds workspace actions (focus/terminal/panels). |
| apps/web/src/components/AppShell.tsx | Wires Focus Mode through shell rendering and keyboard handling; integrates new shortcut actions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
Why
T4 users frequently move between terminal-first workflows and polished desktop coding clients. This makes the workspace easier to scan and keeps the most important controls predictable without changing the underlying OMP session model.
User impact
Desktop navigation is calmer and more consistent, session tools are easier to find, Focus Mode provides a distraction-free transcript surface, and the narrow phone titlebar no longer overflows.
Before and after
All screenshots use T4's built-in sample data.
Shell hierarchy
Session workspace tools
Session environment context
Command discovery
Settings organization
Focus Mode
Mobile Settings
Verification
pnpm checkpnpm test— 1,576 tests passed across 10 workspace projectspnpm test:e2e— 26 browser tests passed