Better wording for moving workspace

This commit is contained in:
Gregory Schier
2024-07-22 09:46:46 -07:00
parent 110ffc7529
commit 9c08c5fea8
5 changed files with 8 additions and 5 deletions

View File

@@ -61,6 +61,7 @@
"shortDescription": "Play with APIs, intuitively",
"targets": [
"deb",
"rpm",
"appimage",
"nsis",
"app",

View File

@@ -32,7 +32,7 @@ export function MoveToWorkspaceDialog({ onDone, request, activeWorkspaceId }: Pr
return (
<VStack space={4} className="mb-4">
<Select
label="Workspace"
label="New Workspace"
name="workspace"
value={selectedWorkspaceId}
onChange={setSelectedWorkspaceId}
@@ -90,7 +90,7 @@ export function MoveToWorkspaceDialog({ onDone, request, activeWorkspaceId }: Pr
});
}}
>
Change Workspace
Move
</Button>
</VStack>
);

View File

@@ -833,8 +833,8 @@ function SidebarItem({
},
{
key: 'moveWorkspace',
label: 'Change Workspace',
leftSlot: <Icon icon="house" />,
label: 'Move',
leftSlot: <Icon icon="arrowRightCircle" />,
hidden: workspaces.length <= 1,
onSelect: moveToWorkspace.mutate,
},

View File

@@ -7,7 +7,9 @@ const icons = {
alert: lucide.AlertTriangleIcon,
archive: lucide.ArchiveIcon,
arrowBigDownDash: lucide.ArrowBigDownDashIcon,
arrowRightCircle: lucide.ArrowRightCircleIcon,
arrowBigLeftDash: lucide.ArrowBigLeftDashIcon,
arrowBigRight: lucide.ArrowBigRightIcon,
arrowBigRightDash: lucide.ArrowBigRightDashIcon,
arrowBigUpDash: lucide.ArrowBigUpDashIcon,
arrowDown: lucide.ArrowDownIcon,

View File

@@ -18,7 +18,7 @@ export function useMoveToWorkspace(id: string) {
dialog.show({
id: 'change-workspace',
title: 'Change Workspace',
title: 'Move Workspace',
size: 'sm',
render: ({ hide }) => (
<MoveToWorkspaceDialog