mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-31 14:33:18 +02:00
Better wording for moving workspace
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
"shortDescription": "Play with APIs, intuitively",
|
"shortDescription": "Play with APIs, intuitively",
|
||||||
"targets": [
|
"targets": [
|
||||||
"deb",
|
"deb",
|
||||||
|
"rpm",
|
||||||
"appimage",
|
"appimage",
|
||||||
"nsis",
|
"nsis",
|
||||||
"app",
|
"app",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export function MoveToWorkspaceDialog({ onDone, request, activeWorkspaceId }: Pr
|
|||||||
return (
|
return (
|
||||||
<VStack space={4} className="mb-4">
|
<VStack space={4} className="mb-4">
|
||||||
<Select
|
<Select
|
||||||
label="Workspace"
|
label="New Workspace"
|
||||||
name="workspace"
|
name="workspace"
|
||||||
value={selectedWorkspaceId}
|
value={selectedWorkspaceId}
|
||||||
onChange={setSelectedWorkspaceId}
|
onChange={setSelectedWorkspaceId}
|
||||||
@@ -90,7 +90,7 @@ export function MoveToWorkspaceDialog({ onDone, request, activeWorkspaceId }: Pr
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Change Workspace
|
Move
|
||||||
</Button>
|
</Button>
|
||||||
</VStack>
|
</VStack>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -833,8 +833,8 @@ function SidebarItem({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'moveWorkspace',
|
key: 'moveWorkspace',
|
||||||
label: 'Change Workspace',
|
label: 'Move',
|
||||||
leftSlot: <Icon icon="house" />,
|
leftSlot: <Icon icon="arrowRightCircle" />,
|
||||||
hidden: workspaces.length <= 1,
|
hidden: workspaces.length <= 1,
|
||||||
onSelect: moveToWorkspace.mutate,
|
onSelect: moveToWorkspace.mutate,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ const icons = {
|
|||||||
alert: lucide.AlertTriangleIcon,
|
alert: lucide.AlertTriangleIcon,
|
||||||
archive: lucide.ArchiveIcon,
|
archive: lucide.ArchiveIcon,
|
||||||
arrowBigDownDash: lucide.ArrowBigDownDashIcon,
|
arrowBigDownDash: lucide.ArrowBigDownDashIcon,
|
||||||
|
arrowRightCircle: lucide.ArrowRightCircleIcon,
|
||||||
arrowBigLeftDash: lucide.ArrowBigLeftDashIcon,
|
arrowBigLeftDash: lucide.ArrowBigLeftDashIcon,
|
||||||
|
arrowBigRight: lucide.ArrowBigRightIcon,
|
||||||
arrowBigRightDash: lucide.ArrowBigRightDashIcon,
|
arrowBigRightDash: lucide.ArrowBigRightDashIcon,
|
||||||
arrowBigUpDash: lucide.ArrowBigUpDashIcon,
|
arrowBigUpDash: lucide.ArrowBigUpDashIcon,
|
||||||
arrowDown: lucide.ArrowDownIcon,
|
arrowDown: lucide.ArrowDownIcon,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export function useMoveToWorkspace(id: string) {
|
|||||||
|
|
||||||
dialog.show({
|
dialog.show({
|
||||||
id: 'change-workspace',
|
id: 'change-workspace',
|
||||||
title: 'Change Workspace',
|
title: 'Move Workspace',
|
||||||
size: 'sm',
|
size: 'sm',
|
||||||
render: ({ hide }) => (
|
render: ({ hide }) => (
|
||||||
<MoveToWorkspaceDialog
|
<MoveToWorkspaceDialog
|
||||||
|
|||||||
Reference in New Issue
Block a user