refactor: simplify new tab menu item copy

- Change menu text from "+ New tab" to "New" (icon already shows +)
- Simplify toast to just "Moved to new tab"

https://claude.ai/code/session_01Hy2vYBooPyrF7ZJCodcCav
This commit is contained in:
Claude
2026-01-29 20:05:46 +00:00
parent 4fedb3b1a0
commit 712c278642

View File

@@ -64,8 +64,8 @@ export function WindowToolbar({
const handleMoveToNewTab = () => {
if (!window) return;
const newTabNumber = moveWindowToNewWorkspace(window.id);
toast.success(`Moved to new tab ${newTabNumber}`);
moveWindowToNewWorkspace(window.id);
toast.success("Moved to new tab");
};
const handleEdit = () => {
@@ -210,7 +210,8 @@ export function WindowToolbar({
</DropdownMenuSubTrigger>
<DropdownMenuSubContent>
<DropdownMenuItem onClick={handleMoveToNewTab}>
<Plus className="size-4 mr-2" />+ New tab
<Plus className="size-4 mr-2" />
New
</DropdownMenuItem>
{otherWorkspaces.length > 0 && <DropdownMenuSeparator />}
{otherWorkspaces.map((ws) => (