Save as environment shows on the expanded cloud row's menu

Merged
SA
2mo ago
+3-0

Right-clicking a cloud workspace in the sidebar never showed "Save as environment": the handler was passed to the context menu only on the collapsed (icon-rail) branch of DashboardSidebarWorkspaceItem, not the expanded row everyone actually uses. One prop added on the expanded branch.

Verified over CDP in the dev app: before, a cloud row's menu was Pin, Rename, Copy Branch Name, Copy Workspace ID, Mark as Unread, Remove from Sidebar, Delete; after, "Save as environment" sits between Rename and Copy Branch Name.

The TODO on the handler (SUPER-2116) still stands: the item also offers itself on boxes that aren't ready and can't be promoted.

https://claude.ai/code/session_01RL946q6aRucLVJs659sW24


Summary by cubic

Right-clicking a cloud workspace in the expanded sidebar row now shows "Save as environment"; previously the handler was only passed on the collapsed icon-rail branch, so the item never appeared where most people right-click. The known limitation from SUPER-2116 remains: the item still appears on boxes that aren't ready and can't be promoted.

Summary by CodeRabbit

  • New Features
    • Added an option to promote cloud-hosted workspaces to environments from the expanded workspace menu.