mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Better wording for moving workspace
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
"shortDescription": "Play with APIs, intuitively",
|
||||
"targets": [
|
||||
"deb",
|
||||
"rpm",
|
||||
"appimage",
|
||||
"nsis",
|
||||
"app",
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user