diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToCloudDialog/MoveWorkspaceToCloudDialog.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToCloudDialog/MoveWorkspaceToCloudDialog.tsx index bd1d3815c1a..85834459481 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToCloudDialog/MoveWorkspaceToCloudDialog.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToCloudDialog/MoveWorkspaceToCloudDialog.tsx @@ -28,7 +28,7 @@ import { import { useMoveWorkspaceToCloud } from "../../../../hooks/useMoveWorkspaceToCloud"; import type { MovableWorkspace } from "../../../../hooks/useWorkspaceMoveDirections"; import { startWorkspaceMoveProgress } from "../../../../utils/startWorkspaceMoveProgress"; -import { useReportSkippedChats } from "../../hooks/useReportSkippedChats"; +import { navigateToV2Workspace } from "../../../../utils/workspace-navigation"; interface MoveWorkspaceToCloudDialogProps { open: boolean; @@ -49,7 +49,6 @@ export function MoveWorkspaceToCloudDialog({ const organizationId = useActiveOrganizationId(); const [isCreatingEnvironment, setIsCreatingEnvironment] = useState(false); const moveWorkspaceToCloud = useMoveWorkspaceToCloud(workspace); - const reportSkipped = useReportSkippedChats(); const projectId = workspace.projectId; const { projects } = useHostProjects(); @@ -95,6 +94,8 @@ export function MoveWorkspaceToCloudDialog({ const progress = startWorkspaceMoveProgress({ name: workspace.name, destination: t({ message: "the cloud" }), + toCloud: true, + sourceWorkspaceId: workspace.id, retry: move, }); onOpenChange(false); @@ -109,10 +110,12 @@ export function MoveWorkspaceToCloudDialog({ onBegun: progress.begun, signal: progress.signal, }) - .then(({ toWorkspaceId, skipped }) => { - progress.follow(toWorkspaceId); - reportSkipped(skipped); - }) + .then(({ toWorkspaceId, stayed }) => + progress.follow(toWorkspaceId, { + stayed, + open: () => void navigateToV2Workspace(toWorkspaceId, navigate), + }), + ) .catch((error: unknown) => progress.fail( isMissingProcedureError(error) diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToComputerDialog/MoveWorkspaceToComputerDialog.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToComputerDialog/MoveWorkspaceToComputerDialog.tsx index 194febc24a7..9f0c6abf281 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToComputerDialog/MoveWorkspaceToComputerDialog.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/components/MoveWorkspaceToComputerDialog/MoveWorkspaceToComputerDialog.tsx @@ -17,6 +17,7 @@ import { SelectTrigger, SelectValue, } from "@superset/ui/select"; +import { useNavigate } from "@tanstack/react-router"; import { useMemo, useState } from "react"; import { useKnownHosts } from "renderer/hooks/known-hosts/useKnownHosts"; import { useCloudWorkspaces } from "renderer/hooks/useCloudWorkspaces"; @@ -24,7 +25,7 @@ import { useLocalHostService } from "renderer/routes/_authenticated/providers/Lo import { useMoveWorkspaceToComputer } from "../../../../hooks/useMoveWorkspaceToComputer"; import type { MovableWorkspace } from "../../../../hooks/useWorkspaceMoveDirections"; import { startWorkspaceMoveProgress } from "../../../../utils/startWorkspaceMoveProgress"; -import { useReportSkippedChats } from "../../hooks/useReportSkippedChats"; +import { navigateToV2Workspace } from "../../../../utils/workspace-navigation"; interface MoveWorkspaceToComputerDialogProps { open: boolean; @@ -38,11 +39,11 @@ export function MoveWorkspaceToComputerDialog({ workspace, }: MoveWorkspaceToComputerDialogProps) { const { t } = useLingui(); + const navigate = useNavigate(); const { machineId } = useLocalHostService(); const { hosts } = useKnownHosts(); const { workspaces: cloudWorkspaces = [] } = useCloudWorkspaces(); const moveWorkspaceToComputer = useMoveWorkspaceToComputer(workspace); - const reportSkipped = useReportSkippedChats(); const computers = useMemo(() => { const others = hosts @@ -81,6 +82,8 @@ export function MoveWorkspaceToComputerDialog({ const progress = startWorkspaceMoveProgress({ name: workspace.name, destination: destination.label ?? t({ message: "this computer" }), + toCloud: false, + sourceWorkspaceId: workspace.id, retry: move, }); onOpenChange(false); @@ -90,10 +93,12 @@ export function MoveWorkspaceToComputerDialog({ onBegun: progress.begun, signal: progress.signal, }) - .then(({ toWorkspaceId, skipped }) => { - progress.follow(toWorkspaceId); - reportSkipped(skipped); - }) + .then(({ toWorkspaceId, stayed }) => + progress.follow(toWorkspaceId, { + stayed, + open: () => void navigateToV2Workspace(toWorkspaceId, navigate), + }), + ) .catch((error: unknown) => progress.fail( isMissingProcedureError(error) diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/index.ts deleted file mode 100644 index e0af955fd02..00000000000 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { useReportSkippedChats } from "./useReportSkippedChats"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/useReportSkippedChats.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/useReportSkippedChats.ts deleted file mode 100644 index 6f683724ac0..00000000000 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/MoveWorkspaceDialog/hooks/useReportSkippedChats/useReportSkippedChats.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { plural } from "@lingui/core/macro"; -import { useLingui } from "@lingui/react/macro"; -import { toast } from "@superset/ui/sonner"; -import { useCallback } from "react"; - -/** Says which chats stayed in the old workspace because they could not move. */ -export function useReportSkippedChats() { - const { t } = useLingui(); - return useCallback( - (skipped: { title: string | null }[]) => { - if (skipped.length === 0) return; - toast.info( - t({ - message: plural(skipped.length, { - one: "# chat stayed in the old workspace", - other: "# chats stayed in the old workspace", - }), - }), - { - description: skipped - .map((chat) => chat.title ?? t({ message: "Untitled chat" })) - .join(", "), - }, - ); - }, - [t], - ); -} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/WorkspaceMoveToast/WorkspaceMoveToast.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/WorkspaceMoveToast/WorkspaceMoveToast.tsx index d4a216460cb..3a2a5b358df 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/WorkspaceMoveToast/WorkspaceMoveToast.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/WorkspaceMoveToast/WorkspaceMoveToast.tsx @@ -34,6 +34,7 @@ export function WorkspaceMoveToast({ moveId }: { moveId: string }) { ? describeMoveError(move.error) : null; const retry = failure ? move.retry : null; + const openable = move.open !== null && !failure && ended; const title = move.stage === "failed" @@ -82,10 +83,17 @@ export function WorkspaceMoveToast({ moveId }: { moveId: string }) {

{failure.details}

)} + {ended && !failure && move.stayed.length > 0 && ( +

+ {move.stage === "ready" + ? move.stayed.join(", ") + : `${stayedSentence(move.stayed.length, i18n)} ${move.stayed.join(", ")}`} +

+ )} {!ended && ( )} - {((move.cancel && CANCELLABLE.has(move.stage)) || retry) && ( + {((move.cancel && CANCELLABLE.has(move.stage)) || retry || openable) && (
{move.cancel && CANCELLABLE.has(move.stage) && ( )} + {openable && move.open && ( + + )}
)} @@ -131,6 +144,18 @@ function describe(move: WorkspaceMoveProgress, i18n: I18n): string { return i18n._(msg({ message: "Finishing the move…" })); } const done = chats.ready + chats.failed; + if (done === 0) { + return move.toCloud + ? i18n._(msg({ message: "Starting the cloud workspace…" })) + : i18n._( + msg({ + message: plural(chats.total, { + one: "Moving its chat…", + other: "Moving its chats…", + }), + }), + ); + } return i18n._( msg({ message: plural(chats.total, { @@ -141,7 +166,9 @@ function describe(move: WorkspaceMoveProgress, i18n: I18n): string { ); } case "ready": - return i18n._(msg({ message: "Everything moved." })); + return move.stayed.length === 0 + ? i18n._(msg({ message: "Everything moved." })) + : stayedSentence(move.stayed.length, i18n); case "partial": return i18n._( msg({ @@ -173,3 +200,14 @@ function describe(move: WorkspaceMoveProgress, i18n: I18n): string { ); } } + +function stayedSentence(count: number, i18n: I18n): string { + return i18n._( + msg({ + message: plural(count, { + one: "# chat stayed in the old workspace.", + other: "# chats stayed in the old workspace.", + }), + }), + ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToCloud/useMoveWorkspaceToCloud.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToCloud/useMoveWorkspaceToCloud.ts index 65a530663fb..f0d11ad9d18 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToCloud/useMoveWorkspaceToCloud.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToCloud/useMoveWorkspaceToCloud.ts @@ -1,6 +1,5 @@ import { useLingui } from "@lingui/react/macro"; import type { MachineSize } from "@superset/shared/billing"; -import { useNavigate } from "@tanstack/react-router"; import { useCallback } from "react"; import { useHostProjects } from "renderer/hooks/host-projects/useHostProjects"; import { useActiveOrganizationId } from "renderer/hooks/useActiveOrganizationId"; @@ -23,7 +22,6 @@ export type MoveToCloudStage = "saving" | "starting"; */ export function useMoveWorkspaceToCloud(workspace: MovableWorkspace) { const { t } = useLingui(); - const navigate = useNavigate(); const organizationId = useActiveOrganizationId(); const collections = useCollections(); const utils = cloudTrpc.useUtils(); @@ -139,21 +137,12 @@ export function useMoveWorkspaceToCloud(workspace: MovableWorkspace) { rows ? [created, ...rows] : [created], ); void utils.cloudWorkspace.list.invalidate(); - await navigate({ - to: "/v2-workspace/$workspaceId", - params: { workspaceId: created.id }, - }).catch((error: unknown) => { - console.warn( - "[workspace-move] could not open the cloud workspace", - error, - ); - }); return { toWorkspaceId: created.id, - skipped: [ - ...prepared.skipped, + stayed: [ + ...prepared.skipped.filter((chat) => chat.reason !== "not_started"), ...prepared.chats.filter((chat) => refused.has(chat.chatSessionId)), - ], + ].map((chat) => chat.title ?? t({ message: "Untitled chat" })), }; }, [ @@ -162,7 +151,6 @@ export function useMoveWorkspaceToCloud(workspace: MovableWorkspace) { t, workspace, utils, - navigate, collections, sourceRepository, ], diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToComputer/useMoveWorkspaceToComputer.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToComputer/useMoveWorkspaceToComputer.ts index 4ce0e5cbc17..c91745a351c 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToComputer/useMoveWorkspaceToComputer.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/hooks/useMoveWorkspaceToComputer/useMoveWorkspaceToComputer.ts @@ -1,5 +1,4 @@ import { useLingui } from "@lingui/react/macro"; -import { useNavigate } from "@tanstack/react-router"; import { useCallback } from "react"; import { useHostProjects } from "renderer/hooks/host-projects/useHostProjects"; import { resolveHostUrl } from "renderer/hooks/host-service/useHostTargetUrl"; @@ -35,7 +34,6 @@ export type MoveDestination = { hostId: string; name: string | null }; */ export function useMoveWorkspaceToComputer(workspace: MovableWorkspace) { const { t } = useLingui(); - const navigate = useNavigate(); const { activeHostUrl, machineId, activeOrganizationId } = useLocalHostService(); const relayUrl = useRelayUrl(); @@ -197,15 +195,6 @@ export function useMoveWorkspaceToComputer(workspace: MovableWorkspace) { title: chat.title, }); } - await navigate({ - to: "/v2-workspace/$workspaceId", - params: { workspaceId: created.workspaceId }, - }).catch((error: unknown) => { - console.warn( - "[workspace-move] could not open the new workspace", - error, - ); - }); // Each chat's pane shows how far its move got, its failure and a retry. void (async () => { for (const { moveId } of moves) { @@ -220,10 +209,10 @@ export function useMoveWorkspaceToComputer(workspace: MovableWorkspace) { })(); return { toWorkspaceId: created.workspaceId, - skipped: [ - ...prepared.skipped, + stayed: [ + ...prepared.skipped.filter((chat) => chat.reason !== "not_started"), ...prepared.chats.filter((chat) => refused.has(chat.chatSessionId)), - ], + ].map((chat) => chat.title ?? t({ message: "Untitled chat" })), }; }, [ @@ -236,7 +225,6 @@ export function useMoveWorkspaceToComputer(workspace: MovableWorkspace) { cloudWorkspaces, projects, submit, - navigate, collections, ], ); diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.test.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.test.ts index d4df3be967a..b6304cb2fe1 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.test.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.test.ts @@ -9,6 +9,9 @@ const move: WorkspaceMoveProgress = { workspaceMoveId: null, name: "Workspace", destination: "Cloud", + toCloud: true, + stayed: [], + open: null, stage: "moving-chats", chats: { total: 4, ready: 1, failed: 1 }, error: null, diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.ts index ee34c4d0237..1e25f91479b 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/stores/workspaceMoveProgressStore/workspaceMoveProgressStore.ts @@ -16,6 +16,10 @@ export interface WorkspaceMoveProgress { workspaceMoveId: string | null; name: string; destination: string; + /** A new cloud workspace boots before any chat can copy into it. */ + toCloud: boolean; + stayed: string[]; + open: (() => void) | null; stage: WorkspaceMoveProgressStage; chats: { total: number; ready: number; failed: number } | null; error: string | null; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/utils/startWorkspaceMoveProgress/startWorkspaceMoveProgress.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/utils/startWorkspaceMoveProgress/startWorkspaceMoveProgress.tsx index 61bb880f6c2..2cd08c5294d 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/utils/startWorkspaceMoveProgress/startWorkspaceMoveProgress.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/utils/startWorkspaceMoveProgress/startWorkspaceMoveProgress.tsx @@ -13,6 +13,8 @@ const POLL_MS = 2_000; const GIVE_UP_MS = 15 * 60 * 1000; const MAX_MISSED_READS = 5; const SUCCESS_LINGER_MS = 5_000; +/** Long enough to reach the toast's Open from wherever the person went. */ +const OPEN_LINGER_MS = 12_000; export interface WorkspaceMoveProgressHandle { /** Aborts when the person cancels the move from the toast. */ @@ -20,8 +22,14 @@ export interface WorkspaceMoveProgressHandle { setStage: (stage: "saving" | "creating") => void; /** Links the toast to the control plane's move, so a cancel elsewhere ends it. */ begun: (workspaceMoveId: string) => void; - /** Follows the move's chats into this workspace until the move ends. */ - follow: (toWorkspaceId: string) => void; + /** + * Follows the move's chats into this workspace until the move ends. A + * person still looking at the old workspace then lands in the new one. + */ + follow: ( + toWorkspaceId: string, + destination: { open: () => void; stayed: string[] }, + ) => void; fail: (message: string) => void; } @@ -29,6 +37,8 @@ export interface WorkspaceMoveProgressHandle { export function startWorkspaceMoveProgress(args: { name: string; destination: string; + toCloud: boolean; + sourceWorkspaceId: string; retry?: () => void; }): WorkspaceMoveProgressHandle { const id = `workspace-move-${crypto.randomUUID()}`; @@ -45,6 +55,9 @@ export function startWorkspaceMoveProgress(args: { workspaceMoveId: null, name: args.name, destination: args.destination, + toCloud: args.toCloud, + stayed: [], + open: null, stage: "saving", chats: null, error: null, @@ -65,9 +78,18 @@ export function startWorkspaceMoveProgress(args: { duration: Number.POSITIVE_INFINITY, }); - const finish = (stage: WorkspaceMoveProgressStage) => { - if (stage !== "ready") return; - setTimeout(dismiss, SUCCESS_LINGER_MS); + const stillViewingSource = () => + window.location.hash.includes(`/v2-workspace/${args.sourceWorkspaceId}`); + const finish = (stage: WorkspaceMoveProgressStage, land: () => void) => { + if (stage === "failed") return; + const landed = stillViewingSource(); + if (landed) { + land(); + update(id, { open: null }); + } + if (stage === "ready") { + setTimeout(dismiss, landed ? SUCCESS_LINGER_MS : OPEN_LINGER_MS); + } }; return { @@ -91,8 +113,17 @@ export function startWorkspaceMoveProgress(args: { cancel: null, }); }, - follow: (toWorkspaceId) => { - update(id, { stage: "moving-chats", cancel: null }); + follow: (toWorkspaceId, destination) => { + const open = () => { + destination.open(); + dismiss(); + }; + update(id, { + stage: "moving-chats", + cancel: null, + open, + stayed: destination.stayed, + }); const startedAt = Date.now(); let missed = 0; const poll = async () => { @@ -120,7 +151,7 @@ export function startWorkspaceMoveProgress(args: { : {}), }); if (ended) { - finish(ended); + finish(ended, destination.open); return; } } else { diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/StoredCloudChat/StoredCloudChat.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/StoredCloudChat/StoredCloudChat.tsx index 2ceb8ee7c4c..fe94808db9b 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/StoredCloudChat/StoredCloudChat.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/components/StoredCloudChat/StoredCloudChat.tsx @@ -1,11 +1,9 @@ import { useLingui } from "@lingui/react/macro"; -import { FEATURE_FLAGS } from "@superset/shared/constants"; import { keepPreviousData, useQuery, useQueryClient, } from "@tanstack/react-query"; -import { useFeatureFlagEnabled } from "posthog-js/react"; import { type ReactNode, useEffect } from "react"; import { cloudTrpc } from "renderer/lib/cloud-trpc"; import { electronQueryClient } from "renderer/providers/ElectronTRPCProvider"; @@ -13,7 +11,6 @@ import { sandboxWakeQueryKey } from "renderer/routes/_authenticated/providers/Sa import { useCountdown } from "../../hooks/useCountdown"; import { loadStoredChatSnapshot, - shownStoredChatKey, storedChatSnapshotKey, } from "../../utils/loadStoredChatSnapshot"; import { ConnectionPill, WAKE_UP_ESTIMATE_SECONDS } from "../ConnectionPill"; @@ -42,32 +39,19 @@ export function StoredCloudChat({ const { t } = useLingui(); const queryClient = useQueryClient(); const secondsLeft = useCountdown(WAKE_UP_ESTIMATE_SECONDS); - const enabled = useFeatureFlagEnabled(FEATURE_FLAGS.WORKSPACE_MOVES) === true; - const chats = cloudTrpc.chatHistory.ofWorkspace.useQuery( - { workspaceId }, - { enabled }, - ); + const chats = cloudTrpc.chatHistory.ofWorkspace.useQuery({ workspaceId }); const chatId = chats.data?.[0]?.id ?? null; const stored = useQuery( { queryKey: storedChatSnapshotKey(chatId), queryFn: () => loadStoredChatSnapshot(chatId as string), - enabled: enabled && chatId !== null, + enabled: chatId !== null, placeholderData: keepPreviousData, staleTime: STALE_MS, retry: false, }, electronQueryClient, ); - const shownChatId = stored.isPlaceholderData ? null : chatId; - useEffect(() => { - if (shownChatId) { - electronQueryClient.setQueryData( - shownStoredChatKey(workspaceId), - shownChatId, - ); - } - }, [shownChatId, workspaceId]); useEffect(() => { for (const chat of chats.data?.slice(1, PREFETCHED_CHATS) ?? []) { void electronQueryClient.prefetchQuery({ @@ -77,7 +61,7 @@ export function StoredCloudChat({ }); } }, [chats.data]); - if (!enabled || !chatId || !stored.data) return fallback; + if (!chatId || !stored.data) return fallback; return (
+ Object.values(state.moves).some( + (progress) => move !== undefined && progress.workspaceMoveId === move?.id, + ), + ); if (!move || move.id === dismissed) return null; const inFlight = IN_FLIGHT.has(move.status); const destination = move.toWorkspaceId; - const isSource = move.fromWorkspaceId === workspaceId; - const stayed = move.chats.total - move.chats.ready; const isMine = move.isMine !== false; - const cancellable = - isMine && isSource && move.status === "pending" && !move.toWorkspaceId; - const cancelled = move.status === "failed" && move.error === MOVE_CANCELLED; - const failure = - move.status === "failed" && !cancelled - ? describeMoveError(move.error) - : null; - const cancel = () => { - stopLocalProgress(move.id); + if (move.fromWorkspaceId !== workspaceId) return null; + if (inFlight && isMine && trackedHere) return null; + if (!inFlight && !destination) return null; + if (move.status === "failed" && move.chats.ready === 0) return null; + const cancellable = isMine && move.status === "pending" && !destination; + const cancel = () => abandon.mutate({ workspaceMoveId: move.id, error: MOVE_CANCELLED }); - }; - let label: ReactNode = null; - if (cancelled) { - if (!isSource) return null; - label = The move was stopped. This workspace stayed here.; - } else if (failure) { - if (!isSource) return null; - label = - destination && move.chats.ready > 0 ? ( - - ) : ( - This workspace couldn't move. - ); - } else if (isSource) { - if (inFlight) { - label = isMine ? ( - Moving this workspace… - ) : ( - Someone is moving this workspace… - ); - } else if (move.status === "ready") { - label = This workspace moved; - } else if (move.status === "partial") { - label = ( - - ); - } - } else if (inFlight) { - label = - move.chats.total > 0 ? ( - - ) : ( - Moving this workspace here… - ); - } else if (move.status === "partial") { - const { ready, total } = move.chats; - label = t({ - message: plural(total, { - one: `${ready} of # chat moved here`, - other: `${ready} of # chats moved here`, - }), - }); + const stayed = move.chats.total - move.chats.ready; + let label: ReactNode; + if (inFlight) { + label = isMine ? ( + Moving this workspace… + ) : ( + Someone is moving this workspace… + ); + } else if (stayed === 0) { + label = This workspace moved; + } else { + label = ( + + ); } - if (!label) return null; return (
@@ -128,12 +87,7 @@ export function WorkspaceMoveBanner({ workspaceId }: { workspaceId: string }) { aria-live="polite" className="pointer-events-auto flex max-w-full items-center gap-2.5 rounded-full border border-border bg-popover py-1.5 pr-1.5 pl-3 text-sm text-popover-foreground shadow-lg" > - - {label} - + {label} {cancellable ? ( ) : null} - {isSource && !inFlight && destination ? ( + {!inFlight && destination ? (
); } - -/** The toast of a move this app is running stops at once, not at the next heartbeat. */ -function stopLocalProgress(workspaceMoveId: string): void { - const { moves } = useWorkspaceMoveProgressStore.getState(); - for (const progress of Object.values(moves)) { - if (progress.workspaceMoveId === workspaceMoveId) progress.cancel?.(); - } -} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/ChatPane/components/AcpChatPane/hooks/useStoredChatSnapshot/useStoredChatSnapshot.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/ChatPane/components/AcpChatPane/hooks/useStoredChatSnapshot/useStoredChatSnapshot.ts index 828086835e6..f8a4fea8f8f 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/ChatPane/components/AcpChatPane/hooks/useStoredChatSnapshot/useStoredChatSnapshot.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/ChatPane/components/AcpChatPane/hooks/useStoredChatSnapshot/useStoredChatSnapshot.ts @@ -1,59 +1,34 @@ import type { SessionSnapshot } from "@superset/chat/core"; -import { FEATURE_FLAGS } from "@superset/shared/constants"; import { useQuery } from "@tanstack/react-query"; -import { useFeatureFlagEnabled } from "posthog-js/react"; -import { useEffect } from "react"; +import { useCloudWorkspaces } from "renderer/hooks/useCloudWorkspaces"; import { electronQueryClient } from "renderer/providers/ElectronTRPCProvider"; import { useWorkspace } from "renderer/routes/_authenticated/_dashboard/v2-workspace/providers/WorkspaceProvider"; -import { useLocalHostService } from "renderer/routes/_authenticated/providers/LocalHostServiceProvider"; import { loadStoredChatSnapshot, - shownStoredChatKey, storedChatSnapshotKey, } from "../../../../../../../../utils/loadStoredChatSnapshot"; /** * A cloud chat as the database holds it, so its pane shows the conversation - * while the box wakes instead of an empty transcript. Null without - * `workspace-moves`, and for a computer's chat: the API keeps only a cloud - * box's, and this computer's own host answers at once anyway. + * while the box wakes instead of an empty transcript. Null for a computer's + * chat: the API keeps only a cloud box's. */ export function useStoredChatSnapshot( sessionId: string | null, ): SessionSnapshot | null { - const enabled = useFeatureFlagEnabled(FEATURE_FLAGS.WORKSPACE_MOVES) === true; const { workspace } = useWorkspace(); - const { machineId } = useLocalHostService(); - const elsewhere = workspace.hostId !== machineId; + const { workspaces: cloudWorkspaces = [] } = useCloudWorkspaces(); + const isCloud = cloudWorkspaces.some((row) => row.id === workspace.id); // The app's query client, not the workspace's: the next pane of this workspace reads what this one loaded. const query = useQuery( { queryKey: storedChatSnapshotKey(sessionId), queryFn: () => loadStoredChatSnapshot(sessionId as string), - placeholderData: () => { - const shown = electronQueryClient.getQueryData( - shownStoredChatKey(workspace.id), - ); - return shown - ? electronQueryClient.getQueryData( - storedChatSnapshotKey(shown), - ) - : undefined; - }, - enabled: enabled && elsewhere && sessionId !== null, + enabled: isCloud && sessionId !== null, staleTime: 60_000, retry: false, }, electronQueryClient, ); - const shownId = query.data && !query.isPlaceholderData ? sessionId : null; - useEffect(() => { - if (shownId) { - electronQueryClient.setQueryData( - shownStoredChatKey(workspace.id), - shownId, - ); - } - }, [shownId, workspace.id]); return query.data ?? null; } diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/WaitsForWorkspace.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/WaitsForWorkspace.tsx new file mode 100644 index 00000000000..09df192277e --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/WaitsForWorkspace.tsx @@ -0,0 +1,33 @@ +import { Trans } from "@lingui/react/macro"; +import { WaveSpinner } from "@superset/ui/atoms/WaveSpinner"; +import type { ReactNode } from "react"; +import { useSandboxAccess } from "renderer/routes/_authenticated/providers/SandboxAccessProvider"; +import { useHostReachability } from "../../../../../hooks/useHostReachability"; +import { useWorkspace } from "../../../../../providers/WorkspaceProvider"; + +/** Hosts that answered since the app started, so a pane remounted during a later drop keeps its contents. */ +const answeredHosts = new Set(); + +/** + * A pane that reads the cloud box itself (a shell, its files, its git) waits + * here until the box first answers. Once it has, a later drop is the pane's + * own to show, so a terminal keeps its scrollback. + */ +export function WaitsForWorkspace({ children }: { children: ReactNode }) { + const { workspace, hostUrl } = useWorkspace(); + const { targets } = useSandboxAccess(); + const isCloud = targets.some( + (target) => target.workspaceId === workspace.hostId, + ); + const { isReconnecting, hasConnected } = useHostReachability(hostUrl); + if (hasConnected) answeredHosts.add(hostUrl); + if (!isCloud || answeredHosts.has(hostUrl) || !isReconnecting) { + return children; + } + return ( +
+ + Waking up workspace +
+ ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/index.ts new file mode 100644 index 00000000000..04174eac1f1 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/components/WaitsForWorkspace/index.ts @@ -0,0 +1 @@ +export { WaitsForWorkspace } from "./WaitsForWorkspace"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/usePaneRegistry.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/usePaneRegistry.tsx index 2aa06845fd4..e24eadc7e70 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/usePaneRegistry.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/usePaneRegistry.tsx @@ -128,6 +128,7 @@ import { openInActions } from "./utils/openInActions"; import { pagePaneLabel } from "./utils/pagePaneLabel"; import { pagesListPageUiId } from "./utils/pagesListPageUiId"; import { replaceEndedTerminal } from "./utils/replaceEndedTerminal"; +import { waitForWorkspace } from "./utils/waitForWorkspace"; function getFileName(filePath: string): string { return getBaseName(filePath); @@ -311,834 +312,848 @@ export function usePaneRegistry({ ); return useMemo>( - () => ({ - file: { - getIcon: (ctx: RendererContext) => { - const data = ctx.pane.data as FilePaneData; - const name = getFileName(data.filePath); - return ; - }, - getTitle: (pane) => getFileName((pane.data as FilePaneData).filePath), - renderTitle: (ctx: RendererContext) => { - const data = ctx.pane.data as FilePaneData; - return ( - - ); - }, - renderPane: (ctx: RendererContext) => { - const inRightPane = ctx.store === rightStore; - return ( - - + waitForWorkspace({ + file: { + getIcon: (ctx: RendererContext) => { + const data = ctx.pane.data as FilePaneData; + const name = getFileName(data.filePath); + return ; + }, + getTitle: (pane) => getFileName((pane.data as FilePaneData).filePath), + renderTitle: (ctx: RendererContext) => { + const data = ctx.pane.data as FilePaneData; + return ( + - - ); - }, - renderHeaderExtras: (ctx: RendererContext) => ( - - ), - onHeaderClick: (ctx: RendererContext) => - ctx.actions.pin(), - onBeforeClose: (pane) => { - const data = pane.data as FilePaneData; - const doc = getDocument(workspaceId, data.filePath); - if (!doc?.dirty) return true; - const name = getFileName(data.filePath); - return new Promise((resolve) => { - alert({ - onDismiss: () => resolve(false), - title: t({ - message: `Do you want to save the changes you made to ${name}?`, - }), - description: t({ - message: "Your changes will be lost if you don't save them.", - }), - actions: [ - { - label: t({ - message: "Save", - }), - onClick: async () => { - const doc = getDocument(workspaceId, data.filePath); - if (!doc) { + ); + }, + renderPane: (ctx: RendererContext) => { + const inRightPane = ctx.store === rightStore; + return ( + + + + ); + }, + renderHeaderExtras: (ctx: RendererContext) => ( + + ), + onHeaderClick: (ctx: RendererContext) => + ctx.actions.pin(), + onBeforeClose: (pane) => { + const data = pane.data as FilePaneData; + const doc = getDocument(workspaceId, data.filePath); + if (!doc?.dirty) return true; + const name = getFileName(data.filePath); + return new Promise((resolve) => { + alert({ + onDismiss: () => resolve(false), + title: t({ + message: `Do you want to save the changes you made to ${name}?`, + }), + description: t({ + message: "Your changes will be lost if you don't save them.", + }), + actions: [ + { + label: t({ + message: "Save", + }), + onClick: async () => { + const doc = getDocument(workspaceId, data.filePath); + if (!doc) { + resolve(true); + return; + } + const result = await doc.save(); + if (result.status !== "saved") { + const target = store.getState().getPane(pane.id); + if (target) + store.getState().setActivePane({ + tabId: target.tabId, + paneId: pane.id, + }); + } + // Only proceed to close if the save succeeded; otherwise + // leave the pane open so the user can see the conflict / + // error state and retry. + resolve(result.status === "saved"); + }, + }, + { + label: t({ + message: "Don't Save", + }), + variant: "secondary", + onClick: async () => { + const doc = getDocument(workspaceId, data.filePath); + if (doc) await doc.reload(); resolve(true); - return; - } - const result = await doc.save(); - if (result.status !== "saved") { - const target = store.getState().getPane(pane.id); - if (target) - store.getState().setActivePane({ - tabId: target.tabId, - paneId: pane.id, - }); - } - // Only proceed to close if the save succeeded; otherwise - // leave the pane open so the user can see the conflict / - // error state and retry. - resolve(result.status === "saved"); + }, }, - }, - { - label: t({ - message: "Don't Save", - }), - variant: "secondary", - onClick: async () => { - const doc = getDocument(workspaceId, data.filePath); - if (doc) await doc.reload(); - resolve(true); + { + label: t({ + message: "Cancel", + }), + variant: "ghost", + onClick: () => resolve(false), }, - }, - { - label: t({ - message: "Cancel", - }), - variant: "ghost", - onClick: () => resolve(false), - }, - ], + ], + }); }); - }); + }, + contextMenuActions: (_ctx, defaults) => + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close File", + }), + } + : d, + ), }, - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close File", - }), - } - : d, - ), - }, - diff: { - keepAlive: true, - getIcon: () => , - getTitle: () => t({ message: "Changes" }), - // With the right pane area, the pane fills its own header (scope on - // the left, view controls on the right) through these slots. - renderTitle: (ctx: RendererContext) => ( - - ), - renderPane: (ctx: RendererContext) => ( - - ), - renderHeaderExtras: (ctx: RendererContext) => ( - - ), - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Diff", - }), - } - : d, - ), - }, - terminal: { - getIcon: (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - return ( - , + getTitle: () => t({ message: "Changes" }), + // With the right pane area, the pane fills its own header (scope on + // the left, view controls on the right) through these slots. + renderTitle: (ctx: RendererContext) => ( + - ); - }, - getTitle: () => - t({ - message: "Terminal", - }), - titleSource: (pane) => { - const { terminalId } = pane.data as TerminalPaneData; - const instanceId = pane.id; - return { - subscribe: (callback) => - terminalRuntimeRegistry.onTitleChange( - terminalId, - callback, - instanceId, - ), - getSnapshot: () => - terminalRuntimeRegistry - .getTitle(terminalId, instanceId) - ?.trim() || undefined, - }; - }, - onBeforeClose: (pane) => { - const { terminalId } = pane.data as TerminalPaneData; - return confirmCloseTerminals( - [terminalId], - (id) => probeTerminalRunning(workspaceTrpcUtils, workspaceId, id), - { - title: t({ - message: "A process is still running in this terminal", - }), - description: t({ - message: "Closing this terminal will end the running process.", - }), - confirmLabel: t({ - message: "Close terminal", - }), - }, - ); - }, - onAfterClose: (pane, closedPanes) => { - const { terminalId } = pane.data as TerminalPaneData; - if ((pane.data as { agentSurface?: string }).agentSurface === "acp") { - return; - } - const firstClosed = closedPanes.find( - (candidate) => - candidate.kind === "terminal" && - (candidate.data as TerminalPaneData).terminalId === terminalId, - ); - if (firstClosed?.id !== pane.id) return; - if ( - [store, ...(linkedStores ?? [])].some((candidate) => - findTerminalPaneLocation(candidate.getState(), terminalId), - ) - ) { - terminalRuntimeRegistry.release(terminalId, pane.id); - return; - } - if (consumeTerminalBackgroundIntent(terminalId)) { - terminalRuntimeRegistry.release(terminalId); - return; - } - clearWorkspaceRunTerminal(terminalId); - terminalRuntimeRegistry.dispose(terminalId); - killTerminalSessionSilently({ terminalId, workspaceId }); - }, - onAfterRemove: (pane) => { - terminalRuntimeRegistry.release( - (pane.data as TerminalPaneData).terminalId, - pane.id, - ); - }, - renderTitle: (ctx: RendererContext) => ( -
- ) => ( + - ) => ( + -
- ), - renderHeaderExtras: (ctx: RendererContext) => { - const data = ctx.pane.data as TerminalPaneData; - const { terminalId } = data; - return ( -
- + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Diff", + }), + } + : d, + ), + }, + terminal: { + getIcon: (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + return ( + startNewShell(ctx)} - onCreateNewAgentSession={createNewAgentSession} - onForkIntoOtherSurface={(source) => - void forkIntoOtherSurface(ctx, source) - } - onOpenSubagent={onOpenSubagent} /> -
- ); - }, - renderPane: (ctx: RendererContext) => ( - startNewShell(ctx)} - workspaceId={workspaceId} - /> - ), - contextMenuActions: (_ctx, defaults) => { - const terminalActions: ContextMenuActionConfig[] = [ - { - key: "copy", - label: t({ message: "Copy" }), - icon: , - shortcut: `${MOD_KEY}C`, - disabled: (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - return !terminalRuntimeRegistry.getSelection( - terminalId, - ctx.pane.id, - ); - }, - onSelect: (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - const text = terminalRuntimeRegistry.getSelection( + ); + }, + getTitle: () => + t({ + message: "Terminal", + }), + titleSource: (pane) => { + const { terminalId } = pane.data as TerminalPaneData; + const instanceId = pane.id; + return { + subscribe: (callback) => + terminalRuntimeRegistry.onTitleChange( terminalId, - ctx.pane.id, - ); - if (text) { - void writeTerminalClipboard(text).catch((error: unknown) => { - console.error("[terminal] Failed to copy selection", error); - }); - } + callback, + instanceId, + ), + getSnapshot: () => + terminalRuntimeRegistry + .getTitle(terminalId, instanceId) + ?.trim() || undefined, + }; + }, + onBeforeClose: (pane) => { + const { terminalId } = pane.data as TerminalPaneData; + return confirmCloseTerminals( + [terminalId], + (id) => probeTerminalRunning(workspaceTrpcUtils, workspaceId, id), + { + title: t({ + message: "A process is still running in this terminal", + }), + description: t({ + message: + "Closing this terminal will end the running process.", + }), + confirmLabel: t({ + message: "Close terminal", + }), }, - }, - { - key: "paste", - label: t({ - message: "Paste", - }), - icon: , - shortcut: `${MOD_KEY}V`, - onSelect: async (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - try { - const text = await navigator.clipboard.readText(); + ); + }, + onAfterClose: (pane, closedPanes) => { + const { terminalId } = pane.data as TerminalPaneData; + if ( + (pane.data as { agentSurface?: string }).agentSurface === "acp" + ) { + return; + } + const firstClosed = closedPanes.find( + (candidate) => + candidate.kind === "terminal" && + (candidate.data as TerminalPaneData).terminalId === terminalId, + ); + if (firstClosed?.id !== pane.id) return; + if ( + [store, ...(linkedStores ?? [])].some((candidate) => + findTerminalPaneLocation(candidate.getState(), terminalId), + ) + ) { + terminalRuntimeRegistry.release(terminalId, pane.id); + return; + } + if (consumeTerminalBackgroundIntent(terminalId)) { + terminalRuntimeRegistry.release(terminalId); + return; + } + clearWorkspaceRunTerminal(terminalId); + terminalRuntimeRegistry.dispose(terminalId); + killTerminalSessionSilently({ terminalId, workspaceId }); + }, + onAfterRemove: (pane) => { + terminalRuntimeRegistry.release( + (pane.data as TerminalPaneData).terminalId, + pane.id, + ); + }, + renderTitle: (ctx: RendererContext) => ( +
+ + +
+ ), + renderHeaderExtras: (ctx: RendererContext) => { + const data = ctx.pane.data as TerminalPaneData; + const { terminalId } = data; + return ( +
+ startNewShell(ctx)} + onCreateNewAgentSession={createNewAgentSession} + onForkIntoOtherSurface={(source) => + void forkIntoOtherSurface(ctx, source) + } + onOpenSubagent={onOpenSubagent} + /> +
+ ); + }, + renderPane: (ctx: RendererContext) => ( + startNewShell(ctx)} + workspaceId={workspaceId} + /> + ), + contextMenuActions: (_ctx, defaults) => { + const terminalActions: ContextMenuActionConfig[] = [ + { + key: "copy", + label: t({ message: "Copy" }), + icon: , + shortcut: `${MOD_KEY}C`, + disabled: (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + return !terminalRuntimeRegistry.getSelection( + terminalId, + ctx.pane.id, + ); + }, + onSelect: (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + const text = terminalRuntimeRegistry.getSelection( + terminalId, + ctx.pane.id, + ); if (text) { - terminalRuntimeRegistry.paste( - terminalId, - text, - ctx.pane.id, + void writeTerminalClipboard(text).catch( + (error: unknown) => { + console.error( + "[terminal] Failed to copy selection", + error, + ); + }, ); } - } catch { - // Clipboard access denied - } + }, }, - }, - { key: "sep-terminal-clipboard", type: "separator" }, - { - key: "clear-terminal", - label: t({ - message: "Clear Terminal", - }), - icon: , - shortcut: - clearShortcut !== "Unassigned" ? clearShortcut : undefined, - onSelect: (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - terminalRuntimeRegistry.clear(terminalId, ctx.pane.id); + { + key: "paste", + label: t({ + message: "Paste", + }), + icon: , + shortcut: `${MOD_KEY}V`, + onSelect: async (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + try { + const text = await navigator.clipboard.readText(); + if (text) { + terminalRuntimeRegistry.paste( + terminalId, + text, + ctx.pane.id, + ); + } + } catch { + // Clipboard access denied + } + }, }, - }, - { - key: "scroll-to-bottom", + { key: "sep-terminal-clipboard", type: "separator" }, + { + key: "clear-terminal", + label: t({ + message: "Clear Terminal", + }), + icon: , + shortcut: + clearShortcut !== "Unassigned" ? clearShortcut : undefined, + onSelect: (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + terminalRuntimeRegistry.clear(terminalId, ctx.pane.id); + }, + }, + { + key: "scroll-to-bottom", + label: t({ + message: "Scroll to Bottom", + }), + icon: , + shortcut: + scrollToBottomShortcut !== "Unassigned" + ? scrollToBottomShortcut + : undefined, + onSelect: (ctx) => { + const { terminalId } = ctx.pane.data as TerminalPaneData; + terminalRuntimeRegistry.scrollToBottom( + terminalId, + ctx.pane.id, + ); + }, + }, + { key: "sep-terminal-defaults", type: "separator" }, + ]; + + // Only present when the right-click landed on a link. "Open in" + // covers what "Split with New Browser" did for a URL, so the terminal + // menu drops that default rather than offering both. + const linkAt = (ctx: RendererContext) => + terminalContextMenuLinkStore.get(ctx.pane.id)?.link ?? null; + // A URL, or a file/folder the host resolved. A file link that never + // resolved has nowhere to open and nothing to copy, so the section + // stays hidden rather than showing an empty submenu. + const copyableLinkText = ( + ctx: RendererContext, + ): string | null => { + const link = linkAt(ctx); + if (!link) return null; + return link.kind === "url" + ? link.url + : (link.resolvedPath ?? null); + }; + const copyLinkText = (ctx: RendererContext) => { + const text = copyableLinkText(ctx); + if (!text) return; + navigator.clipboard.writeText(text).catch(() => { + toast.error(t({ message: "Copy failed" })); + }); + }; + const linkActions: ContextMenuActionConfig[] = [ + { + key: "open-link-in", + label: t({ message: "Open in" }), + icon: , + hidden: (ctx) => !copyableLinkText(ctx), + children: openInActions, + }, + { + key: "copy-link", + label: t({ message: "Copy Link" }), + icon: , + hidden: (ctx) => linkAt(ctx)?.kind !== "url", + onSelect: copyLinkText, + }, + { + key: "copy-path", + label: t({ message: "Copy Path" }), + icon: , + hidden: (ctx) => { + const link = linkAt(ctx); + return link?.kind !== "file" || !link.resolvedPath; + }, + onSelect: copyLinkText, + }, + { + key: "sep-open-link-in", + type: "separator", + hidden: (ctx) => !copyableLinkText(ctx), + }, + ]; + + const modifiedDefaults = defaults + .filter((d) => d.key !== "split-with-browser") + .map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Terminal", + }), + } + : d, + ); + + const killAction: ContextMenuActionConfig = { + key: "kill-terminal-session", label: t({ - message: "Scroll to Bottom", + message: "Kill Terminal Session", }), - icon: , - shortcut: - scrollToBottomShortcut !== "Unassigned" - ? scrollToBottomShortcut - : undefined, + icon: , + variant: "destructive", + disabled: isKillingTerminalSession, onSelect: (ctx) => { const { terminalId } = ctx.pane.data as TerminalPaneData; - terminalRuntimeRegistry.scrollToBottom(terminalId, ctx.pane.id); + killTerminalSession({ + terminalId, + workspaceId, + }); }, - }, - { key: "sep-terminal-defaults", type: "separator" }, - ]; + }; - // Only present when the right-click landed on a link. "Open in" - // covers what "Split with New Browser" did for a URL, so the terminal - // menu drops that default rather than offering both. - const linkAt = (ctx: RendererContext) => - terminalContextMenuLinkStore.get(ctx.pane.id)?.link ?? null; - // A URL, or a file/folder the host resolved. A file link that never - // resolved has nowhere to open and nothing to copy, so the section - // stays hidden rather than showing an empty submenu. - const copyableLinkText = ( - ctx: RendererContext, - ): string | null => { - const link = linkAt(ctx); - if (!link) return null; - return link.kind === "url" ? link.url : (link.resolvedPath ?? null); - }; - const copyLinkText = (ctx: RendererContext) => { - const text = copyableLinkText(ctx); - if (!text) return; - navigator.clipboard.writeText(text).catch(() => { - toast.error(t({ message: "Copy failed" })); + return [ + ...terminalActions, + ...linkActions, + ...modifiedDefaults, + { key: "sep-terminal-kill", type: "separator" }, + killAction, + ]; + }, + }, + browser: { + getIcon: () => , + getTitle: (pane) => { + const data = pane.data as BrowserPaneData; + if (data.pageTitle) return data.pageTitle; + if (data.url && data.url !== "about:blank") { + try { + return new URL(data.url).host; + } catch {} + } + return t({ + message: "Browser", }); - }; - const linkActions: ContextMenuActionConfig[] = [ - { - key: "open-link-in", - label: t({ message: "Open in" }), - icon: , - hidden: (ctx) => !copyableLinkText(ctx), - children: openInActions, - }, - { - key: "copy-link", - label: t({ message: "Copy Link" }), - icon: , - hidden: (ctx) => linkAt(ctx)?.kind !== "url", - onSelect: copyLinkText, - }, - { - key: "copy-path", - label: t({ message: "Copy Path" }), - icon: , - hidden: (ctx) => { - const link = linkAt(ctx); - return link?.kind !== "file" || !link.resolvedPath; - }, - onSelect: copyLinkText, - }, - { - key: "sep-open-link-in", - type: "separator", - hidden: (ctx) => !copyableLinkText(ctx), - }, - ]; - - const modifiedDefaults = defaults - .filter((d) => d.key !== "split-with-browser") - .map((d) => + }, + renderPane: (ctx: RendererContext) => ( + + ), + renderToolbar: (ctx: RendererContext) => ( + + ), + // Destruction handled by useGlobalBrowserLifecycle for now. + contextMenuActions: (_ctx, defaults) => + defaults.map((d) => d.key === "close-pane" ? { ...d, label: t({ - message: "Close Terminal", + message: "Close Browser", }), } : d, - ); - - const killAction: ContextMenuActionConfig = { - key: "kill-terminal-session", - label: t({ - message: "Kill Terminal Session", - }), - icon: , - variant: "destructive", - disabled: isKillingTerminalSession, - onSelect: (ctx) => { - const { terminalId } = ctx.pane.data as TerminalPaneData; - killTerminalSession({ - terminalId, - workspaceId, - }); - }, - }; - - return [ - ...terminalActions, - ...linkActions, - ...modifiedDefaults, - { key: "sep-terminal-kill", type: "separator" }, - killAction, - ]; + ), }, - }, - browser: { - getIcon: () => , - getTitle: (pane) => { - const data = pane.data as BrowserPaneData; - if (data.pageTitle) return data.pageTitle; - if (data.url && data.url !== "about:blank") { - try { - return new URL(data.url).host; - } catch {} - } - return t({ - message: "Browser", - }); - }, - renderPane: (ctx: RendererContext) => ( - - ), - renderToolbar: (ctx: RendererContext) => ( - - ), - // Destruction handled by useGlobalBrowserLifecycle for now. - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Browser", + ...(desktopUrl + ? { + desktop: { + getIcon: () => , + getTitle: () => + t({ + message: "Desktop", }), - } - : d, + renderPane: () => , + }, + } + : {}), + files: { + getIcon: () => , + getTitle: () => t({ message: "Files" }), + renderPane: (ctx: RendererContext) => ( + ), - }, - ...(desktopUrl - ? { - desktop: { - getIcon: () => , - getTitle: () => - t({ - message: "Desktop", - }), - renderPane: () => , - }, - } - : {}), - files: { - getIcon: () => , - getTitle: () => t({ message: "Files" }), - renderPane: (ctx: RendererContext) => ( - - ), - }, - "changes-list": { - getIcon: () => , - getTitle: () => t({ message: "Files changed" }), - renderPane: (ctx: RendererContext) => ( - - ), - }, - review: { - getIcon: () => , - getTitle: () => t({ message: "Review" }), - renderPane: (ctx: RendererContext) => ( - - ), - }, - "pages-list": { - getIcon: () => , - getTitle: (pane) => { - const { page } = pane.data as PagesListPaneData; - return page ? pagePaneLabel(page) : t({ message: "Pages" }); }, - renderTitle: (ctx: RendererContext) => { - const { page } = ctx.pane.data as PagesListPaneData; - if (!page) return undefined; - return ( - ctx.actions.updateData({ kind: "pages-list" })} - /> - ); + "changes-list": { + getIcon: () => , + getTitle: () => t({ message: "Files changed" }), + renderPane: (ctx: RendererContext) => ( + + ), }, - renderHeaderExtras: (ctx: RendererContext) => { - const { page } = ctx.pane.data as PagesListPaneData; - if (!page) return undefined; - return ( - , + getTitle: () => t({ message: "Review" }), + renderPane: (ctx: RendererContext) => ( + + ), + }, + "pages-list": { + getIcon: () => , + getTitle: (pane) => { + const { page } = pane.data as PagesListPaneData; + return page ? pagePaneLabel(page) : t({ message: "Pages" }); + }, + renderTitle: (ctx: RendererContext) => { + const { page } = ctx.pane.data as PagesListPaneData; + if (!page) return undefined; + return ( + ctx.actions.updateData({ kind: "pages-list" })} + /> + ); + }, + renderHeaderExtras: (ctx: RendererContext) => { + const { page } = ctx.pane.data as PagesListPaneData; + if (!page) return undefined; + return ( + + ); + }, + renderPane: (ctx: RendererContext) => ( + - ); + ), }, - renderPane: (ctx: RendererContext) => ( - - ), - }, - [NEW_TAB_PANE_KIND]: { - getIcon: () => , - getTitle: () => t({ message: "New Tab" }), - hideHeader: (ctx) => ctx.pane.parentDirection === null, - renderPane: (ctx: RendererContext) => ( - - replaceNewTabPane( - ctx.store, - { tabId: ctx.tab.id, paneId: ctx.pane.id }, - pane, - ) - } - /> - ), - }, - mobile: { - getIcon: () => , - getTitle: () => - t({ - message: "Mobile", - }), - renderPane: () => , - }, - [PENDING_CLOUD_CHAT_PANE_KIND]: { - getIcon: (ctx) => { - const data = ctx.pane.data as PendingCloudChatPaneData; - return chatPaneIcon({ - terminalId: data.draftId, - sessionId: null, - agent: { id: data.agentId }, - }); + [NEW_TAB_PANE_KIND]: { + getIcon: () => , + getTitle: () => t({ message: "New Tab" }), + hideHeader: (ctx) => ctx.pane.parentDirection === null, + renderPane: (ctx: RendererContext) => ( + + replaceNewTabPane( + ctx.store, + { tabId: ctx.tab.id, paneId: ctx.pane.id }, + pane, + ) + } + /> + ), }, - getTitle: () => t({ message: "Chat" }), - onAfterClose: (pane) => { - const { terminalId } = pane.data as PendingCloudChatPaneData; - if (terminalId) ignoreChatTerminal(terminalId); + mobile: { + getIcon: () => , + getTitle: () => + t({ + message: "Mobile", + }), + renderPane: () => , }, - insetsAside: true, - renderPane: (ctx: RendererContext) => ( - - ), - }, - "chat-v3": { - getIcon: (ctx) => chatPaneIcon(ctx.pane.data as ChatPaneData), - getTitle: () => - t({ - message: "Chat", - }), - titleSource: (pane) => { - const { chatTitle } = pane.data as ChatPaneData; - return { - subscribe: () => () => {}, - getSnapshot: () => chatTitle, - }; + [PENDING_CLOUD_CHAT_PANE_KIND]: { + getIcon: (ctx) => { + const data = ctx.pane.data as PendingCloudChatPaneData; + return chatPaneIcon({ + terminalId: data.draftId, + sessionId: null, + agent: { id: data.agentId }, + }); + }, + getTitle: () => t({ message: "Chat" }), + onAfterClose: (pane) => { + const { terminalId } = pane.data as PendingCloudChatPaneData; + if (terminalId) ignoreChatTerminal(terminalId); + }, + insetsAside: true, + renderPane: (ctx: RendererContext) => ( + + ), }, - onAfterClose: closeChatWithUndo, - insetsAside: true, - renderTitle: (ctx: RendererContext) => { - const data = ctx.pane.data as ChatPaneData; - return ( - chatPaneIcon(ctx.pane.data as ChatPaneData), + getTitle: () => + t({ + message: "Chat", + }), + titleSource: (pane) => { + const { chatTitle } = pane.data as ChatPaneData; + return { + subscribe: () => () => {}, + getSnapshot: () => chatTitle, + }; + }, + onAfterClose: closeChatWithUndo, + insetsAside: true, + renderTitle: (ctx: RendererContext) => { + const data = ctx.pane.data as ChatPaneData; + return ( + + ); + }, + renderHeaderExtras: (ctx: RendererContext) => { + const data = ctx.pane.data as ChatPaneData; + return ( +
+ + + void forkIntoOtherSurface(ctx, source)} + workspaceId={workspaceId} + /> +
+ ); + }, + renderPane: (ctx: RendererContext) => ( + - ); + ), + contextMenuActions: ( + _ctx: RendererContext, + defaults: ContextMenuActionConfig[], + ) => + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Chat", + }), + } + : d, + ), }, - renderHeaderExtras: (ctx: RendererContext) => { - const data = ctx.pane.data as ChatPaneData; - return ( -
- - - void forkIntoOtherSurface(ctx, source)} - workspaceId={workspaceId} + comment: { + getIcon: (ctx: RendererContext) => { + const data = ctx.pane.data as CommentPaneData; + if (!data.avatarUrl) { + return ; + } + return ( + -
- ); + ); + }, + getTitle: (pane) => { + const data = pane.data as CommentPaneData; + return data.authorLogin; + }, + renderTitle: (ctx: RendererContext) => ( + + ), + renderPane: (ctx: RendererContext) => ( + + ), + renderHeaderExtras: (ctx: RendererContext) => ( + + ), + contextMenuActions: (_ctx, defaults) => + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Comment", + }), + } + : d, + ), }, - renderPane: (ctx: RendererContext) => ( - - ), - contextMenuActions: ( - _ctx: RendererContext, - defaults: ContextMenuActionConfig[], - ) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Chat", - }), - } - : d, + "pull-request": { + keepAlive: true, + getIcon: () => , + getTitle: (pane) => { + const data = pane.data as PullRequestPaneData; + return t({ message: `Pull request #${data.number}` }); + }, + renderPane: (ctx: RendererContext) => ( + openPagePaneInStore(ctx.store, page)} + /> ), - }, - comment: { - getIcon: (ctx: RendererContext) => { - const data = ctx.pane.data as CommentPaneData; - if (!data.avatarUrl) { - return ; - } - return ( - ) => ( + - ); - }, - getTitle: (pane) => { - const data = pane.data as CommentPaneData; - return data.authorLogin; - }, - renderTitle: (ctx: RendererContext) => ( - - ), - renderPane: (ctx: RendererContext) => ( - - ), - renderHeaderExtras: (ctx: RendererContext) => ( - - ), - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Comment", - }), - } - : d, ), - }, - "pull-request": { - keepAlive: true, - getIcon: () => , - getTitle: (pane) => { - const data = pane.data as PullRequestPaneData; - return t({ message: `Pull request #${data.number}` }); + contextMenuActions: (_ctx, defaults) => + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Pull Request", + }), + } + : d, + ), }, - renderPane: (ctx: RendererContext) => ( - openPagePaneInStore(ctx.store, page)} - /> - ), - renderHeaderExtras: (ctx: RendererContext) => ( - - ), - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Pull Request", - }), - } - : d, + [SUBAGENT_PANE_KIND]: { + getIcon: () => , + getTitle: (pane) => { + const { agentType } = pane.data as SubagentPaneData; + const label = t({ message: "Subagent" }); + return agentType ? `${label} · ${agentType}` : label; + }, + renderPane: (ctx: RendererContext) => ( + { + const { terminalId } = ctx.pane.data as SubagentPaneData; + const focused = [store, ...(linkedStores ?? [])].some((s) => + focusTerminalPane(s, terminalId), + ); + if (!focused) focusOrAddTerminalPane(store, terminalId); + }} + /> ), - }, - [SUBAGENT_PANE_KIND]: { - getIcon: () => , - getTitle: (pane) => { - const { agentType } = pane.data as SubagentPaneData; - const label = t({ message: "Subagent" }); - return agentType ? `${label} · ${agentType}` : label; }, - renderPane: (ctx: RendererContext) => ( - { - const { terminalId } = ctx.pane.data as SubagentPaneData; - const focused = [store, ...(linkedStores ?? [])].some((s) => - focusTerminalPane(s, terminalId), - ); - if (!focused) focusOrAddTerminalPane(store, terminalId); - }} - /> - ), - }, - page: { - getIcon: () => , - getTitle: (pane) => pagePaneLabel(pane.data as PagePaneData), - renderTitle: (ctx: RendererContext) => ( - ctx.actions.close()} - /> - ), - renderHeaderExtras: (ctx: RendererContext) => ( - - ), - renderPane: (ctx: RendererContext) => ( - - ctx.actions.updateData(data as PaneViewerData) - } - onFocus={ctx.actions.focus} - /> - ), - contextMenuActions: (_ctx, defaults) => - defaults.map((d) => - d.key === "close-pane" - ? { - ...d, - label: t({ - message: "Close Page", - }), - } - : d, + page: { + getIcon: () => , + getTitle: (pane) => pagePaneLabel(pane.data as PagePaneData), + renderTitle: (ctx: RendererContext) => ( + ctx.actions.close()} + /> ), - }, - devtools: { - getTitle: () => - t({ - message: "DevTools", - }), - renderPane: (ctx: RendererContext) => { - const data = ctx.pane.data as DevtoolsPaneData; - return ( -
- Inspecting {data.targetTitle} -
- ); + renderHeaderExtras: (ctx: RendererContext) => ( + + ), + renderPane: (ctx: RendererContext) => ( + + ctx.actions.updateData(data as PaneViewerData) + } + onFocus={ctx.actions.focus} + /> + ), + contextMenuActions: (_ctx, defaults) => + defaults.map((d) => + d.key === "close-pane" + ? { + ...d, + label: t({ + message: "Close Page", + }), + } + : d, + ), }, - }, - }), + devtools: { + getTitle: () => + t({ + message: "DevTools", + }), + renderPane: (ctx: RendererContext) => { + const data = ctx.pane.data as DevtoolsPaneData; + return ( +
+ Inspecting {data.targetTitle} +
+ ); + }, + }, + }), [ store, linkedStores, diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/index.ts new file mode 100644 index 00000000000..e82dc2f7c87 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/index.ts @@ -0,0 +1 @@ +export { PANES_NEEDING_THE_BOX, waitForWorkspace } from "./waitForWorkspace"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/waitForWorkspace.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/waitForWorkspace.tsx new file mode 100644 index 00000000000..5afd4a5a978 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/usePaneRegistry/utils/waitForWorkspace/waitForWorkspace.tsx @@ -0,0 +1,32 @@ +import type { PaneRegistry, RendererContext } from "@superset/panes"; +import { WaitsForWorkspace } from "../../components/WaitsForWorkspace"; + +/** Panes that read the box itself, so they have nothing to show before it answers. */ +export const PANES_NEEDING_THE_BOX = [ + "file", + "diff", + "terminal", + "files", + "changes-list", + "review", + "mobile", +] as const; + +/** The registry with each of `kinds` waiting for a cloud box to answer first. */ +export function waitForWorkspace( + registry: PaneRegistry, + kinds: readonly string[] = PANES_NEEDING_THE_BOX, +): PaneRegistry { + const next: PaneRegistry = { ...registry }; + for (const kind of kinds) { + const definition = registry[kind]; + if (!definition) continue; + next[kind] = { + ...definition, + renderPane: (ctx: RendererContext) => ( + {definition.renderPane(ctx)} + ), + }; + } + return next; +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/useSyncChatSessionTabs.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/useSyncChatSessionTabs.ts index e8c32b4e259..23465565349 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/useSyncChatSessionTabs.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/useSyncChatSessionTabs.ts @@ -4,6 +4,8 @@ import { useQuery } from "@tanstack/react-query"; import { useEffect, useMemo, useRef } from "react"; import { useWorkspaceConnectionRefresh } from "renderer/hooks/host-service/useWorkspaceConnectionRefresh"; import { useWorkspaceEvent } from "renderer/hooks/host-service/useWorkspaceEvent"; +import { useCloudWorkspaces } from "renderer/hooks/useCloudWorkspaces"; +import { cloudTrpc } from "renderer/lib/cloud-trpc"; import type { StoreApi } from "zustand/vanilla"; import type { PaneViewerData } from "../../types"; import { addChatTab } from "../../utils/focusChatSession"; @@ -11,6 +13,8 @@ import { useChatWiring } from "../usePaneRegistry/components/ChatSession/hooks/u import { CHAT_ADOPT_POLL_MS, CHAT_ADOPT_SESSIONS_LIMIT } from "./constants"; import { chatPanesClosedElsewhere } from "./utils/chatPanesClosedElsewhere"; import { chatSessionsToAdopt } from "./utils/chatSessionsToAdopt"; +import { storedChatsAsListed } from "./utils/storedChatsAsListed"; +import { storedPanesTheHostClosed } from "./utils/storedPanesTheHostClosed"; interface UseSyncChatSessionTabsArgs { store: StoreApi>; @@ -55,6 +59,14 @@ export function useSyncChatSessionTabs({ ); const sessions = sessionsQuery.data; const isFetchingSessions = sessionsQuery.isFetching; + const { workspaces: cloudWorkspaces = [] } = useCloudWorkspaces(); + const isCloud = cloudWorkspaces.some((row) => row.id === workspaceId); + const storedChats = cloudTrpc.chatHistory.ofWorkspace.useQuery( + { workspaceId }, + { enabled: isLayoutReady && isCloud && !sessions, staleTime: 60_000 }, + ).data; + const adoptedStored = useRef(false); + const storedSessionIds = useRef(new Set()); const openedEmpty = useRef(null); useEffect(() => { if (!isLayoutReady || openedEmpty.current !== null) return; @@ -63,17 +75,52 @@ export function useSyncChatSessionTabs({ ); }, [isLayoutReady, store, linkedStores]); + // A cloud workspace opened here for the first time shows its stored chats + // while the box wakes; the box's own list then closes any it had closed. + useEffect(() => { + if (!isLayoutReady || sessions || !storedChats || adoptedStored.current) + return; + adoptedStored.current = true; + const paneStores = [store, ...linkedStores]; + if (paneStores.some((paneStore) => paneStore.getState().tabs.length > 0)) + return; + const toAdopt = chatSessionsToAdopt({ + sessions: storedChatsAsListed(storedChats), + tabs: [], + workspaceId, + }); + if (toAdopt.length === 0) return; + const { version } = store.getState(); + const next = createWorkspaceStore({ + initialState: { version, tabs: [], activeTabId: null }, + }); + for (const session of toAdopt) { + addChatTab({ store: next, session, focus: false }); + if (session.sessionId) storedSessionIds.current.add(session.sessionId); + } + store.getState().replaceState({ + version, + tabs: next.getState().tabs, + activeTabId: next.getState().activeTabId, + }); + }, [isLayoutReady, sessions, storedChats, store, linkedStores, workspaceId]); + useEffect(() => { if (!isLayoutReady || !sessions || isFetchingSessions) return; for (const paneStore of [store, ...linkedStores]) { - const panes = chatPanesClosedElsewhere( - sessions, - paneStore.getState().tabs, - ); + const panes = [ + ...chatPanesClosedElsewhere(sessions, paneStore.getState().tabs), + ...storedPanesTheHostClosed({ + sessions, + tabs: paneStore.getState().tabs, + storedSessionIds: storedSessionIds.current, + }), + ]; for (const { tabId, paneId } of panes) { paneStore.getState().closePane({ tabId, paneId, intent: "remove" }); } } + storedSessionIds.current.clear(); const { version, tabs, activeTabId } = store.getState(); const toAdopt = chatSessionsToAdopt({ sessions, diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/chatSessionsToAdopt.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/chatSessionsToAdopt.ts index 695de017458..3606a706977 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/chatSessionsToAdopt.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/chatSessionsToAdopt.ts @@ -12,7 +12,7 @@ import { } from "../../../../utils/pendingChatStops"; import { CHAT_ADOPT_MAX_LIVE_CHATS } from "../../constants"; -interface ListedChatSession { +export interface ListedChatSession { sessionId: string; harness: string; harnessSessionId: string | null; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/index.ts index 4df5fd16372..4927e70476b 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/index.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/chatSessionsToAdopt/index.ts @@ -1 +1,4 @@ -export { chatSessionsToAdopt } from "./chatSessionsToAdopt"; +export { + chatSessionsToAdopt, + type ListedChatSession, +} from "./chatSessionsToAdopt"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/index.ts new file mode 100644 index 00000000000..f49ea431873 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/index.ts @@ -0,0 +1 @@ +export { storedChatsAsListed } from "./storedChatsAsListed"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.test.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.test.ts new file mode 100644 index 00000000000..e4b20377dcd --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.test.ts @@ -0,0 +1,38 @@ +import { describe, expect, it } from "bun:test"; +import { chatSessionsToAdopt } from "../chatSessionsToAdopt"; +import { storedChatsAsListed } from "./storedChatsAsListed"; + +describe("storedChatsAsListed", () => { + it("turns a cloud workspace's stored chats into tabs, newest last, skipping ones with no agent", () => { + const targets = chatSessionsToAdopt({ + sessions: storedChatsAsListed([ + { + id: "newer", + title: "Repeated error messages", + harness: "claude-acp", + lastActiveAt: new Date(2_000), + }, + { + id: "older", + title: "Older chat", + harness: "claude-acp", + lastActiveAt: "1970-01-01T00:00:01.000Z", + }, + { + id: "unknown", + title: null, + harness: null, + lastActiveAt: new Date(3_000), + }, + ]), + tabs: [], + workspaceId: "cloud-1", + }); + expect( + targets.map((target) => [target.sessionId, target.terminalId]), + ).toEqual([ + ["older", "older"], + ["newer", "newer"], + ]); + }); +}); diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.ts new file mode 100644 index 00000000000..b4616b1dbf1 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedChatsAsListed/storedChatsAsListed.ts @@ -0,0 +1,33 @@ +import type { ListedChatSession } from "../chatSessionsToAdopt"; + +interface StoredChat { + id: string; + title: string | null; + harness: string | null; + lastActiveAt: Date | string; +} + +/** + * A cloud workspace's stored chats in the shape its box lists them, for a + * first open before the box answers. The database does not know which chats + * were closed, so each counts as live until the box says otherwise. + */ +export function storedChatsAsListed( + chats: readonly StoredChat[], +): ListedChatSession[] { + return chats.flatMap((chat) => + chat.harness + ? [ + { + sessionId: chat.id, + harness: chat.harness, + harnessSessionId: null, + title: chat.title, + updatedAt: new Date(chat.lastActiveAt).getTime(), + live: true, + terminalId: null, + }, + ] + : [], + ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/index.ts new file mode 100644 index 00000000000..24edaf13ea1 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/index.ts @@ -0,0 +1 @@ +export { storedPanesTheHostClosed } from "./storedPanesTheHostClosed"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.test.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.test.ts new file mode 100644 index 00000000000..3be33e081f8 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.test.ts @@ -0,0 +1,38 @@ +import { describe, expect, it } from "bun:test"; +import { createWorkspaceStore } from "@superset/panes"; +import type { PaneViewerData } from "../../../../types"; +import { storedPanesTheHostClosed } from "./storedPanesTheHostClosed"; + +function storeWithChats(...sessionIds: string[]) { + const store = createWorkspaceStore(); + for (const sessionId of sessionIds) { + store.getState().addTab({ + panes: [ + { + kind: "chat-v3", + data: { terminalId: sessionId, sessionId, agent: { id: "claude" } }, + }, + ], + }); + } + return store; +} + +describe("storedPanesTheHostClosed", () => { + it("closes panes from the database whose chat the box closed or never had, and nothing else", () => { + const store = storeWithChats("open", "replaced", "unknown", "mine"); + const tabs = store.getState().tabs; + const found = storedPanesTheHostClosed({ + sessions: [ + { sessionId: "open", closedAt: null }, + { sessionId: "replaced", closedAt: 1_000 }, + { sessionId: "mine", closedAt: 1_000 }, + ], + tabs, + storedSessionIds: new Set(["open", "replaced", "unknown"]), + }); + expect( + found.map(({ tabId }) => tabs.findIndex((tab) => tab.id === tabId)), + ).toEqual([1, 2]); + }); +}); diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.ts new file mode 100644 index 00000000000..f67d543a400 --- /dev/null +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/hooks/useSyncChatSessionTabs/utils/storedPanesTheHostClosed/storedPanesTheHostClosed.ts @@ -0,0 +1,37 @@ +import type { Tab } from "@superset/panes"; +import type { ChatPaneData, PaneViewerData } from "../../../../types"; + +interface HostChatSession { + sessionId: string; + closedAt?: number | null; +} + +/** + * Panes opened from the database before the box answered whose chat the box + * has since closed, for any reason, or never had: the database does not know + * which chats were closed. + */ +export function storedPanesTheHostClosed({ + sessions, + tabs, + storedSessionIds, +}: { + sessions: readonly HostChatSession[]; + tabs: readonly Tab[]; + storedSessionIds: ReadonlySet; +}): Array<{ tabId: string; paneId: string }> { + if (storedSessionIds.size === 0) return []; + const open = new Set( + sessions + .filter((session) => !session.closedAt) + .map((session) => session.sessionId), + ); + return tabs.flatMap((tab) => + Object.values(tab.panes).flatMap((pane) => { + if (pane.kind !== "chat-v3") return []; + const { sessionId } = pane.data as ChatPaneData; + if (!sessionId || !storedSessionIds.has(sessionId)) return []; + return open.has(sessionId) ? [] : [{ tabId: tab.id, paneId: pane.id }]; + }), + ); +} diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/index.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/index.ts index a50465b5f9a..237ae0b632c 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/index.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/index.ts @@ -1,6 +1,5 @@ export { isTruncatedStoredChat, loadStoredChatSnapshot, - shownStoredChatKey, storedChatSnapshotKey, } from "./loadStoredChatSnapshot"; diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/loadStoredChatSnapshot.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/loadStoredChatSnapshot.ts index 13ddec3b819..e84a2b397e9 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/loadStoredChatSnapshot.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/v2-workspace/$workspaceId/utils/loadStoredChatSnapshot/loadStoredChatSnapshot.ts @@ -25,15 +25,6 @@ export function storedChatSnapshotKey(chatSessionId: string | null) { return ["stored-chat-snapshot", chatSessionId] as const; } -/** - * The stored chat a sleeping workspace showed last. A woken box resumes a chat - * as a new session with the same history, so the pane shows this one until its - * own arrives. - */ -export function shownStoredChatKey(workspaceId: string) { - return ["stored-chat-shown", workspaceId] as const; -} - /** * A chat as the database holds it, built the way the live chat builds its own. * A long chat keeps its newest events, the part a person reads first. diff --git a/packages/chat-runtime/src/commands/commands/commands.ts b/packages/chat-runtime/src/commands/commands/commands.ts index 380c23efa45..f1cb711a5eb 100644 --- a/packages/chat-runtime/src/commands/commands/commands.ts +++ b/packages/chat-runtime/src/commands/commands/commands.ts @@ -757,6 +757,11 @@ export function createCommands(options: CommandsOptions): ChatCommands { if (!options.live.supports(session.harness)) { throw new Error(`unknown harness ${session.harness}`); } + // A chat moved from another host keeps the mode and model it had there. + const replay = replaySession(input.sessionId); + const selections = replay.ok + ? sessionSelections(replay.snapshot.session) + : {}; const opened = options.journal.open({ sessionId: input.sessionId, scopeId: session.scopeId, @@ -779,6 +784,7 @@ export function createCommands(options: CommandsOptions): ChatCommands { scopeId: session.scopeId, harness: session.harness, cwd: input.cwd, + ...selections, // The history is already in the journal: replaying it again would show it twice. resume: { harnessSessionId: input.harnessSessionId, quiet: true }, terminalId: input.terminalId, diff --git a/packages/chat-runtime/src/journal/journal/journalImport.test.ts b/packages/chat-runtime/src/journal/journal/journalImport.test.ts index 90769c3c039..fb78fa53cee 100644 --- a/packages/chat-runtime/src/journal/journal/journalImport.test.ts +++ b/packages/chat-runtime/src/journal/journal/journalImport.test.ts @@ -131,6 +131,60 @@ describe("commands.continueSession", () => { }); }); +describe("commands.continueSession of a chat moved in a mode", () => { + test("starts the agent in the mode the chat had on its old host", async () => { + const { FakeHarness } = await import("../../harness/fake"); + const modes: unknown[] = []; + const runtime = createTestRuntime({ + harnesses: new Map([ + [ + "claude-acp", + () => { + const adapter = new FakeHarness({ turns: [] }); + const start = adapter.start.bind(adapter); + adapter.start = (options) => { + modes.push(options.modeId); + return start(options); + }; + return adapter; + }, + ], + ]), + }); + try { + const session = moved(10); + runtime.journal.importSession({ + ...session, + events: [ + ...session.events, + { + seq: 10, + event: { + type: "session", + session: { + status: "idle", + harness: "claude-acp", + modeId: "bypassPermissions", + }, + }, + }, + ], + }); + + runtime.commands.continueSession({ + sessionId: SESSION, + cwd: "/tmp", + harnessSessionId: "claude-session", + }); + + await Bun.sleep(0); + expect(modes).toEqual(["bypassPermissions"]); + } finally { + await runtime.dispose(); + } + }); +}); + describe("commands.continueSession with a dead agent", () => { test("starts the agent again instead of keeping the dead one", async () => { const { FakeHarness } = await import("../../harness/fake"); diff --git a/packages/host-service/src/teleport/providers/types.test.ts b/packages/host-service/src/teleport/providers/types.test.ts new file mode 100644 index 00000000000..652cc662aad --- /dev/null +++ b/packages/host-service/src/teleport/providers/types.test.ts @@ -0,0 +1,21 @@ +import { describe, expect, test } from "bun:test"; +import { parseBundleManifest } from "./types"; + +const base = { + version: 1, + harnessSessionId: "session-1", + sourceCwd: "/workspace", + sourceDir: "/home/ubuntu/.claude/projects/-workspace", +} as const; + +describe("parseBundleManifest", () => { + test("keeps the chat's mode and model, and drops values it cannot trust", () => { + expect( + parseBundleManifest({ + ...base, + selections: { modeId: "bypassPermissions", modelId: 42 }, + }), + ).toEqual({ ...base, selections: { modeId: "bypassPermissions" } }); + expect(parseBundleManifest({ ...base, selections: "full" })).toEqual(base); + }); +}); diff --git a/packages/host-service/src/teleport/providers/types.ts b/packages/host-service/src/teleport/providers/types.ts index 5e604e2a1da..b0a0b5fbcc7 100644 --- a/packages/host-service/src/teleport/providers/types.ts +++ b/packages/host-service/src/teleport/providers/types.ts @@ -9,8 +9,20 @@ export type BundleManifest = { sourceCwd: string; /** The directory the files sat in, which absolute paths inside them name. */ sourceDir: string; + /** The chat's permission mode and model, which its history does not carry. */ + selections?: { modeId?: string; modelId?: string }; }; +const MAX_SELECTION_LENGTH = 200; + +function selectionValue(value: unknown): string | undefined { + return typeof value === "string" && + value.length > 0 && + value.length <= MAX_SELECTION_LENGTH + ? value + : undefined; +} + const PLAIN_ID = /^[A-Za-z0-9][A-Za-z0-9_-]{0,199}$/; /** An id safe to name a file with: no separators, dots or `..`. */ @@ -33,11 +45,25 @@ export function parseBundleManifest(value: unknown): BundleManifest | null { if (!isPlainSessionId(manifest.harnessSessionId)) return null; if (!isAbsolutePath(manifest.sourceCwd)) return null; if (!isAbsolutePath(manifest.sourceDir)) return null; + const selections = + typeof manifest.selections === "object" && manifest.selections !== null + ? (manifest.selections as Record) + : {}; + const modeId = selectionValue(selections.modeId); + const modelId = selectionValue(selections.modelId); return { version: 1, harnessSessionId: manifest.harnessSessionId, sourceCwd: manifest.sourceCwd, sourceDir: manifest.sourceDir, + ...(modeId || modelId + ? { + selections: { + ...(modeId ? { modeId } : {}), + ...(modelId ? { modelId } : {}), + }, + } + : {}), }; } diff --git a/packages/host-service/src/trpc/router/teleport/teleport.ts b/packages/host-service/src/trpc/router/teleport/teleport.ts index 61db422bd3f..95f46896d98 100644 --- a/packages/host-service/src/trpc/router/teleport/teleport.ts +++ b/packages/host-service/src/trpc/router/teleport/teleport.ts @@ -1,6 +1,7 @@ import { execFile } from "node:child_process"; import { randomUUID } from "node:crypto"; import { promisify } from "node:util"; +import { sessionSelections } from "@superset/chat/core"; import type { DurableEvent } from "@superset/chat/protocol"; import type { ChatRuntime } from "@superset/chat-runtime"; import { parseGitHubRemote } from "@superset/shared/github-remote"; @@ -12,7 +13,10 @@ import { uploadBundle, withStage, } from "../../../teleport/bundle"; -import { teleportProviderFor } from "../../../teleport/providers"; +import { + type BundleManifest, + teleportProviderFor, +} from "../../../teleport/providers"; import { getHostWorkerPool } from "../../../workers/host-worker-pool"; import { gitPushSnapshotTask, @@ -88,6 +92,26 @@ function busyError() { }); } +/** The bundle's manifest with the chat's mode and model, which its history does not carry. */ +function withSelections( + manifest: BundleManifest, + chat: ChatRuntime, + sessionId: string, +): BundleManifest { + const outline = chat.commands.getOutline({ sessionId }); + const { modeId, modelId } = outline.ok + ? sessionSelections(outline.outline.session) + : {}; + if (!modeId && !modelId) return manifest; + return { + ...manifest, + selections: { + ...(modeId ? { modeId } : {}), + ...(modelId ? { modelId } : {}), + }, + }; +} + /** Cancels the running turn and waits until the chat is idle. */ async function stopRunningTurn(chat: ChatRuntime, sessionId: string) { const outline = chat.commands.getOutline({ sessionId }); @@ -144,6 +168,8 @@ export const teleportRouter = router({ const skipped: SkippedChat[] = []; const movable: MovableChat[] = []; for (const session of sessions) { + // A chat closed here is gone for the person; moving it would open it again. + if (session.closedAt) continue; const provider = teleportProviderFor(session.harness); if (!provider || !session.harnessSessionId) { skipped.push({ @@ -248,7 +274,7 @@ export const teleportRouter = router({ api: ctx.api, chatSessionId: session.sessionId, harness: session.harness, - manifest, + manifest: withSelections(manifest, chat, session.sessionId), stageDir, }); return "uploaded" as const; @@ -398,7 +424,7 @@ export const teleportRouter = router({ }); } const worktreePath = resolveWorktreePath(ctx, input.workspaceId); - await withStage(async (stageDir) => { + const selections = await withStage(async (stageDir) => { const manifest = await downloadBundle({ bundle: { ...input.bundle, @@ -417,6 +443,7 @@ export const teleportRouter = router({ }, { timeoutMs: 120_000 }, ); + return manifest.selections; }); if (chat.live.get(input.chatSessionId)) { await chat.commands.closeSession({ sessionId: input.chatSessionId }); @@ -434,6 +461,21 @@ export const teleportRouter = router({ events: input.events as { seq: number; event: DurableEvent }[], replace: true, }); + if (selections) { + const outline = chat.commands.getOutline({ + sessionId: input.chatSessionId, + }); + // A session event replaces the whole state, so it carries what the history set. + chat.journal.append(input.chatSessionId, { + type: "session", + session: { + ...(outline.ok ? outline.outline.session : null), + status: "idle", + harness: input.session.harness, + ...selections, + }, + }); + } ctx.runtime.chatSync?.forget(input.chatSessionId); return { sessionId: input.chatSessionId }; }), diff --git a/packages/i18n/locales/cs/messages.po b/packages/i18n/locales/cs/messages.po index 70417c16cee..f549bcccf3e 100644 --- a/packages/i18n/locales/cs/messages.po +++ b/packages/i18n/locales/cs/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat zavřen} few {# chaty zavřeny} many {# chatů z msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat se nepodařilo přesunout. Otevřete ho a zkuste to znovu.} few {# chaty se nepodařilo přesunout. Otevřete je a zkuste to znovu.} many {# chatu se nepodařilo přesunout. Otevřete je a zkuste to znovu.} other {# chatů se nepodařilo přesunout. Otevřete je a zkuste to znovu.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat zůstal v původním pracovním prostoru} few {# chaty zůstaly v původním pracovním prostoru} many {# chatu zůstalo v původním pracovním prostoru} other {# chatů zůstalo v původním pracovním prostoru}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# připojený komentář} few {# připojené komentáře} many {# připojeného komentáře} other {# připojených komentářů}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear issue} few {Linear issues} many {Linear issues} msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Přesunout # vybraný pracovní prostor do skupiny} few {Přesunout # vybrané pracovní prostory do skupiny} many {Přesunout # vybraného pracovního prostoru do skupiny} other {Přesunout # vybraných pracovních prostorů do skupiny}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Sem se přesouvá # chat…} few {Sem se přesouvají # chaty…} many {Sem se přesouvá # chatu…} other {Sem se přesouvá # chatů…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Přesouvání chatu…} few {Přesouvání chatů…} many {Přesouvání chatů…} other {Přesouvání chatů…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — zapomenout tento web" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automatizace} few {# automatizace} many {# automatizace} other {# automatizací}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat zůstal v původním pracovním prostoru.} few {# chaty zůstaly v původním pracovním prostoru.} many {# chatu zůstalo v původním pracovním prostoru.} other {# chatů zůstalo v původním pracovním prostoru.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# kontrola selhala} few {# kontroly selhaly} many {# kontroly selhalo} other {# kontrol selhalo}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} hvězd a přibývá" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Spuštěna # automatizace} few {Spuštěny # automatizace} many {Spuštěno # automatizace} other {Spuštěno # automatizací}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Tento pracovní prostor byl přesunut. # chat zůstal zde.} few {Tento pracovní prostor byl přesunut. # chaty zůstaly zde.} many {Tento pracovní prostor byl přesunut. # chatu zůstalo zde.} other {Tento pracovní prostor byl přesunut. # chatů zůstalo zde.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagent běží} few {# subagenti běží} many {# subagenta běží} other {# subagentů běží}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {sloučen # PR agenta} few {sloučeny # PR agent msgid "{toolName} interrupted" msgstr "{toolName} přerušeno" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {Sem přesunuto {ready} z # chatu} few {Sem přesunuto {ready} z # chatů} many {Sem přesunuto {ready} z # chatu} other {Sem přesunuto {ready} z # chatů}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Kontrola prošla} few {Všechny # kontroly prošly} many {Všech # kontroly prošlo} other {Všech # kontrol prošlo}}" @@ -12173,9 +12166,6 @@ msgstr "Přesouvání {name} do: {destination}" msgid "Moving this chat here" msgstr "Tento chat se přesouvá sem" -msgid "Moving this workspace here…" -msgstr "Sem se přesouvá tento pracovní prostor…" - msgid "Moving this workspace…" msgstr "Přesouvá se tento pracovní prostor…" @@ -18959,6 +18949,9 @@ msgstr "Spouštím cloudový pracovní prostor" msgid "Starting the agent…" msgstr "Spouštění agenta…" +msgid "Starting the cloud workspace…" +msgstr "Spouštění cloudového pracovního prostoru…" + msgid "Starting the simulator…" msgstr "Spouštění simulátoru…" @@ -19986,9 +19979,6 @@ msgstr "Časový limit přesunu vypršel." msgid "The move was cancelled." msgstr "Přesun byl zrušen." -msgid "The move was stopped. This workspace stayed here." -msgstr "Přesun byl zastaven. Tento pracovní prostor zůstal tady." - msgid "The name of your organization or team" msgstr "Název vaší organizace nebo týmu" @@ -20627,9 +20617,6 @@ msgstr "Tímto zrušíte přípravu a vrátíte všechny připravené změny. P msgid "This workspace" msgstr "Tento pracovní prostor" -msgid "This workspace couldn't move." -msgstr "Tento pracovní prostor se nepodařilo přesunout." - msgid "This workspace has no project to branch from" msgstr "Tento pracovní prostor nemá projekt, ze kterého by šlo větvit" diff --git a/packages/i18n/locales/de/messages.po b/packages/i18n/locales/de/messages.po index d6ffc020eda..b52e9ad630b 100644 --- a/packages/i18n/locales/de/messages.po +++ b/packages/i18n/locales/de/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# Chat geschlossen} other {# Chats geschlossen}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# Chat konnte nicht verschoben werden. Öffne ihn, um es erneut zu versuchen.} other {# Chats konnten nicht verschoben werden. Öffne sie, um es erneut zu versuchen.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# Chat ist im alten Arbeitsbereich geblieben} other {# Chats sind im alten Arbeitsbereich geblieben}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# Kommentar angehängt} other {# Kommentare angehängt}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear-Issue} other {Linear-Issues}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {# ausgewählten Arbeitsbereich in eine Gruppe verschieben} other {# ausgewählte Arbeitsbereiche in eine Gruppe verschieben}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {# Chat wird hierher verschoben…} other {# Chats werden hierher verschoben…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Sein Chat wird verschoben…} other {Seine Chats werden verschoben…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} Cookies — diese Website vergessen" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# Automatisierung} other {# Automatisierungen}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# Chat ist im alten Arbeitsbereich geblieben.} other {# Chats sind im alten Arbeitsbereich geblieben.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# Prüfung fehlgeschlagen} other {# Prüfungen fehlgeschlagen}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} Stars und es werden mehr" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# Automatisierung gestartet} other {# Automatisierungen gestartet}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Dieser Arbeitsbereich wurde verschoben. # Chat ist hier geblieben.} other {Dieser Arbeitsbereich wurde verschoben. # Chats sind hier geblieben.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# Subagent läuft} other {# Subagenten laufen}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# Agenten-PR gemergt} other {# Agenten-PRs geme msgid "{toolName} interrupted" msgstr "{toolName} unterbrochen" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} von # Chat hierher verschoben} other {{ready} von # Chats hierher verschoben}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Die Prüfung wurde bestanden} other {Alle # Prüfungen bestanden}}" @@ -12173,9 +12166,6 @@ msgstr "{name} wird nach {destination} verschoben" msgid "Moving this chat here" msgstr "Dieser Chat wird hierher verschoben" -msgid "Moving this workspace here…" -msgstr "Dieser Arbeitsbereich wird hierher verschoben…" - msgid "Moving this workspace…" msgstr "Dieser Arbeitsbereich wird verschoben…" @@ -18959,6 +18949,9 @@ msgstr "Cloud-Arbeitsbereich wird gestartet" msgid "Starting the agent…" msgstr "Agent wird gestartet…" +msgid "Starting the cloud workspace…" +msgstr "Cloud-Arbeitsbereich wird gestartet…" + msgid "Starting the simulator…" msgstr "Simulator wird gestartet…" @@ -19986,9 +19979,6 @@ msgstr "Beim Verschieben ist eine Zeitüberschreitung aufgetreten." msgid "The move was cancelled." msgstr "Das Verschieben wurde abgebrochen." -msgid "The move was stopped. This workspace stayed here." -msgstr "Das Verschieben wurde gestoppt. Dieser Arbeitsbereich ist hier geblieben." - msgid "The name of your organization or team" msgstr "Der Name deiner Organisation oder deines Teams" @@ -20627,9 +20617,6 @@ msgstr "Damit werden alle gestageden Änderungen aus dem Index genommen und zur msgid "This workspace" msgstr "Dieser Arbeitsbereich" -msgid "This workspace couldn't move." -msgstr "Dieser Arbeitsbereich konnte nicht verschoben werden." - msgid "This workspace has no project to branch from" msgstr "Dieser Workspace hat kein Projekt, von dem aus verzweigt werden kann" diff --git a/packages/i18n/locales/en/messages.po b/packages/i18n/locales/en/messages.po index 59a66b5e1d2..f3b2336368f 100644 --- a/packages/i18n/locales/en/messages.po +++ b/packages/i18n/locales/en/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat closed} other {# chats closed}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# comment attached} other {# comments attached}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear issue} other {Linear issues}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Moving its chat…} other {Moving its chats…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — forget this site" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automation} other {# automations}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# Check Failed} other {# Checks Failed}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} stars and counting" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Started # automation} other {Started # automations}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagent running} other {# subagents running}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# agent PR merged} other {# agent PRs merged}}" msgid "{toolName} interrupted" msgstr "{toolName} interrupted" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {The check passed} other {All # checks passed}}" @@ -12173,9 +12166,6 @@ msgstr "Moving {name} to {destination}" msgid "Moving this chat here" msgstr "Moving this chat here" -msgid "Moving this workspace here…" -msgstr "Moving this workspace here…" - msgid "Moving this workspace…" msgstr "Moving this workspace…" @@ -18959,6 +18949,9 @@ msgstr "Starting cloud workspace" msgid "Starting the agent…" msgstr "Starting the agent…" +msgid "Starting the cloud workspace…" +msgstr "Starting the cloud workspace…" + msgid "Starting the simulator…" msgstr "Starting the simulator…" @@ -19986,9 +19979,6 @@ msgstr "The move timed out." msgid "The move was cancelled." msgstr "The move was cancelled." -msgid "The move was stopped. This workspace stayed here." -msgstr "The move was stopped. This workspace stayed here." - msgid "The name of your organization or team" msgstr "The name of your organization or team" @@ -20627,9 +20617,6 @@ msgstr "This will unstage and revert all staged changes. Staged new files will b msgid "This workspace" msgstr "This workspace" -msgid "This workspace couldn't move." -msgstr "This workspace couldn't move." - msgid "This workspace has no project to branch from" msgstr "This workspace has no project to branch from" diff --git a/packages/i18n/locales/es/messages.po b/packages/i18n/locales/es/messages.po index e60d74bc29d..aec95f3f26a 100644 --- a/packages/i18n/locales/es/messages.po +++ b/packages/i18n/locales/es/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat cerrado} other {# chats cerrados}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat no se pudo mover. Ábrelo para volver a intentarlo.} other {# chats no se pudieron mover. Ábrelos para volver a intentarlo.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat se quedó en el espacio de trabajo anterior} other {# chats se quedaron en el espacio de trabajo anterior}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# comentario adjunto} other {# comentarios adjuntos}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue de Linear} other {issues de Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Mover # espacio de trabajo seleccionado a un grupo} other {Mover # espacios de trabajo seleccionados a un grupo}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Moviendo # chat aquí…} other {Moviendo # chats aquí…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Moviendo su chat…} other {Moviendo sus chats…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies: olvidar este sitio" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automatización} other {# automatizaciones}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat se quedó en el espacio de trabajo anterior.} other {# chats se quedaron en el espacio de trabajo anterior.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# comprobación fallida} other {# comprobaciones fallidas}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} estrellas y subiendo" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# automatización iniciada} other {# automatizaciones iniciadas}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Este espacio de trabajo se movió. # chat se quedó aquí.} other {Este espacio de trabajo se movió. # chats se quedaron aquí.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagente en ejecución} other {# subagentes en ejecución}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# PR de agente fusionada} other {# PR de agente msgid "{toolName} interrupted" msgstr "{toolName} interrumpido" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} de # chat movido aquí} other {{ready} de # chats movidos aquí}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {La comprobación se superó} other {Las # comprobaciones se superaron}}" @@ -12173,9 +12166,6 @@ msgstr "Moviendo {name} a {destination}" msgid "Moving this chat here" msgstr "Trasladando este chat aquí" -msgid "Moving this workspace here…" -msgstr "Moviendo este espacio de trabajo aquí…" - msgid "Moving this workspace…" msgstr "Moviendo este espacio de trabajo…" @@ -18959,6 +18949,9 @@ msgstr "Iniciando el espacio de trabajo en la nube" msgid "Starting the agent…" msgstr "Iniciando el agente…" +msgid "Starting the cloud workspace…" +msgstr "Iniciando el espacio de trabajo en la nube…" + msgid "Starting the simulator…" msgstr "Iniciando el simulador…" @@ -19986,9 +19979,6 @@ msgstr "Se agotó el tiempo para mover." msgid "The move was cancelled." msgstr "Se canceló el traslado." -msgid "The move was stopped. This workspace stayed here." -msgstr "Se detuvo el traslado. Este espacio de trabajo se quedó aquí." - msgid "The name of your organization or team" msgstr "El nombre de la organización o equipo" @@ -20627,9 +20617,6 @@ msgstr "Esto quitará de preparados y revertirá todos los cambios preparados. L msgid "This workspace" msgstr "Este espacio de trabajo" -msgid "This workspace couldn't move." -msgstr "No se pudo mover este espacio de trabajo." - msgid "This workspace has no project to branch from" msgstr "Este espacio de trabajo no tiene un proyecto desde el que bifurcar" diff --git a/packages/i18n/locales/fr/messages.po b/packages/i18n/locales/fr/messages.po index 33b9309834c..e1a02fe3840 100644 --- a/packages/i18n/locales/fr/messages.po +++ b/packages/i18n/locales/fr/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat fermé} other {# chats fermés}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# discussion n’a pas pu être déplacée. Ouvrez-la pour réessayer.} other {# discussions n’ont pas pu être déplacées. Ouvrez-les pour réessayer.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# discussion est restée dans l'ancien espace de travail} other {# discussions sont restées dans l'ancien espace de travail}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# commentaire joint} other {# commentaires joints}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue Linear} other {issues Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Déplacer # espace de travail sélectionné vers un groupe} other {Déplacer # espaces de travail sélectionnés vers un groupe}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Déplacement de # discussion ici…} other {Déplacement de # discussions ici…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Déplacement de sa discussion…} other {Déplacement de ses discussions…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — oublier ce site" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automatisation} other {# automatisations}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# discussion est restée dans l'ancien espace de travail.} other {# discussions sont restées dans l'ancien espace de travail.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# vérification en échec} other {# vérifications en échec}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} étoiles, et ça continue" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# automatisation lancée} other {# automatisations lancées}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Cet espace de travail a été déplacé. # discussion est restée ici.} other {Cet espace de travail a été déplacé. # discussions sont restées ici.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# sous-agent en cours} other {# sous-agents en cours}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# PR d'agent fusionnée} other {# PR d'agent fu msgid "{toolName} interrupted" msgstr "{toolName} interrompu" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} discussion sur # déplacée ici} other {{ready} discussions sur # déplacées ici}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {La vérification a réussi} other {Les # vérifications ont toutes réussi}}" @@ -12173,9 +12166,6 @@ msgstr "Déplacement de {name} vers {destination}" msgid "Moving this chat here" msgstr "Déplacement de cette discussion ici" -msgid "Moving this workspace here…" -msgstr "Déplacement de cet espace de travail ici…" - msgid "Moving this workspace…" msgstr "Déplacement de cet espace de travail…" @@ -18959,6 +18949,9 @@ msgstr "Démarrage de l'espace de travail cloud" msgid "Starting the agent…" msgstr "Démarrage de l'agent…" +msgid "Starting the cloud workspace…" +msgstr "Démarrage de l'espace de travail cloud…" + msgid "Starting the simulator…" msgstr "Démarrage du simulateur…" @@ -19986,9 +19979,6 @@ msgstr "Le déplacement a expiré." msgid "The move was cancelled." msgstr "Le déplacement a été annulé." -msgid "The move was stopped. This workspace stayed here." -msgstr "Le déplacement a été arrêté. Cet espace de travail est resté ici." - msgid "The name of your organization or team" msgstr "Le nom de votre organisation ou équipe" @@ -20627,9 +20617,6 @@ msgstr "Cette action désindexera et annulera toutes les modifications indexées msgid "This workspace" msgstr "Cet espace de travail" -msgid "This workspace couldn't move." -msgstr "Impossible de déplacer cet espace de travail." - msgid "This workspace has no project to branch from" msgstr "Cet espace de travail n'a aucun projet depuis lequel dupliquer" diff --git a/packages/i18n/locales/id/messages.po b/packages/i18n/locales/id/messages.po index 87232b23cc8..457d5aa6c4a 100644 --- a/packages/i18n/locales/id/messages.po +++ b/packages/i18n/locales/id/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {# chat ditutup}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {# obrolan tidak dapat dipindahkan. Buka untuk mencoba lagi.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat tetap di workspace lama} other {# chat tetap di workspace lama}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# komentar dilampirkan} other {# komentar dilampirkan}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue Linear} other {issue Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Pindahkan # workspace terpilih ke grup} other {Pindahkan # workspace terpilih ke grup}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Memindahkan # chat ke sini…} other {Memindahkan # chat ke sini…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Memindahkan chat…} other {Memindahkan chat…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookie — lupakan situs ini" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# otomatisasi} other {# otomatisasi}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat tetap di workspace lama.} other {# chat tetap di workspace lama.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# Check Gagal} other {# Check Gagal}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} star dan terus bertambah" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# otomatisasi dimulai} other {# otomatisasi dimulai}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Workspace ini telah dipindahkan. # chat tetap di sini.} other {Workspace ini telah dipindahkan. # chat tetap di sini.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {# subagen berjalan}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {# PR agen digabungkan}}" msgid "{toolName} interrupted" msgstr "{toolName} dihentikan" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} dari # chat dipindahkan ke sini} other {{ready} dari # chat dipindahkan ke sini}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Semua # check lulus} other {Semua # check lulus}}" @@ -12173,9 +12166,6 @@ msgstr "Memindahkan {name} ke {destination}" msgid "Moving this chat here" msgstr "Memindahkan chat ini ke sini" -msgid "Moving this workspace here…" -msgstr "Memindahkan workspace ini ke sini…" - msgid "Moving this workspace…" msgstr "Memindahkan workspace ini…" @@ -18959,6 +18949,9 @@ msgstr "Memulai workspace cloud" msgid "Starting the agent…" msgstr "Memulai agen…" +msgid "Starting the cloud workspace…" +msgstr "Memulai workspace cloud…" + msgid "Starting the simulator…" msgstr "Memulai simulator…" @@ -19986,9 +19979,6 @@ msgstr "Waktu pemindahan habis." msgid "The move was cancelled." msgstr "Pemindahan dibatalkan." -msgid "The move was stopped. This workspace stayed here." -msgstr "Pemindahan dihentikan. Workspace ini tetap di sini." - msgid "The name of your organization or team" msgstr "Nama organisasi atau tim Anda" @@ -20627,9 +20617,6 @@ msgstr "Ini akan meng-unstage dan mengembalikan semua perubahan yang di-stage. F msgid "This workspace" msgstr "Workspace ini" -msgid "This workspace couldn't move." -msgstr "Workspace ini tidak dapat dipindahkan." - msgid "This workspace has no project to branch from" msgstr "Ruang kerja ini tidak memiliki proyek untuk dicabangkan" diff --git a/packages/i18n/locales/it/messages.po b/packages/i18n/locales/it/messages.po index cb1dd0ccfc1..ef71edde642 100644 --- a/packages/i18n/locales/it/messages.po +++ b/packages/i18n/locales/it/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat chiusa} other {# chat chiuse}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat non è stata spostata. Aprila per riprovare.} other {# chat non sono state spostate. Aprile per riprovare.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat è rimasta nel workspace precedente} other {# chat sono rimaste nel workspace precedente}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# commento allegato} other {# commenti allegati}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue Linear} other {issue Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Sposta # workspace selezionato in un gruppo} other {Sposta # workspace selezionati in un gruppo}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Spostamento di # chat qui…} other {Spostamento di # chat qui…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Spostamento della sua chat…} other {Spostamento delle sue chat…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookie — dimentica questo sito" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automazione} other {# automazioni}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat è rimasta nel workspace precedente.} other {# chat sono rimaste nel workspace precedente.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# controllo fallito} other {# controlli falliti}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} star e continuano a crescere" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# automazione avviata} other {# automazioni avviate}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Questo workspace è stato spostato. # chat è rimasta qui.} other {Questo workspace è stato spostato. # chat sono rimaste qui.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# sottoagente in esecuzione} other {# sottoagenti in esecuzione}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# PR dell'agente unita} other {# PR dell'agente msgid "{toolName} interrupted" msgstr "{toolName} interrotto" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} di # chat spostata qui} other {{ready} di # chat spostate qui}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Il controllo è passato} other {Tutti i # controlli sono passati}}" @@ -12173,9 +12166,6 @@ msgstr "Spostamento di {name} in {destination}" msgid "Moving this chat here" msgstr "Spostamento di questa chat qui" -msgid "Moving this workspace here…" -msgstr "Spostamento di questo workspace qui…" - msgid "Moving this workspace…" msgstr "Spostamento di questo workspace…" @@ -18959,6 +18949,9 @@ msgstr "Avvio del workspace cloud" msgid "Starting the agent…" msgstr "Avvio dell'agente…" +msgid "Starting the cloud workspace…" +msgstr "Avvio del workspace cloud…" + msgid "Starting the simulator…" msgstr "Avvio del simulatore…" @@ -19986,9 +19979,6 @@ msgstr "Lo spostamento è scaduto." msgid "The move was cancelled." msgstr "Lo spostamento è stato annullato." -msgid "The move was stopped. This workspace stayed here." -msgstr "Lo spostamento è stato interrotto. Questo workspace è rimasto qui." - msgid "The name of your organization or team" msgstr "Il nome della tua organizzazione o del tuo team" @@ -20627,9 +20617,6 @@ msgstr "Questo toglierà dallo stage e annullerà tutte le modifiche in stage. I msgid "This workspace" msgstr "Questo workspace" -msgid "This workspace couldn't move." -msgstr "Impossibile spostare questo workspace." - msgid "This workspace has no project to branch from" msgstr "Questo workspace non ha un progetto da cui diramare" diff --git a/packages/i18n/locales/ja/messages.po b/packages/i18n/locales/ja/messages.po index 67ab65f85d3..5c24f5e98ff 100644 --- a/packages/i18n/locales/ja/messages.po +++ b/packages/i18n/locales/ja/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {# 件のチャットを閉じました}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {#件のチャットを移動できませんでした。開いてもう一度お試しください。}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {#件のチャットが元のワークスペースに残りました} other {#件のチャットが元のワークスペースに残りました}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {#件のコメントを添付} other {#件のコメントを添付}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear issue} other {Linear issue}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {選択した#件のワークスペースをグループに移動} other {選択した#件のワークスペースをグループに移動}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {#件のチャットをここに移動しています…} other {#件のチャットをここに移動しています…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {チャットを移動しています…} other {チャットを移動しています…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount}件のCookie — このサイトを削除" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {#件のオートメーション} other {#件のオートメーション}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {#件のチャットが元のワークスペースに残りました。} other {#件のチャットが元のワークスペースに残りました。}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {#件のチェックが失敗} other {#件のチェックが失敗}}" @@ -1369,9 +1368,6 @@ msgstr "スター{starCount}件、まだ増えています" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {#件のオートメーションを開始しました} other {#件のオートメーションを開始しました}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {このワークスペースは移動しました。#件のチャットはここに残りました。} other {このワークスペースは移動しました。#件のチャットはここに残りました。}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {# 件のサブエージェントが実行中}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {#件のエージェントPRをマージ}}" msgid "{toolName} interrupted" msgstr "{toolName}が中断されました" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready}/#件のチャットをここに移動しました} other {{ready}/#件のチャットをここに移動しました}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {#件のチェックにすべて成功しました} other {#件のチェックにすべて成功しました}}" @@ -12173,9 +12166,6 @@ msgstr "{name} を {destination} に移動しています" msgid "Moving this chat here" msgstr "このチャットをここに移動しています" -msgid "Moving this workspace here…" -msgstr "このワークスペースをここに移動しています…" - msgid "Moving this workspace…" msgstr "このワークスペースを移動しています…" @@ -18959,6 +18949,9 @@ msgstr "クラウドワークスペースを開始中" msgid "Starting the agent…" msgstr "エージェントを起動しています…" +msgid "Starting the cloud workspace…" +msgstr "クラウドワークスペースを起動しています…" + msgid "Starting the simulator…" msgstr "シミュレーターを起動しています…" @@ -19986,9 +19979,6 @@ msgstr "移動がタイムアウトしました。" msgid "The move was cancelled." msgstr "移動はキャンセルされました。" -msgid "The move was stopped. This workspace stayed here." -msgstr "移動を停止しました。このワークスペースはここに残っています。" - msgid "The name of your organization or team" msgstr "組織またはチームの名前" @@ -20627,9 +20617,6 @@ msgstr "ステージ済みの変更をすべてステージ解除して元に戻 msgid "This workspace" msgstr "このワークスペース" -msgid "This workspace couldn't move." -msgstr "このワークスペースを移動できませんでした。" - msgid "This workspace has no project to branch from" msgstr "このワークスペースには分岐元のプロジェクトがありません" diff --git a/packages/i18n/locales/ko/messages.po b/packages/i18n/locales/ko/messages.po index 93d465f541b..ca486a6afa8 100644 --- a/packages/i18n/locales/ko/messages.po +++ b/packages/i18n/locales/ko/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {채팅 #개를 닫았습니다}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {채팅 #개를 옮기지 못했습니다. 열어서 다시 시도하세요.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {채팅 #개가 이전 워크스페이스에 남았습니다} other {채팅 #개가 이전 워크스페이스에 남았습니다}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {코멘트 #개 첨부됨} other {코멘트 #개 첨부됨}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear 이슈} other {Linear 이슈}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {선택한 워크스페이스 #개를 그룹으로 이동} other {선택한 워크스페이스 #개를 그룹으로 이동}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {채팅 #개를 여기로 옮기는 중…} other {채팅 #개를 여기로 옮기는 중…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {채팅을 이동하는 중…} other {채팅을 이동하는 중…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "쿠키 {cookieCount}개 — 이 사이트 잊기" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {자동화 #개} other {자동화 #개}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {채팅 #개가 이전 워크스페이스에 남았습니다.} other {채팅 #개가 이전 워크스페이스에 남았습니다.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {검사 #개 실패} other {검사 #개 실패}}" @@ -1369,9 +1368,6 @@ msgstr "스타 {starCount}개, 계속 늘어나는 중" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {자동화 #개를 시작했습니다} other {자동화 #개를 시작했습니다}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {이 워크스페이스를 옮겼습니다. 채팅 #개는 여기에 남았습니다.} other {이 워크스페이스를 옮겼습니다. 채팅 #개는 여기에 남았습니다.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {서브 에이전트 #개 실행 중}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {에이전트 PR # 건 머지}}" msgid "{toolName} interrupted" msgstr "{toolName} 중단됨" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {채팅 #개 중 {ready}개를 여기로 옮겼습니다} other {채팅 #개 중 {ready}개를 여기로 옮겼습니다}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {#개 검사를 모두 통과했습니다} other {#개 검사를 모두 통과했습니다}}" @@ -12173,9 +12166,6 @@ msgstr "{name}을(를) {destination}(으)로 옮기는 중" msgid "Moving this chat here" msgstr "이 채팅을 여기로 옮기는 중" -msgid "Moving this workspace here…" -msgstr "이 워크스페이스를 여기로 옮기는 중…" - msgid "Moving this workspace…" msgstr "이 워크스페이스를 옮기는 중…" @@ -18959,6 +18949,9 @@ msgstr "클라우드 워크스페이스 시작 중" msgid "Starting the agent…" msgstr "에이전트를 시작하는 중…" +msgid "Starting the cloud workspace…" +msgstr "클라우드 워크스페이스를 시작하는 중…" + msgid "Starting the simulator…" msgstr "시뮬레이터를 시작하는 중…" @@ -19986,9 +19979,6 @@ msgstr "이동 시간이 초과되었습니다." msgid "The move was cancelled." msgstr "옮기기가 취소되었습니다." -msgid "The move was stopped. This workspace stayed here." -msgstr "이동이 중지되었습니다. 이 워크스페이스는 여기에 남아 있습니다." - msgid "The name of your organization or team" msgstr "조직 또는 팀의 이름" @@ -20627,9 +20617,6 @@ msgstr "스테이징된 변경 사항을 모두 스테이징 해제하고 되돌 msgid "This workspace" msgstr "이 워크스페이스" -msgid "This workspace couldn't move." -msgstr "이 워크스페이스를 옮기지 못했습니다." - msgid "This workspace has no project to branch from" msgstr "이 워크스페이스에는 분기할 프로젝트가 없습니다" diff --git a/packages/i18n/locales/nl/messages.po b/packages/i18n/locales/nl/messages.po index 8b122a55cbb..9c7d1509098 100644 --- a/packages/i18n/locales/nl/messages.po +++ b/packages/i18n/locales/nl/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat gesloten} other {# chats gesloten}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat kon niet worden verplaatst. Open hem om het opnieuw te proberen.} other {# chats konden niet worden verplaatst. Open ze om het opnieuw te proberen.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat is in de oude werkruimte gebleven} other {# chats zijn in de oude werkruimte gebleven}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# opmerking toegevoegd} other {# opmerkingen toegevoegd}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear-issue} other {Linear-issues}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {# geselecteerde werkruimte naar een groep verplaatsen} other {# geselecteerde werkruimtes naar een groep verplaatsen}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {# chat wordt hierheen verplaatst…} other {# chats worden hierheen verplaatst…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Chat wordt verplaatst…} other {Chats worden verplaatst…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — deze site vergeten" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automatisering} other {# automatiseringen}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat is in de oude werkruimte gebleven.} other {# chats zijn in de oude werkruimte gebleven.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# check mislukt} other {# checks mislukt}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} sterren en het worden er meer" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# automatisering gestart} other {# automatiseringen gestart}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Deze werkruimte is verplaatst. # chat is hier gebleven.} other {Deze werkruimte is verplaatst. # chats zijn hier gebleven.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagent actief} other {# subagents actief}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# agent-PR gemerged} other {# agent-PR's gemerg msgid "{toolName} interrupted" msgstr "{toolName} onderbroken" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} van # chat hierheen verplaatst} other {{ready} van # chats hierheen verplaatst}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {De check is geslaagd} other {Alle # checks geslaagd}}" @@ -12173,9 +12166,6 @@ msgstr "{name} wordt verplaatst naar {destination}" msgid "Moving this chat here" msgstr "Deze chat wordt hierheen verplaatst" -msgid "Moving this workspace here…" -msgstr "Deze werkruimte wordt hierheen verplaatst…" - msgid "Moving this workspace…" msgstr "Deze werkruimte wordt verplaatst…" @@ -18959,6 +18949,9 @@ msgstr "Cloudwerkruimte starten" msgid "Starting the agent…" msgstr "Agent starten…" +msgid "Starting the cloud workspace…" +msgstr "Cloudwerkruimte wordt gestart…" + msgid "Starting the simulator…" msgstr "Simulator wordt gestart…" @@ -19986,9 +19979,6 @@ msgstr "Er is een time-out opgetreden bij het verplaatsen." msgid "The move was cancelled." msgstr "Het verplaatsen is geannuleerd." -msgid "The move was stopped. This workspace stayed here." -msgstr "Het verplaatsen is gestopt. Deze werkruimte is hier gebleven." - msgid "The name of your organization or team" msgstr "De naam van je organisatie of team" @@ -20627,9 +20617,6 @@ msgstr "Hiermee worden alle gestagede wijzigingen ge-unstaged en teruggedraaid. msgid "This workspace" msgstr "Deze werkruimte" -msgid "This workspace couldn't move." -msgstr "Deze werkruimte kon niet worden verplaatst." - msgid "This workspace has no project to branch from" msgstr "Deze workspace heeft geen project om vanaf af te splitsen" diff --git a/packages/i18n/locales/pl/messages.po b/packages/i18n/locales/pl/messages.po index 02a427d64f5..25b053dc89b 100644 --- a/packages/i18n/locales/pl/messages.po +++ b/packages/i18n/locales/pl/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# czat zamknięty} few {# czaty zamknięte} many {# cza msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {Nie udało się przenieść # czatu. Otwórz go, aby spróbować ponownie.} few {Nie udało się przenieść # czatów. Otwórz je, aby spróbować ponownie.} many {Nie udało się przenieść # czatów. Otwórz je, aby spróbować ponownie.} other {Nie udało się przenieść # czatu. Otwórz je, aby spróbować ponownie.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# czat pozostał w starym obszarze roboczym} few {# czaty pozostały w starym obszarze roboczym} many {# czatów pozostało w starym obszarze roboczym} other {# czatu pozostało w starym obszarze roboczym}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {Dołączono # komentarz} few {Dołączono # komentarze} many {Dołączono # komentarzy} other {Dołączono # komentarza}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {zgłoszenie Linear} few {zgłoszenia Linear} many {zgł msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Przenieś # wybrany obszar roboczy do grupy} few {Przenieś # wybrane obszary robocze do grupy} many {Przenieś # wybranych obszarów roboczych do grupy} other {Przenieś # wybranego obszaru roboczego do grupy}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Przenoszenie # czatu tutaj…} few {Przenoszenie # czatów tutaj…} many {Przenoszenie # czatów tutaj…} other {Przenoszenie # czatu tutaj…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Przenoszenie czatu…} few {Przenoszenie czatów…} many {Przenoszenie czatów…} other {Przenoszenie czatów…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — zapomnij tę witrynę" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automatyzacja} few {# automatyzacje} many {# automatyzacji} other {# automatyzacji}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# czat pozostał w starym obszarze roboczym.} few {# czaty pozostały w starym obszarze roboczym.} many {# czatów pozostało w starym obszarze roboczym.} other {# czatu pozostało w starym obszarze roboczym.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# kontrola nie przeszła} few {# kontrole nie przeszły} many {# kontroli nie przeszło} other {# kontroli nie przeszło}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} gwiazdek i rośnie" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Uruchomiono # automatyzację} few {Uruchomiono # automatyzacje} many {Uruchomiono # automatyzacji} other {Uruchomiono # automatyzacji}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Ten obszar roboczy został przeniesiony. # czat został tutaj.} few {Ten obszar roboczy został przeniesiony. # czaty zostały tutaj.} many {Ten obszar roboczy został przeniesiony. # czatów zostało tutaj.} other {Ten obszar roboczy został przeniesiony. # czatu zostało tutaj.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagent działa} few {# subagenty działają} many {# subagentów działa} other {# subagenta działa}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {scalono # PR agenta} few {scalono # PR agenta} msgid "{toolName} interrupted" msgstr "{toolName} przerwane" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {Przeniesiono tutaj {ready} z # czatu} few {Przeniesiono tutaj {ready} z # czatów} many {Przeniesiono tutaj {ready} z # czatów} other {Przeniesiono tutaj {ready} z # czatu}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Kontrola przeszła} few {Wszystkie # kontrole przeszły} many {Wszystkie # kontroli przeszło} other {Wszystkie # kontroli przeszło}}" @@ -12173,9 +12166,6 @@ msgstr "Przenoszenie {name} do: {destination}" msgid "Moving this chat here" msgstr "Przenoszenie tego czatu tutaj" -msgid "Moving this workspace here…" -msgstr "Przenoszenie tego obszaru roboczego tutaj…" - msgid "Moving this workspace…" msgstr "Przenoszenie tego obszaru roboczego…" @@ -18959,6 +18949,9 @@ msgstr "Uruchamianie obszaru roboczego w chmurze" msgid "Starting the agent…" msgstr "Uruchamianie agenta…" +msgid "Starting the cloud workspace…" +msgstr "Uruchamianie obszaru roboczego w chmurze…" + msgid "Starting the simulator…" msgstr "Uruchamianie symulatora…" @@ -19986,9 +19979,6 @@ msgstr "Przekroczono limit czasu przenoszenia." msgid "The move was cancelled." msgstr "Przenoszenie zostało anulowane." -msgid "The move was stopped. This workspace stayed here." -msgstr "Przenoszenie zostało zatrzymane. Ten obszar roboczy pozostał tutaj." - msgid "The name of your organization or team" msgstr "Nazwa organizacji lub zespołu" @@ -20627,9 +20617,6 @@ msgstr "Usunie to z indeksu i cofnie wszystkie zaindeksowane zmiany. Zaindeksowa msgid "This workspace" msgstr "Ten obszar roboczy" -msgid "This workspace couldn't move." -msgstr "Nie udało się przenieść tego obszaru roboczego." - msgid "This workspace has no project to branch from" msgstr "Ten obszar roboczy nie ma projektu, z którego można się rozgałęzić" diff --git a/packages/i18n/locales/pt-BR/messages.po b/packages/i18n/locales/pt-BR/messages.po index caf34c2f296..b1c35348bd4 100644 --- a/packages/i18n/locales/pt-BR/messages.po +++ b/packages/i18n/locales/pt-BR/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# chat fechado} other {# chats fechados}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# chat não pôde ser movido. Abra-o para tentar novamente.} other {# chats não puderam ser movidos. Abra-os para tentar novamente.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# chat ficou na área de trabalho antiga} other {# chats ficaram na área de trabalho antiga}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# comentário anexado} other {# comentários anexados}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue do Linear} other {issues do Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Mover # área de trabalho selecionada para um grupo} other {Mover # áreas de trabalho selecionadas para um grupo}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Movendo # chat para cá…} other {Movendo # chats para cá…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Movendo o chat…} other {Movendo os chats…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — esquecer este site" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# automação} other {# automações}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# chat ficou na área de trabalho antiga.} other {# chats ficaram na área de trabalho antiga.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# verificação falhou} other {# verificações falharam}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} estrelas e subindo" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# automação iniciada} other {# automações iniciadas}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Esta área de trabalho foi movida. # chat ficou aqui.} other {Esta área de trabalho foi movida. # chats ficaram aqui.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# subagente em execução} other {# subagentes em execução}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# PR de agente mesclado} other {# PRs de agente msgid "{toolName} interrupted" msgstr "{toolName} interrompida" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {{ready} de # chat movido para cá} other {{ready} de # chats movidos para cá}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {A verificação passou} other {Todas as # verificações passaram}}" @@ -12173,9 +12166,6 @@ msgstr "Movendo {name} para {destination}" msgid "Moving this chat here" msgstr "Movendo este chat para cá" -msgid "Moving this workspace here…" -msgstr "Movendo esta área de trabalho para cá…" - msgid "Moving this workspace…" msgstr "Movendo esta área de trabalho…" @@ -18959,6 +18949,9 @@ msgstr "Iniciando a área de trabalho na nuvem" msgid "Starting the agent…" msgstr "Iniciando o agente…" +msgid "Starting the cloud workspace…" +msgstr "Iniciando a área de trabalho na nuvem…" + msgid "Starting the simulator…" msgstr "Iniciando o simulador…" @@ -19986,9 +19979,6 @@ msgstr "A movimentação excedeu o tempo limite." msgid "The move was cancelled." msgstr "A movimentação foi cancelada." -msgid "The move was stopped. This workspace stayed here." -msgstr "A movimentação foi interrompida. Esta área de trabalho ficou aqui." - msgid "The name of your organization or team" msgstr "O nome da sua organização ou equipe" @@ -20627,9 +20617,6 @@ msgstr "Isso remove do stage e reverte todas as alterações no stage. Arquivos msgid "This workspace" msgstr "Esta área de trabalho" -msgid "This workspace couldn't move." -msgstr "Não foi possível mover esta área de trabalho." - msgid "This workspace has no project to branch from" msgstr "Este workspace não tem projeto do qual ramificar" diff --git a/packages/i18n/locales/ru/messages.po b/packages/i18n/locales/ru/messages.po index 4573c8cefab..92e9d46a69e 100644 --- a/packages/i18n/locales/ru/messages.po +++ b/packages/i18n/locales/ru/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, one {# чат закрыт} few {# чата закрыто} msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# чат не удалось перенести. Откройте его, чтобы попробовать снова.} few {# чата не удалось перенести. Откройте их, чтобы попробовать снова.} many {# чатов не удалось перенести. Откройте их, чтобы попробовать снова.} other {# чата не удалось перенести. Откройте их, чтобы попробовать снова.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# чат остался в старой рабочей области} few {# чата остались в старой рабочей области} many {# чатов остались в старой рабочей области} other {# чата остались в старой рабочей области}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# комментарий приложен} few {# комментария приложено} many {# комментариев приложено} other {# комментария приложено}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {задача Linear} few {задачи Linear} many {з msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Переместить # выбранную рабочую область в группу} few {Переместить # выбранные рабочие области в группу} many {Переместить # выбранных рабочих областей в группу} other {Переместить # выбранных рабочих областей в группу}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Сюда переносится # чат…} few {Сюда переносятся # чата…} many {Сюда переносятся # чатов…} other {Сюда переносятся # чата…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Перенос чата…} few {Перенос чатов…} many {Перенос чатов…} other {Перенос чатов…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookies — забыть этот сайт" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# автоматизация} few {# автоматизации} many {# автоматизаций} other {# автоматизации}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# чат остался в старой рабочей области.} few {# чата остались в старой рабочей области.} many {# чатов остались в старой рабочей области.} other {# чата остались в старой рабочей области.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# проверка не пройдена} few {# проверки не пройдено} many {# проверок не пройдено} other {# проверки не пройдено}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} звёзд и продолжаем" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Запущена # автоматизация} few {Запущено # автоматизации} many {Запущено # автоматизаций} other {Запущено # автоматизаций}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Эта рабочая область перенесена. # чат остался здесь.} few {Эта рабочая область перенесена. # чата остались здесь.} many {Эта рабочая область перенесена. # чатов остались здесь.} other {Эта рабочая область перенесена. # чата остались здесь.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# субагент выполняется} few {# субагента выполняются} many {# субагентов выполняются} other {# субагента выполняются}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {влит # PR агента} few {влито # P msgid "{toolName} interrupted" msgstr "{toolName} прерван" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {Сюда перенесено {ready} из # чата} few {Сюда перенесено {ready} из # чатов} many {Сюда перенесено {ready} из # чатов} other {Сюда перенесено {ready} из # чата}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Проверка пройдена} few {Все # проверки пройдены} many {Все # проверок пройдены} other {Все # проверки пройдены}}" @@ -12173,9 +12166,6 @@ msgstr "Перенос {name}: {destination}" msgid "Moving this chat here" msgstr "Перенос этого чата сюда" -msgid "Moving this workspace here…" -msgstr "Эта рабочая область переносится сюда…" - msgid "Moving this workspace…" msgstr "Эта рабочая область переносится…" @@ -18959,6 +18949,9 @@ msgstr "Запуск облачной рабочей области" msgid "Starting the agent…" msgstr "Запуск агента…" +msgid "Starting the cloud workspace…" +msgstr "Запуск облачной рабочей области…" + msgid "Starting the simulator…" msgstr "Запуск симулятора…" @@ -19986,9 +19979,6 @@ msgstr "Время ожидания переноса истекло." msgid "The move was cancelled." msgstr "Перенос отменён." -msgid "The move was stopped. This workspace stayed here." -msgstr "Перенос остановлен. Эта рабочая область осталась здесь." - msgid "The name of your organization or team" msgstr "Название организации или команды" @@ -20627,9 +20617,6 @@ msgstr "Это снимет индексацию и откатит все про msgid "This workspace" msgstr "Эта рабочая область" -msgid "This workspace couldn't move." -msgstr "Не удалось перенести эту рабочую область." - msgid "This workspace has no project to branch from" msgstr "В этом рабочем пространстве нет проекта для ответвления" diff --git a/packages/i18n/locales/tr/messages.po b/packages/i18n/locales/tr/messages.po index 7dcb389ffe6..1663da7fdd2 100644 --- a/packages/i18n/locales/tr/messages.po +++ b/packages/i18n/locales/tr/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {# sohbet kapatıldı}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# sohbet taşınamadı. Yeniden denemek için açın.} other {# sohbet taşınamadı. Yeniden denemek için açın.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# sohbet eski çalışma alanında kaldı} other {# sohbet eski çalışma alanında kaldı}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {# yorum eklendi} other {# yorum eklendi}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear issue'su} other {Linear issue'su}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Seçili # çalışma alanını bir gruba taşı} other {Seçili # çalışma alanını bir gruba taşı}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {# sohbet buraya taşınıyor…} other {# sohbet buraya taşınıyor…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Sohbeti taşınıyor…} other {Sohbetleri taşınıyor…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} çerez — bu siteyi unut" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# otomasyon} other {# otomasyon}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# sohbet eski çalışma alanında kaldı.} other {# sohbet eski çalışma alanında kaldı.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# kontrol başarısız} other {# kontrol başarısız}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} yıldız ve artıyor" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {# otomasyon başlatıldı} other {# otomasyon başlatıldı}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Bu çalışma alanı taşındı. # sohbet burada kaldı.} other {Bu çalışma alanı taşındı. # sohbet burada kaldı.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {# alt ajan çalışıyor} other {# alt ajan çalışıyor}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, one {# ajan PR'ı birleştirildi} other {# ajan PR' msgid "{toolName} interrupted" msgstr "{toolName} kesildi" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {# sohbetten {ready} tanesi buraya taşındı} other {# sohbetten {ready} tanesi buraya taşındı}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {# kontrolün tümü geçti} other {# kontrolün tümü geçti}}" @@ -12173,9 +12166,6 @@ msgstr "{name}, {destination} hedefine taşınıyor" msgid "Moving this chat here" msgstr "Bu sohbet buraya taşınıyor" -msgid "Moving this workspace here…" -msgstr "Bu çalışma alanı buraya taşınıyor…" - msgid "Moving this workspace…" msgstr "Bu çalışma alanı taşınıyor…" @@ -18959,6 +18949,9 @@ msgstr "Bulut çalışma alanı başlatılıyor" msgid "Starting the agent…" msgstr "Aracı başlatılıyor…" +msgid "Starting the cloud workspace…" +msgstr "Bulut çalışma alanı başlatılıyor…" + msgid "Starting the simulator…" msgstr "Simülatör başlatılıyor…" @@ -19986,9 +19979,6 @@ msgstr "Taşıma zaman aşımına uğradı." msgid "The move was cancelled." msgstr "Taşıma iptal edildi." -msgid "The move was stopped. This workspace stayed here." -msgstr "Taşıma durduruldu. Bu çalışma alanı burada kaldı." - msgid "The name of your organization or team" msgstr "Kuruluşunuzun veya takımınızın adı" @@ -20627,9 +20617,6 @@ msgstr "Bu işlem, hazırlanmış tüm değişiklikleri hazırlıktan çıkarır msgid "This workspace" msgstr "Bu çalışma alanı" -msgid "This workspace couldn't move." -msgstr "Bu çalışma alanı taşınamadı." - msgid "This workspace has no project to branch from" msgstr "Bu çalışma alanının çatallanacak bir projesi yok" diff --git a/packages/i18n/locales/uk/messages.po b/packages/i18n/locales/uk/messages.po index 01616f95185..dd0dee215f6 100644 --- a/packages/i18n/locales/uk/messages.po +++ b/packages/i18n/locales/uk/messages.po @@ -136,10 +136,6 @@ msgstr "{0, plural, one {Закрито # чат} few {Закрито # чати msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, one {# чат не вдалося перемістити. Відкрийте його, щоб спробувати ще раз.} few {# чати не вдалося перемістити. Відкрийте їх, щоб спробувати ще раз.} many {# чатів не вдалося перемістити. Відкрийте їх, щоб спробувати ще раз.} other {# чату не вдалося перемістити. Відкрийте їх, щоб спробувати ще раз.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# чат залишився в старому робочому просторі} few {# чати залишилися в старому робочому просторі} many {# чатів залишилися в старому робочому просторі} other {# чату залишилося в старому робочому просторі}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {Прикріплено # коментар} few {Прикріплено # коментарі} many {Прикріплено # коментарів} other {Прикріплено # коментаря}}" @@ -360,9 +356,9 @@ msgstr "{0, plural, one {issue з Linear} few {issues з Linear} many {issues з msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Перемістити # вибраний робочий простір у групу} few {Перемістити # вибрані робочі простори в групу} many {Перемістити # вибраних робочих просторів у групу} other {Перемістити # вибраного робочого простору в групу}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Сюди переміщується # чат…} few {Сюди переміщуються # чати…} many {Сюди переміщуються # чатів…} other {Сюди переміщуються # чату…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Переміщення чату…} few {Переміщення чатів…} many {Переміщення чатів…} other {Переміщення чатів…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -864,6 +860,9 @@ msgstr "Файлів cookie: {cookieCount} — забути цей сайт" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# автоматизація} few {# автоматизації} many {# автоматизацій} other {# автоматизації}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# чат залишився в старому робочому просторі.} few {# чати залишилися в старому робочому просторі.} many {# чатів залишилися в старому робочому просторі.} other {# чату залишилося в старому робочому просторі.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {Не пройдено # перевірку} few {Не пройдено # перевірки} many {Не пройдено # перевірок} other {Не пройдено # перевірки}}" @@ -1363,9 +1362,6 @@ msgstr "{starCount} зірок, і це не межа" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Запущено # автоматизацію} few {Запущено # автоматизації} many {Запущено # автоматизацій} other {Запущено # автоматизації}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Цей робочий простір переміщено. # чат залишився тут.} few {Цей робочий простір переміщено. # чати залишилися тут.} many {Цей робочий простір переміщено. # чатів залишилися тут.} other {Цей робочий простір переміщено. # чату залишилося тут.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, one {Працює # субагент} few {Працюють # субагенти} many {Працює # субагентів} other {Працює # субагента}}" @@ -1390,9 +1386,6 @@ msgstr "{threshold, plural, one {Злито # агентський PR} few {Зл msgid "{toolName} interrupted" msgstr "{toolName}: перервано" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {Сюди переміщено {ready} з # чату} few {Сюди переміщено {ready} з # чатів} many {Сюди переміщено {ready} з # чатів} other {Сюди переміщено {ready} з # чату}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, =1 {Перевірку пройдено} one {Пройдено всі перевірки: #} few {Пройдено всі перевірки: #} many {Пройдено всі перевірки: #} other {Пройдено всі перевірки: #}}" @@ -12167,9 +12160,6 @@ msgstr "Переміщення {name}: {destination}" msgid "Moving this chat here" msgstr "Перенесення цього чату сюди" -msgid "Moving this workspace here…" -msgstr "Цей робочий простір переміщується сюди…" - msgid "Moving this workspace…" msgstr "Цей робочий простір переміщується…" @@ -18953,6 +18943,9 @@ msgstr "Запуск хмарного робочого простору" msgid "Starting the agent…" msgstr "Запускаємо агента…" +msgid "Starting the cloud workspace…" +msgstr "Запуск хмарного робочого простору…" + msgid "Starting the simulator…" msgstr "Запускаємо симулятор…" @@ -19980,9 +19973,6 @@ msgstr "Час очікування переміщення минув." msgid "The move was cancelled." msgstr "Перенесення скасовано." -msgid "The move was stopped. This workspace stayed here." -msgstr "Переміщення зупинено. Цей робочий простір залишився тут." - msgid "The name of your organization or team" msgstr "Назва вашої організації чи команди" @@ -20621,9 +20611,6 @@ msgstr "Це зніме з індексу та відкотить усі про msgid "This workspace" msgstr "Цей робочий простір" -msgid "This workspace couldn't move." -msgstr "Не вдалося перемістити цей робочий простір." - msgid "This workspace has no project to branch from" msgstr "У цього робочого простору немає проєкту, від якого можна створити гілку" diff --git a/packages/i18n/locales/vi/messages.po b/packages/i18n/locales/vi/messages.po index a8d6c267ce9..a000eac44e1 100644 --- a/packages/i18n/locales/vi/messages.po +++ b/packages/i18n/locales/vi/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {Đã đóng # cuộc trò chuyện}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {Không thể chuyển # cuộc trò chuyện. Hãy mở để thử lại.}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# cuộc trò chuyện vẫn ở không gian làm việc cũ} other {# cuộc trò chuyện vẫn ở không gian làm việc cũ}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {Đã đính kèm # bình luận} other {Đã đính kèm # bình luận}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {issue Linear} other {issue Linear}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {Chuyển # workspace đã chọn vào một nhóm} other {Chuyển # workspace đã chọn vào một nhóm}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {Đang chuyển # cuộc trò chuyện đến đây…} other {Đang chuyển # cuộc trò chuyện đến đây…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {Đang di chuyển cuộc trò chuyện…} other {Đang di chuyển các cuộc trò chuyện…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount} cookie — quên trang này" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# tự động hóa} other {# tự động hóa}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# cuộc trò chuyện vẫn ở không gian làm việc cũ.} other {# cuộc trò chuyện vẫn ở không gian làm việc cũ.}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {# check thất bại} other {# check thất bại}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount} star và còn tăng" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {Đã khởi chạy # tự động hóa} other {Đã khởi chạy # tự động hóa}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {Không gian làm việc này đã được chuyển. # cuộc trò chuyện vẫn ở đây.} other {Không gian làm việc này đã được chuyển. # cuộc trò chuyện vẫn ở đây.}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {# agent con đang chạy}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {đã hợp nhất # PR của tác nhân}}" msgid "{toolName} interrupted" msgstr "{toolName} bị gián đoạn" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {Đã chuyển {ready}/# cuộc trò chuyện đến đây} other {Đã chuyển {ready}/# cuộc trò chuyện đến đây}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {Cả # check đều đạt} other {Cả # check đều đạt}}" @@ -12173,9 +12166,6 @@ msgstr "Đang chuyển {name} sang {destination}" msgid "Moving this chat here" msgstr "Đang chuyển cuộc trò chuyện này đến đây" -msgid "Moving this workspace here…" -msgstr "Đang chuyển không gian làm việc này đến đây…" - msgid "Moving this workspace…" msgstr "Đang chuyển không gian làm việc này…" @@ -18959,6 +18949,9 @@ msgstr "Đang khởi động workspace trên cloud" msgid "Starting the agent…" msgstr "Đang khởi động tác nhân…" +msgid "Starting the cloud workspace…" +msgstr "Đang khởi động không gian làm việc trên cloud…" + msgid "Starting the simulator…" msgstr "Đang khởi động trình giả lập…" @@ -19986,9 +19979,6 @@ msgstr "Việc chuyển đã hết thời gian chờ." msgid "The move was cancelled." msgstr "Đã hủy việc chuyển." -msgid "The move was stopped. This workspace stayed here." -msgstr "Việc di chuyển đã dừng. Không gian làm việc này vẫn ở đây." - msgid "The name of your organization or team" msgstr "Tên tổ chức hoặc nhóm của bạn" @@ -20627,9 +20617,6 @@ msgstr "Thao tác này sẽ bỏ stage và hoàn nguyên toàn bộ thay đổi msgid "This workspace" msgstr "Workspace này" -msgid "This workspace couldn't move." -msgstr "Không thể chuyển không gian làm việc này." - msgid "This workspace has no project to branch from" msgstr "Workspace này không có dự án để tạo nhánh" diff --git a/packages/i18n/locales/zh-CN/messages.po b/packages/i18n/locales/zh-CN/messages.po index ccfdb983b00..9395974ec6b 100644 --- a/packages/i18n/locales/zh-CN/messages.po +++ b/packages/i18n/locales/zh-CN/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {已关闭 # 个聊天}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {# 个聊天未能移动。打开后重试。}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# 个聊天留在了原工作区} other {# 个聊天留在了原工作区}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {已附上#条评论} other {已附上#条评论}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear议题} other {Linear议题}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {把选中的#个工作区移动到分组} other {把选中的#个工作区移动到分组}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {正在将 # 个聊天移到这里…} other {正在将 # 个聊天移到这里…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {正在移动聊天…} other {正在移动聊天…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount}个cookie——忘记此站点" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# 个自动化} other {# 个自动化}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# 个聊天留在了原工作区。} other {# 个聊天留在了原工作区。}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {#项检查失败} other {#项检查失败}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount}个星标,还在增长" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {已启动 # 个自动化} other {已启动 # 个自动化}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {此工作区已移动。# 个聊天留在了这里。} other {此工作区已移动。# 个聊天留在了这里。}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {# 个子智能体运行中}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {已合并 # 个智能体 PR}}" msgid "{toolName} interrupted" msgstr "{toolName}已中断" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {已将 {ready}/# 个聊天移到这里} other {已将 {ready}/# 个聊天移到这里}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {#项检查全部通过} other {#项检查全部通过}}" @@ -12173,9 +12166,6 @@ msgstr "正在将 {name} 移至{destination}" msgid "Moving this chat here" msgstr "正在将此聊天移到这里" -msgid "Moving this workspace here…" -msgstr "正在将此工作区移到这里…" - msgid "Moving this workspace…" msgstr "正在移动此工作区…" @@ -18959,6 +18949,9 @@ msgstr "正在启动云端工作区" msgid "Starting the agent…" msgstr "正在启动智能体…" +msgid "Starting the cloud workspace…" +msgstr "正在启动云端工作区…" + msgid "Starting the simulator…" msgstr "正在启动模拟器…" @@ -19986,9 +19979,6 @@ msgstr "移动超时。" msgid "The move was cancelled." msgstr "移动已取消。" -msgid "The move was stopped. This workspace stayed here." -msgstr "移动已停止。此工作区仍在这里。" - msgid "The name of your organization or team" msgstr "你的组织或团队的名称" @@ -20627,9 +20617,6 @@ msgstr "这将取消暂存并还原所有已暂存的更改。已暂存的新文 msgid "This workspace" msgstr "此工作区" -msgid "This workspace couldn't move." -msgstr "此工作区无法移动。" - msgid "This workspace has no project to branch from" msgstr "此工作区没有可供分叉的项目" diff --git a/packages/i18n/locales/zh-TW/messages.po b/packages/i18n/locales/zh-TW/messages.po index d9f70882e96..32553e480d7 100644 --- a/packages/i18n/locales/zh-TW/messages.po +++ b/packages/i18n/locales/zh-TW/messages.po @@ -142,10 +142,6 @@ msgstr "{0, plural, other {已關閉 # 個聊天}}" msgid "{0, plural, one {# chat could not move. Open it to try again.} other {# chats could not move. Open them to try again.}}" msgstr "{0, plural, other {# 個聊天無法移動。開啟後再試一次。}}" -#. placeholder {0}: skipped.length -msgid "{0, plural, one {# chat stayed in the old workspace} other {# chats stayed in the old workspace}}" -msgstr "{0, plural, one {# 個聊天留在了原工作區} other {# 個聊天留在了原工作區}}" - #. placeholder {0}: comments.length msgid "{0, plural, one {# comment attached} other {# comments attached}}" msgstr "{0, plural, one {已附上#條評論} other {已附上#條評論}}" @@ -366,9 +362,9 @@ msgstr "{0, plural, one {Linear議題} other {Linear議題}}" msgid "{0, plural, one {Move # selected workspace to a group} other {Move # selected workspaces to a group}}" msgstr "{0, plural, one {把選中的#個工作區移動到群組} other {把選中的#個工作區移動到群組}}" -#. placeholder {0}: move.chats.total - move.chats.ready - move.chats.failed -msgid "{0, plural, one {Moving # chat here…} other {Moving # chats here…}}" -msgstr "{0, plural, one {正在將 # 個聊天移到這裡…} other {正在將 # 個聊天移到這裡…}}" +#. placeholder {0}: chats.total +msgid "{0, plural, one {Moving its chat…} other {Moving its chats…}}" +msgstr "{0, plural, one {正在移動聊天…} other {正在移動聊天…}}" #. placeholder {0}: cleanup.automations msgid "{0, plural, one {Paused # automation.} other {Paused # automations.}}" @@ -870,6 +866,9 @@ msgstr "{cookieCount}個cookie——忘記此站點" msgid "{count, plural, one {# automation} other {# automations}}" msgstr "{count, plural, one {# 個自動化} other {# 個自動化}}" +msgid "{count, plural, one {# chat stayed in the old workspace.} other {# chats stayed in the old workspace.}}" +msgstr "{count, plural, one {# 個聊天留在了原工作區。} other {# 個聊天留在了原工作區。}}" + msgid "{count, plural, one {# Check Failed} other {# Checks Failed}}" msgstr "{count, plural, one {#項檢查失敗} other {#項檢查失敗}}" @@ -1369,9 +1368,6 @@ msgstr "{starCount}個星標,還在成長" msgid "{started, plural, one {Started # automation} other {Started # automations}}" msgstr "{started, plural, one {已啟動 # 個自動化} other {已啟動 # 個自動化}}" -msgid "{stayed, plural, one {This workspace moved. # chat stayed here.} other {This workspace moved. # chats stayed here.}}" -msgstr "{stayed, plural, one {此工作區已移動。# 個聊天留在了這裡。} other {此工作區已移動。# 個聊天留在了這裡。}}" - msgid "{subagentCount, plural, one {# subagent running} other {# subagents running}}" msgstr "{subagentCount, plural, other {# 個子代理程式執行中}}" @@ -1396,9 +1392,6 @@ msgstr "{threshold, plural, other {已合併 # 個智慧代理 PR}}" msgid "{toolName} interrupted" msgstr "{toolName}已中斷" -msgid "{total, plural, one {{ready} of # chat moved here} other {{ready} of # chats moved here}}" -msgstr "{total, plural, one {已將 {ready}/# 個聊天移到這裡} other {已將 {ready}/# 個聊天移到這裡}}" - msgid "{total, plural, one {The check passed} other {All # checks passed}}" msgstr "{total, plural, one {#項檢查全部通過} other {#項檢查全部通過}}" @@ -12173,9 +12166,6 @@ msgstr "正在將 {name} 移至{destination}" msgid "Moving this chat here" msgstr "正在將此聊天移到這裡" -msgid "Moving this workspace here…" -msgstr "正在將此工作區移到這裡…" - msgid "Moving this workspace…" msgstr "正在移動此工作區…" @@ -18959,6 +18949,9 @@ msgstr "正在啟動雲端工作區" msgid "Starting the agent…" msgstr "正在啟動代理…" +msgid "Starting the cloud workspace…" +msgstr "正在啟動雲端工作區…" + msgid "Starting the simulator…" msgstr "正在啟動模擬器…" @@ -19986,9 +19979,6 @@ msgstr "移動逾時。" msgid "The move was cancelled." msgstr "移動已取消。" -msgid "The move was stopped. This workspace stayed here." -msgstr "移動已停止。此工作區仍在這裡。" - msgid "The name of your organization or team" msgstr "你的組織或團隊的名稱" @@ -20627,9 +20617,6 @@ msgstr "這將取消暫存並還原所有已暫存的更改。已暫存的新檔 msgid "This workspace" msgstr "此工作區" -msgid "This workspace couldn't move." -msgstr "此工作區無法移動。" - msgid "This workspace has no project to branch from" msgstr "此工作區沒有可供分叉的專案"