From c99000d1f2fda476c409917bcb4a4cd15ece9629 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 14 Jan 2026 14:16:42 +0000 Subject: [PATCH] refactor: Move pop-out action to window menu dropdown Move the pop-out button from a standalone icon to the three-dot menu dropdown to reduce toolbar clutter. The menu now always appears since pop-out is always available. --- src/components/WindowToolbar.tsx | 117 +++++++++++++++---------------- 1 file changed, 57 insertions(+), 60 deletions(-) diff --git a/src/components/WindowToolbar.tsx b/src/components/WindowToolbar.tsx index aef1e35..4646e31 100644 --- a/src/components/WindowToolbar.tsx +++ b/src/components/WindowToolbar.tsx @@ -155,18 +155,6 @@ export function WindowToolbar({ - {/* Pop Out button */} - - {/* Copy button for NIPs */} {isNipWindow && ( - - - {/* Move to tab submenu */} - - - - Move to tab - - - {otherWorkspaces.map((ws) => ( - handleMoveToWorkspace(ws.id)} - > - {ws.number} - {ws.label ? ` ${ws.label}` : ""} - - ))} - - + {/* More actions menu */} + + + + + + {/* Pop out window */} + + + Pop out window + - {/* REQ-specific actions */} - {isReqWindow && ( - <> - - - - Save as spell - - - )} - - - )} + {/* Move to tab submenu - only show if multiple workspaces */} + {hasMultipleWorkspaces && ( + <> + + + + + Move to tab + + + {otherWorkspaces.map((ws) => ( + handleMoveToWorkspace(ws.id)} + > + {ws.number} + {ws.label ? ` ${ws.label}` : ""} + + ))} + + + + )} + + {/* REQ-specific actions */} + {isReqWindow && ( + <> + + + + Save as spell + + + )} + + {/* Spell Dialog */} {isReqWindow && (