Add workspace row context menu#561
Conversation
Workspace rows need secondary actions that do not belong on the primary row click or the PR/issue bubble. Add a right-click menu so maintainers can refresh git status, copy refs, open provider URLs, and reach local filesystem affordances without crowding the rail. The menu is host-aware: fleet workspaces do not expose local path or reveal actions, macOS local rows use Finder language, and diverged branches do not offer push or pull actions. Push and pull entries remain constrained to simple ahead-only or behind-only rows until a dedicated git mutation path exists. Generated with Codex Co-authored-by: Codex <codex@openai.com>
The row context menu was carrying extra labels for small action clusters, which made the popup feel more structured than the actual choice set warranted. Keeping the separators while removing the Copy and Provider headings makes the menu scan closer to the activity filter styling without adding noise. Validation: targeted WorkspaceListSidebar unit test, full frontend unit suite, frontend package typecheck, Svelte autofixer, git diff --check, and Chromium Playwright screenshot capture. Generated with Codex Co-authored-by: Codex <codex@openai.com>
roborev: Combined Review (
|
The workspace row context menu needs to be positioned against the viewport, but rendering it inside the sidebar left it inside an overflow-hidden container-query rail. Moving the menu to a sibling overlay keeps the same behavior while avoiding sidebar clipping and container-relative fixed positioning. Adds a browser regression that opens the menu at the edge of the workspace rail and checks both that it is no longer a sidebar descendant and that its bounding box remains inside the viewport. Validation: Svelte autofixer, targeted WorkspaceListSidebar unit test, affected workspaces Playwright spec in Chromium and Firefox, full frontend unit suite, frontend package typecheck, and git diff --check. Generated with Codex Co-authored-by: Codex <codex@openai.com>
roborev: Combined Review (
|
Workspace rows now expose secondary actions through a right-click menu, keeping row click focused on opening the workspace while putting branch sync, copy, provider URL, and cleanup affordances in a familiar activity-filter style.
The menu hides local filesystem actions for fleet workspaces, uses Finder wording on macOS local rows, and avoids offering push or pull on diverged branches until a dedicated safe mutation path exists.