Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(web): cloud sign-up and onboarding layout (#1832)

Tin Severff995ce83bfa
diff --git a/apps/api/src/config/response.ts b/apps/api/src/config/response.ts
index fde2ffb82..6c14b70f4 100644
--- a/apps/api/src/config/response.ts
+++ b/apps/api/src/config/response.ts
@@ -2,6 +2,7 @@ import { z } from "../openapi";
export const configSchema = z
.object({
+ isCloud: z.boolean(),
disableRegistration: z.boolean(),
disablePasswordRegistration: z.boolean(),
disableEmailOtpSignIn: z.boolean(),
diff --git a/apps/api/src/utils/get-settings.ts b/apps/api/src/utils/get-settings.ts
index 0d01ff15d..0646ca9fa 100644
--- a/apps/api/src/utils/get-settings.ts
+++ b/apps/api/src/utils/get-settings.ts
@@ -2,11 +2,13 @@ import { isSmtpConfigured } from "@kaneo/email";
import { config } from "dotenv-mono";
import { isBillingEnabled } from "../billing/config";
import { isGithubSsoConfigured } from "./github-sso-env";
+import { isCloud } from "./is-cloud";
config();
function getSettings() {
return {
+ isCloud: isCloud(),
disableRegistration: process.env.DISABLE_REGISTRATION === "true",
disablePasswordRegistration:
process.env.DISABLE_PASSWORD_REGISTRATION === "true",
diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json
index abc0b0e79..8d99a78b2 100644
--- a/apps/docs/openapi.json
+++ b/apps/docs/openapi.json
@@ -450,6 +450,9 @@
"Config": {
"type": "object",
"properties": {
+ "isCloud": {
+ "type": "boolean"
+ },
"disableRegistration": {
"type": "boolean"
},
@@ -500,6 +503,7 @@
}
},
"required": [
+ "isCloud",
"disableRegistration",
"disablePasswordRegistration",
"disableEmailOtpSignIn",
diff --git a/apps/web/public/images/auth/board-dark.webp b/apps/web/public/images/auth/board-dark.webp
new file mode 100644
index 000000000..d5669a412
Binary files /dev/null and b/apps/web/public/images/auth/board-dark.webp differ
diff --git a/apps/web/public/images/auth/board-light.webp b/apps/web/public/images/auth/board-light.webp
new file mode 100644
index 000000000..ec261b91a
Binary files /dev/null and b/apps/web/public/images/auth/board-light.webp differ
diff --git a/apps/web/src/components/auth/cloud-auth-layout.tsx b/apps/web/src/components/auth/cloud-auth-layout.tsx
new file mode 100644
index 000000000..b3ecac43b
--- /dev/null
+++ b/apps/web/src/components/auth/cloud-auth-layout.tsx
@@ -0,0 +1,83 @@
+import { useTranslation } from "react-i18next";
+
+type CloudAuthLayoutProps = {
+ children: React.ReactNode;
+ title: string;
+ subtitle?: string;
+ workspaceName?: string;
+ note?: "signUp" | "onboarding";
+};
+
+export function CloudAuthLayout({
+ children,
+ title,
+ subtitle,
+ workspaceName,
+ note = "signUp",
+}: CloudAuthLayoutProps) {
+ const { t } = useTranslation();
+
+ return (
+ <main className="grid h-svh w-full overflow-y-auto bg-background lg:grid-cols-[minmax(0,1fr)_minmax(0,1.15fr)]">
+ <div className="flex min-w-0 flex-col px-6 py-6 sm:px-10 lg:px-14 lg:py-8">
+ <header>
+ <img src="/logo-dark.svg" alt="Kaneo" className="h-6 dark:hidden" />
+ <img
+ src="/logo-light.svg"
+ alt="Kaneo"
+ className="hidden h-6 dark:block"
+ />
+ </header>
+
+ <div className="flex flex-1 items-center justify-center py-12">
+ <div className="w-full max-w-sm">
+ <h1 className="text-2xl font-semibold tracking-tight text-foreground">
+ {title}
+ </h1>
+ {subtitle ? (
+ <p className="mt-2 text-sm text-muted-foreground">{subtitle}</p>
+ ) : null}
+ <div className="mt-8">{children}</div>
+ </div>
+ </div>
+ </div>
+
+ <div
+ aria-hidden="true"
+ className="hidden min-w-0 flex-col overflow-hidden border-l border-border bg-muted lg:flex"
+ >
+ <div className="max-w-lg px-12 pt-[12vh]">
+ <p className="text-xl font-medium tracking-tight text-foreground">
+ {note === "signUp"
+ ? t("auth:cloud.signUp.title")
+ : t("auth:cloud.onboarding.title")}
+ </p>
+ <p className="mt-3 text-sm leading-6 text-muted-foreground">
+ {note === "signUp"
+ ? t("auth:cloud.signUp.description")
+ : t("auth:cloud.onboarding.description")}
+ </p>
+ </div>
+ <div className="relative mt-10 flex-1">
+ <div className="@container absolute top-0 left-12 w-[1380px] overflow-hidden rounded-tl-xl border-t border-l border-border shadow-lg">
+ <div className="aspect-[3456/2000] bg-[url(/images/auth/board-light.webp)] bg-cover dark:bg-[url(/images/auth/board-dark.webp)]" />
+ {workspaceName ? (
+ // Cover the "Studio North" labels baked into the screenshot so it
+ // reads back the name being typed. Offsets are measured against
+ // the 3456×2000 source and scale with the container; backgrounds
+ // match the sampled sidebar and header colors.
+ <>
+ <span className="absolute top-[1.5%] left-[1.15%] flex h-[2.25%] w-[5.9%] items-center bg-[#fafafa] ps-[0.25cqw] text-[0.81cqw] font-medium text-neutral-800 dark:bg-[#111111] dark:text-neutral-100">
+ <span className="truncate">{workspaceName}</span>
+ </span>
+ <span className="absolute top-[2.25%] left-[17.36%] flex h-[1.75%] w-[4.92%] items-center bg-white ps-[0.2cqw] text-[0.75cqw] font-medium text-neutral-800 dark:bg-[#191919] dark:text-neutral-100">
+ <span className="truncate">{workspaceName}</span>
+ </span>
+ </>
+ ) : null}
+ </div>
+ </div>
+ </div>
+ </main>
+ );
+}
diff --git a/apps/web/src/components/onboarding/onboarding-flow.test.tsx b/apps/web/src/components/onboarding/onboarding-flow.test.tsx
index 1207cf47d..24ce0f926 100644
--- a/apps/web/src/components/onboarding/onboarding-flow.test.tsx
+++ b/apps/web/src/components/onboarding/onboarding-flow.test.tsx
@@ -2,20 +2,24 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import {
act,
cleanup,
+ fireEvent,
render as rtlRender,
screen,
+ waitFor,
} from "@testing-library/react";
import { createElement, type ReactNode } from "react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { OnboardingFlow } from "./onboarding-flow";
+const navigate = vi.fn();
+const createWorkspace = vi.fn();
const config = vi.fn();
const authUser = vi.fn();
const getSession = vi.fn();
vi.mock("@tanstack/react-router", async (importOriginal) => ({
...(await importOriginal<typeof import("@tanstack/react-router")>()),
- useNavigate: () => vi.fn(),
+ useNavigate: () => navigate,
}));
// Renders a router Link, which needs a router context this test has no reason
@@ -36,7 +40,7 @@ vi.mock("@/lib/auth-client", () => ({
}));
vi.mock("@/hooks/queries/workspace/use-create-workspace", () => ({
- default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+ default: () => ({ mutateAsync: createWorkspace, isPending: false }),
}));
vi.mock("@/components/providers/auth-provider/hooks/use-auth", () => ({
@@ -50,6 +54,7 @@ vi.mock("react-i18next", () => ({
}));
beforeEach(() => {
+ createWorkspace.mockResolvedValue({ id: "workspace-1" });
authUser.mockReturnValue({ id: "u1", name: "Sam", role: "user" });
// Better Auth resolves with `{ data, error }` and does not reject, which is
// the whole reason the hook reads `error` rather than catching.
@@ -66,6 +71,7 @@ beforeEach(() => {
afterEach(() => {
cleanup();
vi.clearAllMocks();
+ vi.useRealTimers();
});
// A real client rather than a mocked one: the component reaches react-query
@@ -92,6 +98,60 @@ const restricted = () => screen.queryByText("auth:onboarding.restrictedTitle");
const settled = () => act(async () => {});
describe("OnboardingFlow", () => {
+ it("previews the cloud workspace name and navigates without the success step", async () => {
+ config.mockReturnValue({ data: { isCloud: true }, isPending: false });
+ render(<OnboardingFlow />);
+ await settled();
+ fireEvent.change(screen.getByLabelText("auth:onboarding.workspaceName"), {
+ target: { value: "My team" },
+ });
+ expect(screen.getAllByText("My team")).toHaveLength(2);
+ fireEvent.click(
+ screen.getByRole("button", { name: "auth:onboarding.createWorkspace" }),
+ );
+ await waitFor(() =>
+ expect(navigate).toHaveBeenCalledWith({
+ to: "/dashboard/workspace/$workspaceId",
+ params: { workspaceId: "workspace-1" },
+ replace: true,
+ }),
+ );
+ expect(
+ screen.queryByText("auth:onboarding.workspaceCreatedTitle"),
+ ).not.toBeInTheDocument();
+ expect(createWorkspace).toHaveBeenCalledTimes(1);
+ });
+
+ it("keeps the self-hosted success step and delayed navigation", async () => {
+ vi.useFakeTimers();
+ const { rerender } = render(<OnboardingFlow />);
+ await settled();
+ fireEvent.change(screen.getByLabelText("auth:onboarding.workspaceName"), {
+ target: { value: "My team" },
+ });
+ fireEvent.click(
+ screen.getByRole("button", { name: "auth:onboarding.createWorkspace" }),
+ );
+ await settled();
+ expect(navigate).not.toHaveBeenCalled();
+ // A config recovery must not reveal the form again after creation.
+ config.mockReturnValue({ data: { isCloud: true }, isPending: false });
+ rerender(<OnboardingFlow />);
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(500);
+ });
+ expect(
+ screen.getByText("auth:onboarding.workspaceCreatedTitle"),
+ ).toBeInTheDocument();
+ expect(
+ screen.queryByRole("button", { name: "auth:onboarding.createWorkspace" }),
+ ).not.toBeInTheDocument();
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(1000);
+ });
+ expect(navigate).toHaveBeenCalledTimes(1);
+ });
+
it("offers the creation form when anyone may create a workspace", async () => {
render(<OnboardingFlow />);
await settled();
@@ -137,9 +197,8 @@ describe("OnboardingFlow", () => {
expect(restricted()).not.toBeInTheDocument();
});
- it("does not make an instance admin wait for the config", async () => {
- // The setting cannot restrict an admin, so its value cannot change what
- // they are shown. Waiting would delay a form they always get.
+ it("waits for config before choosing the layout for an instance admin", async () => {
+ // Cloud mode determines the layout even when creation is unrestricted.
config.mockReturnValue({ data: undefined, isPending: true });
getSession.mockResolvedValue({
data: { user: { id: "u1", role: "admin" } },
@@ -149,7 +208,8 @@ describe("OnboardingFlow", () => {
render(<OnboardingFlow />);
await settled();
- expect(creationForm()).toBeInTheDocument();
+ expect(creationForm()).not.toBeInTheDocument();
+ expect(screen.getByRole("status")).toBeInTheDocument();
expect(restricted()).not.toBeInTheDocument();
});
diff --git a/apps/web/src/components/onboarding/onboarding-flow.tsx b/apps/web/src/components/onboarding/onboarding-flow.tsx
index 20859fb30..8ef67701d 100644
--- a/apps/web/src/components/onboarding/onboarding-flow.tsx
+++ b/apps/web/src/components/onboarding/onboarding-flow.tsx
@@ -4,9 +4,10 @@ import { useNavigate } from "@tanstack/react-router";
import { AnimatePresence, motion, useReducedMotion } from "framer-motion";
import { CheckCircle2, MailQuestion } from "lucide-react";
import { useMemo, useState } from "react";
-import { useForm } from "react-hook-form";
+import { useForm, useWatch } from "react-hook-form";
import { Trans, useTranslation } from "react-i18next";
import { z } from "zod/v4";
+import { CloudAuthLayout } from "@/components/auth/cloud-auth-layout";
import { Logo } from "@/components/common/logo";
import PageTitle from "@/components/page-title";
import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
@@ -21,6 +22,7 @@ import {
} from "@/components/ui/form";
import { Input } from "@/components/ui/input";
import { Spinner } from "@/components/ui/spinner";
+import useGetConfig from "@/hooks/queries/config/use-get-config";
import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";
import useWorkspaceCreationAccess from "@/hooks/use-workspace-creation-access";
import { authClient } from "@/lib/auth-client";
@@ -51,7 +53,11 @@ export function OnboardingFlow() {
const queryClient = useQueryClient();
const { mutateAsync: createWorkspace, isPending } = useCreateWorkspace();
const { user } = useAuth();
- const { isCreationRestricted, isDecided } = useWorkspaceCreationAccess();
+ const { isCreationRestricted, isDecided: isAccessDecided } =
+ useWorkspaceCreationAccess();
+ const { data: config, isPending: isConfigPending } = useGetConfig();
+ const isDecided = isAccessDecided && !isConfigPending;
+ const isCloud = config?.isCloud === true;
const workspaceSchema = useMemo(
() =>
@@ -84,18 +90,22 @@ export function OnboardingFlow() {
await authClient.organization.setActive({
organizationId: workspace.id,
});
- setCreatedWorkspaceName(data.name);
- toast.success(t("auth:onboarding.toast.workspaceCreated"));
-
- setStep("success");
-
- setTimeout(() => {
+ const goToWorkspace = () =>
navigate({
to: "/dashboard/workspace/$workspaceId",
params: { workspaceId: workspace.id },
replace: true,
});
- }, 1500);
+
+ if (isCloud) {
+ await goToWorkspace();
+ return;
+ }
+
+ setCreatedWorkspaceName(data.name);
+ toast.success(t("auth:onboarding.toast.workspaceCreated"));
+ setStep("success");
+ setTimeout(goToWorkspace, 1500);
} catch (error) {
toast.error(
error instanceof Error
@@ -105,6 +115,62 @@ export function OnboardingFlow() {
}
};
+ const isSubmitting = isPending || form.formState.isSubmitting;
+ const workspaceName = useWatch({ control: form.control, name: "name" });
+
+ const workspaceForm = (
+ <Form {...form}>
+ <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-3">
+ <div className="space-y-3">
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel className="text-sm font-medium">
+ {t("auth:onboarding.workspaceName")}
+ </FormLabel>
+ <FormControl>
+ <Input
+ placeholder={t("auth:onboarding.workspaceNamePlaceholder")}
+ autoFocus
+ {...field}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+
+ <FormField
+ control={form.control}
+ name="description"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel className="text-sm font-medium text-muted-foreground">
+ {t("auth:onboarding.descriptionOptional")}
+ </FormLabel>
+ <FormControl>
+ <Input
+ placeholder={t("auth:onboarding.descriptionPlaceholder")}
+ {...field}
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ </div>
+
+ <Button type="submit" disabled={isSubmitting} className="w-full mt-4">
+ {isSubmitting
+ ? t("auth:onboarding.creating")
+ : t("auth:onboarding.createWorkspace")}
+ </Button>
+ </form>
+ </Form>
+ );
+
const renderWorkspaceStep = () => (
<motion.div
key="workspace"
@@ -127,60 +193,7 @@ export function OnboardingFlow() {
</p>
</div>
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-3">
- <div className="space-y-3">
- <FormField
- control={form.control}
- name="name"
- render={({ field }) => (
- <FormItem>
- <FormLabel className="text-sm font-medium">
- {t("auth:onboarding.workspaceName")}
- </FormLabel>
- <FormControl>
- <Input
- placeholder={t(
- "auth:onboarding.workspaceNamePlaceholder",
- )}
- autoFocus
- {...field}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="description"
- render={({ field }) => (
- <FormItem>
- <FormLabel className="text-sm font-medium text-muted-foreground">
- {t("auth:onboarding.descriptionOptional")}
- </FormLabel>
- <FormControl>
- <Input
- placeholder={t(
- "auth:onboarding.descriptionPlaceholder",
- )}
- {...field}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <Button type="submit" disabled={isPending} className="w-full mt-4">
- {isPending
- ? t("auth:onboarding.creating")
- : t("auth:onboarding.createWorkspace")}
- </Button>
- </form>
- </Form>
+ {workspaceForm}
</div>
</motion.div>
);
@@ -263,6 +276,21 @@ export function OnboardingFlow() {
</div>
</motion.div>
);
+ if (step === "workspace" && isCloud && isDecided && !isCreationRestricted) {
+ return (
+ <>
+ <PageTitle title={t("auth:onboarding.workspacePageTitle")} />
+ <CloudAuthLayout
+ title={t("auth:onboarding.cloud.title")}
+ subtitle={t("auth:onboarding.cloud.subtitle")}
+ workspaceName={workspaceName.trim()}
+ note="onboarding"
+ >
+ {workspaceForm}
+ </CloudAuthLayout>
+ </>
+ );
+ }
return (
<>
diff --git a/apps/web/src/routes/auth/captcha-flow.test.tsx b/apps/web/src/routes/auth/captcha-flow.test.tsx
index 64f1954bd..b92e4e5ed 100644
--- a/apps/web/src/routes/auth/captcha-flow.test.tsx
+++ b/apps/web/src/routes/auth/captcha-flow.test.tsx
@@ -1,3 +1,4 @@
+import { QueryClient } from "@tanstack/react-query";
import {
cleanup,
fireEvent,
@@ -21,7 +22,10 @@ const m = vi.hoisted(() => ({
social: vi.fn(),
oauth2: vi.fn(),
navigate: vi.fn(),
+ isCloud: false,
+ getConfig: vi.fn(),
}));
+vi.mock("@/fetchers/config/get-config", () => ({ getConfig: m.getConfig }));
vi.mock("@/lib/auth-client", () => ({
authClient: { signIn: m, getLastUsedLoginMethod: () => null },
}));
@@ -33,6 +37,7 @@ vi.mock("@tanstack/react-router", () => ({
vi.mock("@/hooks/queries/config/use-get-config", () => ({
default: () => ({
data: {
+ isCloud: m.isCloud,
hasGuestAccess: true,
hasGithubSignIn: true,
hasCustomOAuth: true,
@@ -48,7 +53,14 @@ vi.mock("@/hooks/queries/instance/use-instance-status", () => ({
}),
}));
vi.mock("@/components/auth/layout", () => ({
- AuthLayout: ({ children }: { children: ReactNode }) => children,
+ AuthLayout: ({ children }: { children: ReactNode }) => (
+ <div data-testid="self-hosted-sign-up">{children}</div>
+ ),
+}));
+vi.mock("@/components/auth/cloud-auth-layout", () => ({
+ CloudAuthLayout: ({ children }: { children: ReactNode }) => (
+ <div data-testid="cloud-sign-up">{children}</div>
+ ),
}));
vi.mock("@/components/auth/sign-up-form", () => ({ SignUpForm: () => null }));
vi.mock("@/components/auth/sign-in-form", () => ({ SignInForm: () => null }));
@@ -73,9 +85,36 @@ afterAll(() => vi.unstubAllEnvs());
afterEach(() => cleanup());
beforeEach(() => {
vi.clearAllMocks();
+ m.isCloud = false;
for (const mock of [m.anonymous, m.social, m.oauth2])
mock.mockResolvedValue({ error: { message: "Retry" } });
});
+describe("sign-up layout", () => {
+ it("still renders the route when config preloading fails", async () => {
+ m.getConfig.mockRejectedValueOnce(new Error("offline"));
+ const queryClient = new QueryClient({
+ defaultOptions: { queries: { retry: false } },
+ });
+ const loader = signup.options.loader as (args: {
+ context: { queryClient: QueryClient };
+ }) => Promise<void>;
+ await expect(loader({ context: { queryClient } })).resolves.toBeUndefined();
+ expect(queryClient.getQueryState(["config"])?.status).toBe("error");
+ });
+
+ const Page = signup.options.component as ComponentType;
+
+ it("uses the existing layout for a self-hosted instance", () => {
+ render(<Page />);
+ expect(screen.getByTestId("self-hosted-sign-up")).toBeInTheDocument();
+ });
+
+ it("uses the cloud layout only when the instance reports cloud mode", () => {
+ m.isCloud = true;
+ render(<Page />);
+ expect(screen.getByTestId("cloud-sign-up")).toBeInTheDocument();
+ });
+});
describe.each([
["sign-in", signin],
["sign-up", signup],
diff --git a/apps/web/src/routes/auth/sign-up.tsx b/apps/web/src/routes/auth/sign-up.tsx
index 3012b35e6..b0571ec58 100644
--- a/apps/web/src/routes/auth/sign-up.tsx
+++ b/apps/web/src/routes/auth/sign-up.tsx
@@ -7,6 +7,7 @@ import { UserCheck } from "lucide-react";
import { useCallback, useEffect, useState } from "react";
import { useTranslation } from "react-i18next";
import { z } from "zod/v4";
+import { CloudAuthLayout } from "@/components/auth/cloud-auth-layout";
import { AuthLayout } from "@/components/auth/layout";
import { SignUpForm } from "@/components/auth/sign-up-form";
import { SSOProviders } from "@/components/auth/sso-providers";
@@ -15,6 +16,7 @@ import { Turnstile } from "@/components/auth/turnstile";
import PageTitle from "@/components/page-title";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { Button } from "@/components/ui/button";
+import { getConfig } from "@/fetchers/config/get-config";
import useGetConfig from "@/hooks/queries/config/use-get-config";
import useInstanceStatus from "@/hooks/queries/instance/use-instance-status";
import { authClient } from "@/lib/auth-client";
@@ -32,6 +34,11 @@ const signUpSearchSchema = z.object({
export const Route = createFileRoute("/auth/sign-up")({
component: SignUp,
validateSearch: signUpSearchSchema,
+ loader: ({ context }) =>
+ context.queryClient.prefetchQuery({
+ queryKey: ["config"],
+ queryFn: getConfig,
+ }),
});
function SignUp() {
@@ -76,6 +83,7 @@ function SignUp() {
const invitationId = search.invitationId;
const prefillEmail = search.email;
const isInstanceAdminSetup = instanceStatus?.hasUsers === false;
+ const SignUpLayout = config?.isCloud ? CloudAuthLayout : AuthLayout;
const baseUrl = import.meta.env.VITE_CLIENT_URL ?? window.location.origin;
const callbackURL = invitationId
@@ -113,7 +121,7 @@ function SignUp() {
return (
<>
<PageTitle title={t("auth:signUp.pageTitle")} />
- <AuthLayout
+ <SignUpLayout
title={
isInstanceAdminSetup
? t("auth:signUp.instanceAdminTitle", {
@@ -136,7 +144,7 @@ function SignUp() {
: t("auth:signUp.subtitleDefault")
}
>
- <div className="space-y-4 mt-6">
+ <div className={config?.isCloud ? "space-y-4" : "space-y-4 mt-6"}>
{invitationId && (
<Alert>
<AlertDescription>
@@ -248,7 +256,7 @@ function SignUp() {
/>
)}
</div>
- </AuthLayout>
+ </SignUpLayout>
</>
);
}
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 297f07906..75d85e535 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -213,6 +213,16 @@
"emailFallback": "E-poçt ünvanınız",
"backToLogin": "Girişə qayıt"
},
+ "cloud": {
+ "signUp": {
+ "title": "Bundan sonra nə olacaq",
+ "description": "Hesabınızı yaratdıqdan sonra iş sahənizə ad verəcəksiniz. Oradan layihə əlavə edib tapşırıq yazmağa başlaya bilərsiniz."
+ },
+ "onboarding": {
+ "title": "İş sahəsi nədir",
+ "description": "İş sahəsi layihələrinizi, onların tapşırıqlarını və birlikdə işlədiyiniz insanları saxlayır. Qurulduqdan sonra komanda üzvlərini dəvət edin."
+ }
+ },
"signUp": {
"pageTitle": "Hesab yarat",
"title": "Hesab yarat",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Burada yalnız instans administratoru iş sahəsi yarada bilər. Sizi dəvət etməsini xahiş edin, sonra bu səhifəni yeniləyin.",
"restrictedCheckInvitations": "Dəvətlərə bax",
- "restrictedTitle": "Dəvət lazımdır"
+ "restrictedTitle": "Dəvət lazımdır",
+ "cloud": {
+ "title": "İş sahənizə ad verin",
+ "subtitle": "Komandanızın və ya şirkətinizin adını istifadə edin. Onu sonra parametrlərdə dəyişə bilərsiniz."
+ }
},
"profileSetup": {
"pageTitle": "Profili tamamla",
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index 51a1e40cd..dc664cfac 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -213,6 +213,16 @@
"emailFallback": "deine E-Mail-Adresse",
"backToLogin": "Zurück zur Anmeldung"
},
+ "cloud": {
+ "signUp": {
+ "title": "Wie es weitergeht",
+ "description": "Nachdem du dein Konto erstellt hast, gibst du deinem Workspace einen Namen. Danach kannst du ein Projekt anlegen und Aufgaben schreiben."
+ },
+ "onboarding": {
+ "title": "Was ein Workspace ist",
+ "description": "Ein Workspace enthält deine Projekte, ihre Aufgaben und die Menschen, mit denen du zusammenarbeitest. Lade Teammitglieder ein, sobald er eingerichtet ist."
+ }
+ },
"signUp": {
"pageTitle": "Konto erstellen",
"title": "Konto erstellen",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Nur eine Instanzadministration kann hier Workspaces anlegen. Bitte um eine Einladung und lade diese Seite neu.",
"restrictedCheckInvitations": "Einladungen prüfen",
- "restrictedTitle": "Du brauchst eine Einladung"
+ "restrictedTitle": "Du brauchst eine Einladung",
+ "cloud": {
+ "title": "Benenne deinen Workspace",
+ "subtitle": "Verwende den Namen deines Teams oder Unternehmens. Du kannst ihn später in den Einstellungen ändern."
+ }
},
"profileSetup": {
"pageTitle": "Profil vervollständigen",
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index 8aefcc3d3..9e9fbbd66 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -213,6 +213,16 @@
"emailFallback": "τη διεύθυνση email σας",
"backToLogin": "Επιστροφή στη σύνδεση"
},
+ "cloud": {
+ "signUp": {
+ "title": "Τι ακολουθεί",
+ "description": "Αφού δημιουργήσετε τον λογαριασμό σας, θα δώσετε όνομα σε έναν χώρο εργασίας. Από εκεί μπορείτε να προσθέσετε ένα έργο και να αρχίσετε να γράφετε εργασίες."
+ },
+ "onboarding": {
+ "title": "Τι είναι ένας χώρος εργασίας",
+ "description": "Ένας χώρος εργασίας περιέχει τα έργα σας, τις εργασίες τους και τους ανθρώπους με τους οποίους συνεργάζεστε. Προσκαλέστε συνεργάτες μόλις ρυθμιστεί."
+ }
+ },
"signUp": {
"pageTitle": "Δημιουργία λογαριασμού",
"title": "Δημιουργία λογαριασμού",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Μόνο ένας διαχειριστής της εγκατάστασης μπορεί να δημιουργεί χώρους εργασίας εδώ. Ζητήστε πρόσκληση και ανανεώστε τη σελίδα.",
"restrictedCheckInvitations": "Έλεγχος προσκλήσεων",
- "restrictedTitle": "Χρειάζεστε πρόσκληση"
+ "restrictedTitle": "Χρειάζεστε πρόσκληση",
+ "cloud": {
+ "title": "Ονομάστε τον χώρο εργασίας σας",
+ "subtitle": "Χρησιμοποιήστε το όνομα της ομάδας ή της εταιρείας σας. Μπορείτε να το αλλάξετε αργότερα στις ρυθμίσεις."
+ }
},
"profileSetup": {
"pageTitle": "Ολοκλήρωση προφίλ",
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 932f087db..4110698c7 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -213,6 +213,16 @@
"emailFallback": "your email address",
"backToLogin": "Back to login"
},
+ "cloud": {
+ "signUp": {
+ "title": "What happens next",
+ "description": "After you create your account, you'll name a workspace. From there you can add a project and start writing tasks."
+ },
+ "onboarding": {
+ "title": "What a workspace is",
+ "description": "A workspace holds your projects, their tasks, and the people you work with. Invite teammates once it's set up."
+ }
+ },
"signUp": {
"pageTitle": "Create Account",
"title": "Create account",
@@ -323,6 +333,10 @@
},
"validation": {
"workspaceNameRequired": "Workspace name is required"
+ },
+ "cloud": {
+ "title": "Name your workspace",
+ "subtitle": "Use your team or company name. You can change it later in settings."
}
},
"profileSetup": {
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index f463eaaac..79402cfc5 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -213,6 +213,16 @@
"emailFallback": "tu dirección de correo electrónico",
"backToLogin": "Volver a login"
},
+ "cloud": {
+ "signUp": {
+ "title": "Qué viene después",
+ "description": "Después de crear tu cuenta, le pondrás nombre a un espacio de trabajo. A partir de ahí puedes añadir un proyecto y empezar a escribir tareas."
+ },
+ "onboarding": {
+ "title": "Qué es un espacio de trabajo",
+ "description": "Un espacio de trabajo contiene tus proyectos, sus tareas y las personas con las que trabajas. Invita a tu equipo cuando esté listo."
+ }
+ },
"signUp": {
"pageTitle": "Crear Cuenta",
"title": "Crear cuenta",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Aquí solo un administrador de la instancia puede crear espacios de trabajo. Pide que te inviten y recarga esta página.",
"restrictedCheckInvitations": "Ver invitaciones",
- "restrictedTitle": "Necesitas una invitación"
+ "restrictedTitle": "Necesitas una invitación",
+ "cloud": {
+ "title": "Ponle nombre a tu espacio de trabajo",
+ "subtitle": "Usa el nombre de tu equipo o empresa. Puedes cambiarlo más tarde en la configuración."
+ }
},
"profileSetup": {
"pageTitle": "Completar Perfil",
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index d107f649c..5afd46c7c 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -213,6 +213,16 @@
"emailFallback": "votre adresse email",
"backToLogin": "Retour à la connexion"
},
+ "cloud": {
+ "signUp": {
+ "title": "Et ensuite",
+ "description": "Après avoir créé votre compte, vous nommerez un espace de travail. Vous pourrez ensuite ajouter un projet et commencer à rédiger des tâches."
+ },
+ "onboarding": {
+ "title": "Qu'est-ce qu'un espace de travail",
+ "description": "Un espace de travail regroupe vos projets, leurs tâches et les personnes avec qui vous travaillez. Invitez vos collègues une fois qu'il est configuré."
+ }
+ },
"signUp": {
"pageTitle": "Créer un compte",
"title": "Créer un compte",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Seul un administrateur de l'instance peut créer des espaces de travail ici. Demandez une invitation, puis rechargez cette page.",
"restrictedCheckInvitations": "Voir les invitations",
- "restrictedTitle": "Vous avez besoin d'une invitation"
+ "restrictedTitle": "Vous avez besoin d'une invitation",
+ "cloud": {
+ "title": "Nommez votre espace de travail",
+ "subtitle": "Utilisez le nom de votre équipe ou de votre entreprise. Vous pourrez le modifier plus tard dans les paramètres."
+ }
},
"profileSetup": {
"pageTitle": "Compléter le profil",
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index b6bbdce3a..71d66d453 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -213,6 +213,16 @@
"emailFallback": "आपका ईमेल पता",
"backToLogin": "लॉगिन पर वापस जाएँ"
},
+ "cloud": {
+ "signUp": {
+ "title": "आगे क्या होगा",
+ "description": "अपना खाता बनाने के बाद, आप एक वर्कस्पेस का नाम रखेंगे। वहाँ से आप एक प्रोजेक्ट जोड़कर टास्क लिखना शुरू कर सकते हैं।"
+ },
+ "onboarding": {
+ "title": "वर्कस्पेस क्या है",
+ "description": "वर्कस्पेस में आपके प्रोजेक्ट, उनके टास्क और वे लोग होते हैं जिनके साथ आप काम करते हैं। सेटअप होने के बाद टीम के सदस्यों को आमंत्रित करें।"
+ }
+ },
"signUp": {
"pageTitle": "खाता बनाएँ",
"title": "खाता बनाएँ",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "यहाँ केवल इंस्टेंस व्यवस्थापक ही कार्यक्षेत्र बना सकता है। आमंत्रण के लिए कहें, फिर यह पृष्ठ पुनः लोड करें।",
"restrictedCheckInvitations": "आमंत्रण देखें",
- "restrictedTitle": "आपको आमंत्रण चाहिए"
+ "restrictedTitle": "आपको आमंत्रण चाहिए",
+ "cloud": {
+ "title": "अपने वर्कस्पेस का नाम रखें",
+ "subtitle": "अपनी टीम या कंपनी का नाम इस्तेमाल करें। आप इसे बाद में सेटिंग्स में बदल सकते हैं।"
+ }
},
"profileSetup": {
"pageTitle": "प्रोफ़ाइल पूरा करें",
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 74ca2012f..298bce988 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -213,6 +213,16 @@
"emailFallback": "alamat email Anda",
"backToLogin": "Kembali ke masuk"
},
+ "cloud": {
+ "signUp": {
+ "title": "Apa selanjutnya",
+ "description": "Setelah membuat akun, Anda akan memberi nama ruang kerja. Dari sana Anda bisa menambahkan proyek dan mulai menulis tugas."
+ },
+ "onboarding": {
+ "title": "Apa itu ruang kerja",
+ "description": "Ruang kerja berisi proyek Anda, tugas-tugasnya, dan orang-orang yang bekerja dengan Anda. Undang rekan tim setelah ruang kerja siap."
+ }
+ },
"signUp": {
"pageTitle": "Buat Akun",
"title": "Buat akun",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Hanya administrator instance yang dapat membuat ruang kerja di sini. Minta undangan, lalu muat ulang halaman ini.",
"restrictedCheckInvitations": "Lihat undangan",
- "restrictedTitle": "Anda perlu undangan"
+ "restrictedTitle": "Anda perlu undangan",
+ "cloud": {
+ "title": "Beri nama ruang kerja Anda",
+ "subtitle": "Gunakan nama tim atau perusahaan Anda. Anda bisa mengubahnya nanti di pengaturan."
+ }
},
"profileSetup": {
"pageTitle": "Lengkapi Profil",
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index 2ea59c226..963cb0dac 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -213,6 +213,16 @@
"emailFallback": "il tuo indirizzo email",
"backToLogin": "Torna al login"
},
+ "cloud": {
+ "signUp": {
+ "title": "Cosa succede dopo",
+ "description": "Dopo aver creato il tuo account, darai un nome a un workspace. Da lì puoi aggiungere un progetto e iniziare a scrivere attività."
+ },
+ "onboarding": {
+ "title": "Cos'è un workspace",
+ "description": "Un workspace contiene i tuoi progetti, le loro attività e le persone con cui lavori. Invita i colleghi una volta configurato."
+ }
+ },
"signUp": {
"pageTitle": "Crea Account",
"title": "Crea account",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Qui solo un amministratore dell'istanza può creare spazi di lavoro. Chiedi un invito e ricarica questa pagina.",
"restrictedCheckInvitations": "Controlla gli inviti",
- "restrictedTitle": "Ti serve un invito"
+ "restrictedTitle": "Ti serve un invito",
+ "cloud": {
+ "title": "Dai un nome al tuo workspace",
+ "subtitle": "Usa il nome del tuo team o della tua azienda. Puoi cambiarlo più tardi nelle impostazioni."
+ }
},
"profileSetup": {
"pageTitle": "Completa Profilo",
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index d2c7bcbcd..692a6141a 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -213,6 +213,16 @@
"emailFallback": "ご登録のメールアドレス",
"backToLogin": "サインインに戻る"
},
+ "cloud": {
+ "signUp": {
+ "title": "次のステップ",
+ "description": "アカウントを作成したら、ワークスペースに名前を付けます。その後、プロジェクトを追加してタスクを書き始められます。"
+ },
+ "onboarding": {
+ "title": "ワークスペースとは",
+ "description": "ワークスペースには、プロジェクト、そのタスク、一緒に働くメンバーがまとまります。準備ができたらチームメンバーを招待しましょう。"
+ }
+ },
"signUp": {
"pageTitle": "アカウント作成",
"title": "アカウントを作成",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "このインスタンスでワークスペースを作成できるのは管理者だけです。招待を依頼してから、このページを再読み込みしてください。",
"restrictedCheckInvitations": "招待を確認",
- "restrictedTitle": "招待が必要です"
+ "restrictedTitle": "招待が必要です",
+ "cloud": {
+ "title": "ワークスペースに名前を付ける",
+ "subtitle": "チーム名や会社名を使いましょう。名前は後から設定で変更できます。"
+ }
},
"profileSetup": {
"pageTitle": "プロフィール設定",
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index b71f92294..c43a83742 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -213,6 +213,16 @@
"emailFallback": "이메일 주소",
"backToLogin": "로그인으로 돌아가기"
},
+ "cloud": {
+ "signUp": {
+ "title": "다음 단계",
+ "description": "계정을 만든 후 워크스페이스 이름을 정합니다. 그다음 프로젝트를 추가하고 작업을 작성할 수 있습니다."
+ },
+ "onboarding": {
+ "title": "워크스페이스란",
+ "description": "워크스페이스에는 프로젝트와 그 작업, 함께 일하는 사람들이 모입니다. 설정이 끝나면 팀원을 초대하세요."
+ }
+ },
"signUp": {
"pageTitle": "계정 만들기",
"title": "계정 만들기",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "이 인스턴스에서는 관리자만 워크스페이스를 만들 수 있습니다. 초대를 요청한 뒤 이 페이지를 새로고침하세요.",
"restrictedCheckInvitations": "초대 확인",
- "restrictedTitle": "초대가 필요합니다"
+ "restrictedTitle": "초대가 필요합니다",
+ "cloud": {
+ "title": "워크스페이스 이름 정하기",
+ "subtitle": "팀이나 회사 이름을 사용하세요. 나중에 설정에서 변경할 수 있습니다."
+ }
},
"profileSetup": {
"pageTitle": "프로필 완성",
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index f1d29670b..e3e5deaa6 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -213,6 +213,16 @@
"emailFallback": "твојата е-пошта",
"backToLogin": "Назад кон најава"
},
+ "cloud": {
+ "signUp": {
+ "title": "Што следува",
+ "description": "Откако ќе ја креираш сметката, ќе му дадеш име на работниот простор. Потоа можеш да додадеш проект и да почнеш да пишуваш задачи."
+ },
+ "onboarding": {
+ "title": "Што е работен простор",
+ "description": "Работниот простор ги содржи твоите проекти, нивните задачи и луѓето со кои работиш. Покани ги соработниците откако ќе биде поставен."
+ }
+ },
"signUp": {
"pageTitle": "Креирај сметка",
"title": "Креирај сметка",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Овде само администратор на инстанцата може да создава работни простори. Побарајте покана и освежете ја страницата.",
"restrictedCheckInvitations": "Провери покани",
- "restrictedTitle": "Ви треба покана"
+ "restrictedTitle": "Ви треба покана",
+ "cloud": {
+ "title": "Именувај го работниот простор",
+ "subtitle": "Користи го името на твојот тим или компанија. Можеш да го смениш подоцна во поставките."
+ }
},
"profileSetup": {
"pageTitle": "Заврши го профилот",
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index bb57b3276..cb1f1f445 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -213,6 +213,16 @@
"emailFallback": "je e-mailadres",
"backToLogin": "Terug naar inloggen"
},
+ "cloud": {
+ "signUp": {
+ "title": "Wat er nu gebeurt",
+ "description": "Nadat je je account hebt gemaakt, geef je een werkruimte een naam. Daarna kun je een project toevoegen en taken gaan schrijven."
+ },
+ "onboarding": {
+ "title": "Wat een werkruimte is",
+ "description": "Een werkruimte bevat je projecten, hun taken en de mensen met wie je samenwerkt. Nodig teamgenoten uit zodra hij klaar is."
+ }
+ },
"signUp": {
"pageTitle": "Account aanmaken",
"title": "Maak account aan",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Alleen een instantiebeheerder kan hier workspaces aanmaken. Vraag om een uitnodiging en laad deze pagina opnieuw.",
"restrictedCheckInvitations": "Uitnodigingen bekijken",
- "restrictedTitle": "Je hebt een uitnodiging nodig"
+ "restrictedTitle": "Je hebt een uitnodiging nodig",
+ "cloud": {
+ "title": "Geef je werkruimte een naam",
+ "subtitle": "Gebruik de naam van je team of bedrijf. Je kunt hem later wijzigen in de instellingen."
+ }
},
"profileSetup": {
"pageTitle": "Profiel Voltooien",
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 6c97a2a28..3f4165ebf 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -213,6 +213,16 @@
"emailFallback": "twój adres e-mail",
"backToLogin": "Wróć do logowania"
},
+ "cloud": {
+ "signUp": {
+ "title": "Co dalej",
+ "description": "Po utworzeniu konta nadasz nazwę obszarowi roboczemu. Następnie możesz dodać projekt i zacząć pisać zadania."
+ },
+ "onboarding": {
+ "title": "Czym jest obszar roboczy",
+ "description": "Obszar roboczy zawiera Twoje projekty, ich zadania i osoby, z którymi pracujesz. Zaproś współpracowników, gdy będzie gotowy."
+ }
+ },
"signUp": {
"pageTitle": "Utwórz konto",
"title": "Utwórz konto",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Tutaj tylko administrator instancji może tworzyć przestrzenie robocze. Poproś o zaproszenie i odśwież tę stronę.",
"restrictedCheckInvitations": "Sprawdź zaproszenia",
- "restrictedTitle": "Potrzebujesz zaproszenia"
+ "restrictedTitle": "Potrzebujesz zaproszenia",
+ "cloud": {
+ "title": "Nazwij obszar roboczy",
+ "subtitle": "Użyj nazwy swojego zespołu lub firmy. Możesz ją później zmienić w ustawieniach."
+ }
},
"profileSetup": {
"pageTitle": "Uzupełnij profil",
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index f9ac382a4..38ed2bc4b 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -213,6 +213,16 @@
"emailFallback": "seu endereço de e-mail",
"backToLogin": "Voltar para o login"
},
+ "cloud": {
+ "signUp": {
+ "title": "O que acontece depois",
+ "description": "Depois de criar sua conta, você vai dar um nome a um espaço de trabalho. A partir daí, pode adicionar um projeto e começar a escrever tarefas."
+ },
+ "onboarding": {
+ "title": "O que é um espaço de trabalho",
+ "description": "Um espaço de trabalho reúne seus projetos, as tarefas deles e as pessoas com quem você trabalha. Convide colegas quando estiver configurado."
+ }
+ },
"signUp": {
"pageTitle": "Criar conta",
"title": "Criar conta",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Aqui apenas um administrador da instância pode criar espaços de trabalho. Peça um convite e recarregue esta página.",
"restrictedCheckInvitations": "Ver convites",
- "restrictedTitle": "Você precisa de um convite"
+ "restrictedTitle": "Você precisa de um convite",
+ "cloud": {
+ "title": "Dê um nome ao seu espaço de trabalho",
+ "subtitle": "Use o nome da sua equipe ou empresa. Você pode alterá-lo depois nas configurações."
+ }
},
"profileSetup": {
"pageTitle": "Completar perfil",
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 85f92e612..0d5268ab3 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -213,6 +213,16 @@
"emailFallback": "ваш адрес электронной почты",
"backToLogin": "Вернуться к входу"
},
+ "cloud": {
+ "signUp": {
+ "title": "Что дальше",
+ "description": "После создания аккаунта вы дадите название рабочей области. Затем можно добавить проект и начать записывать задачи."
+ },
+ "onboarding": {
+ "title": "Что такое рабочая область",
+ "description": "Рабочая область объединяет ваши проекты, их задачи и людей, с которыми вы работаете. Пригласите коллег, когда она будет настроена."
+ }
+ },
"signUp": {
"pageTitle": "Создание аккаунта",
"title": "Создать аккаунт",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Здесь создавать рабочие пространства может только администратор экземпляра. Попросите приглашение и обновите страницу.",
"restrictedCheckInvitations": "Проверить приглашения",
- "restrictedTitle": "Нужно приглашение"
+ "restrictedTitle": "Нужно приглашение",
+ "cloud": {
+ "title": "Назовите рабочую область",
+ "subtitle": "Используйте название вашей команды или компании. Его можно изменить позже в настройках."
+ }
},
"profileSetup": {
"pageTitle": "Заполнение профиля",
diff --git a/i18n/schema.json b/i18n/schema.json
index ac1c2ab7a..9a4629085 100644
--- a/i18n/schema.json
+++ b/i18n/schema.json
@@ -846,6 +846,39 @@
"backToLogin"
]
},
+ "cloud": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "signUp": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "required": ["title", "description"]
+ },
+ "onboarding": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ }
+ },
+ "required": ["title", "description"]
+ }
+ },
+ "required": ["signUp", "onboarding"]
+ },
"signUp": {
"type": "object",
"additionalProperties": false,
@@ -1262,6 +1295,19 @@
}
},
"required": ["workspaceNameRequired"]
+ },
+ "cloud": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "subtitle": {
+ "type": "string"
+ }
+ },
+ "required": ["title", "subtitle"]
}
},
"required": [
@@ -1281,7 +1327,8 @@
"workspaceCreatedTitle",
"redirectingToWorkspace",
"toast",
- "validation"
+ "validation",
+ "cloud"
]
},
"profileSetup": {
@@ -1458,6 +1505,7 @@
"providers",
"forms",
"checkEmail",
+ "cloud",
"signUp",
"verifyOtp",
"otpSignIn",
@@ -4103,6 +4151,12 @@
"giteaSectionSubtitle": {
"type": "string"
},
+ "gitlabSectionTitle": {
+ "type": "string"
+ },
+ "gitlabSectionSubtitle": {
+ "type": "string"
+ },
"discordSectionTitle": {
"type": "string"
},
@@ -4142,6 +4196,8 @@
"githubSectionSubtitle",
"giteaSectionTitle",
"giteaSectionSubtitle",
+ "gitlabSectionTitle",
+ "gitlabSectionSubtitle",
"discordSectionTitle",
"discordSectionSubtitle",
"genericWebhookSectionTitle",
@@ -5110,6 +5166,324 @@
"retry"
]
},
+ "gitlabIntegration": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "validation": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "baseUrlRequired": {
+ "type": "string"
+ },
+ "baseUrlInvalid": {
+ "type": "string"
+ },
+ "pathRequired": {
+ "type": "string"
+ },
+ "pathInvalid": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "baseUrlRequired",
+ "baseUrlInvalid",
+ "pathRequired",
+ "pathInvalid"
+ ]
+ },
+ "toast": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "verifyOk": {
+ "type": "string"
+ },
+ "verifyWarning": {
+ "type": "string"
+ },
+ "projectNotFound": {
+ "type": "string"
+ },
+ "redirected": {
+ "type": "string"
+ },
+ "notGitlabInstance": {
+ "type": "string"
+ },
+ "verifyError": {
+ "type": "string"
+ },
+ "tokenRequired": {
+ "type": "string"
+ },
+ "tokenRequiredVerify": {
+ "type": "string"
+ },
+ "verifyFirst": {
+ "type": "string"
+ },
+ "updated": {
+ "type": "string"
+ },
+ "updateError": {
+ "type": "string"
+ },
+ "removed": {
+ "type": "string"
+ },
+ "removeError": {
+ "type": "string"
+ },
+ "issuesImported": {
+ "type": "string"
+ },
+ "importError": {
+ "type": "string"
+ },
+ "commentOnEnabled": {
+ "type": "string"
+ },
+ "commentOnDisabled": {
+ "type": "string"
+ },
+ "settingsUpdateError": {
+ "type": "string"
+ },
+ "secretCopied": {
+ "type": "string"
+ },
+ "unableToCopySecret": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "verifyOk",
+ "verifyWarning",
+ "projectNotFound",
+ "redirected",
+ "notGitlabInstance",
+ "verifyError",
+ "tokenRequired",
+ "tokenRequiredVerify",
+ "verifyFirst",
+ "updated",
+ "updateError",
+ "removed",
+ "removeError",
+ "issuesImported",
+ "importError",
+ "commentOnEnabled",
+ "commentOnDisabled",
+ "settingsUpdateError",
+ "secretCopied",
+ "unableToCopySecret"
+ ]
+ },
+ "webhookShow": {
+ "type": "string"
+ },
+ "webhookHide": {
+ "type": "string"
+ },
+ "webhookCopy": {
+ "type": "string"
+ },
+ "connectionStatus": {
+ "type": "string"
+ },
+ "connectedActive": {
+ "type": "string"
+ },
+ "notConnectedHint": {
+ "type": "string"
+ },
+ "badgeConnected": {
+ "type": "string"
+ },
+ "badgeNotConnected": {
+ "type": "string"
+ },
+ "project": {
+ "type": "string"
+ },
+ "projectHint": {
+ "type": "string"
+ },
+ "commentTaskLinkTitle": {
+ "type": "string"
+ },
+ "commentTaskLinkHint": {
+ "type": "string"
+ },
+ "webhookTitle": {
+ "type": "string"
+ },
+ "webhookHint": {
+ "type": "string"
+ },
+ "webhookSecretLabel": {
+ "type": "string"
+ },
+ "baseUrlLabel": {
+ "type": "string"
+ },
+ "baseUrlHint": {
+ "type": "string"
+ },
+ "tokenTypeLabel": {
+ "type": "string"
+ },
+ "tokenTypeHint": {
+ "type": "string"
+ },
+ "tokenTypePrivate": {
+ "type": "string"
+ },
+ "tokenTypeBearer": {
+ "type": "string"
+ },
+ "tokenLabel": {
+ "type": "string"
+ },
+ "tokenHint": {
+ "type": "string"
+ },
+ "tokenPlaceholder": {
+ "type": "string"
+ },
+ "tokenPlaceholderUpdate": {
+ "type": "string"
+ },
+ "currentToken": {
+ "type": "string"
+ },
+ "projectPathLabel": {
+ "type": "string"
+ },
+ "projectPathHint": {
+ "type": "string"
+ },
+ "actionsTitle": {
+ "type": "string"
+ },
+ "actionsHint": {
+ "type": "string"
+ },
+ "browse": {
+ "type": "string"
+ },
+ "verify": {
+ "type": "string"
+ },
+ "update": {
+ "type": "string"
+ },
+ "connect": {
+ "type": "string"
+ },
+ "disconnect": {
+ "type": "string"
+ },
+ "importSectionTitle": {
+ "type": "string"
+ },
+ "importSectionHint": {
+ "type": "string"
+ },
+ "importing": {
+ "type": "string"
+ },
+ "importIssues": {
+ "type": "string"
+ },
+ "importDisabledHint": {
+ "type": "string"
+ },
+ "browseModalTitle": {
+ "type": "string"
+ },
+ "browseModalHint": {
+ "type": "string"
+ },
+ "searchProjects": {
+ "type": "string"
+ },
+ "browseNeedsCredentials": {
+ "type": "string"
+ },
+ "loadingProjects": {
+ "type": "string"
+ },
+ "loadProjectsError": {
+ "type": "string"
+ },
+ "openInGitlab": {
+ "type": "string"
+ },
+ "retry": {
+ "type": "string"
+ },
+ "importPermissionHint": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "validation",
+ "toast",
+ "webhookShow",
+ "webhookHide",
+ "webhookCopy",
+ "connectionStatus",
+ "connectedActive",
+ "notConnectedHint",
+ "badgeConnected",
+ "badgeNotConnected",
+ "project",
+ "projectHint",
+ "commentTaskLinkTitle",
+ "commentTaskLinkHint",
+ "webhookTitle",
+ "webhookHint",
+ "webhookSecretLabel",
+ "baseUrlLabel",
+ "baseUrlHint",
+ "tokenTypeLabel",
+ "tokenTypeHint",
+ "tokenTypePrivate",
+ "tokenTypeBearer",
+ "tokenLabel",
+ "tokenHint",
+ "tokenPlaceholder",
+ "tokenPlaceholderUpdate",
+ "currentToken",
+ "projectPathLabel",
+ "projectPathHint",
+ "actionsTitle",
+ "actionsHint",
+ "browse",
+ "verify",
+ "update",
+ "connect",
+ "disconnect",
+ "importSectionTitle",
+ "importSectionHint",
+ "importing",
+ "importIssues",
+ "importDisabledHint",
+ "browseModalTitle",
+ "browseModalHint",
+ "searchProjects",
+ "browseNeedsCredentials",
+ "loadingProjects",
+ "loadProjectsError",
+ "openInGitlab",
+ "retry",
+ "importPermissionHint"
+ ]
+ },
"slackIntegration": {
"type": "object",
"additionalProperties": false,
@@ -6196,6 +6570,12 @@
"giteaHint": {
"type": "string"
},
+ "gitlabHeading": {
+ "type": "string"
+ },
+ "gitlabHint": {
+ "type": "string"
+ },
"selectColumnPlaceholder": {
"type": "string"
},
@@ -6241,6 +6621,8 @@
"githubHint",
"giteaHeading",
"giteaHint",
+ "gitlabHeading",
+ "gitlabHint",
"selectColumnPlaceholder",
"toastUpdated",
"toastError",
@@ -6567,6 +6949,7 @@
"customFields",
"githubIntegration",
"giteaIntegration",
+ "gitlabIntegration",
"slackIntegration",
"discordIntegration",
"mattermostIntegration",
@@ -7340,13 +7723,10 @@
"type": "object",
"additionalProperties": false,
"properties": {
- "github": {
- "type": "string"
- },
"viewGithubProfile": {
"type": "string"
},
- "commentedOnGithub": {
+ "commentedOnForge": {
"type": "string"
},
"cannotBeEmpty": {
@@ -7722,9 +8102,8 @@
}
},
"required": [
- "github",
"viewGithubProfile",
- "commentedOnGithub",
+ "commentedOnForge",
"cannotBeEmpty",
"mustBeLoggedInToEdit",
"updated",
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index f9ef1737c..8f4eeec06 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -213,6 +213,16 @@
"emailFallback": "e-posta adresiniz",
"backToLogin": "Girişe dön"
},
+ "cloud": {
+ "signUp": {
+ "title": "Sırada ne var",
+ "description": "Hesabınızı oluşturduktan sonra çalışma alanınıza bir ad vereceksiniz. Ardından bir proje ekleyip görev yazmaya başlayabilirsiniz."
+ },
+ "onboarding": {
+ "title": "Çalışma alanı nedir",
+ "description": "Çalışma alanı projelerinizi, bunların görevlerini ve birlikte çalıştığınız kişileri bir arada tutar. Kurulduktan sonra ekip arkadaşlarınızı davet edin."
+ }
+ },
"signUp": {
"pageTitle": "Hesap Oluştur",
"title": "Hesap oluştur",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Burada yalnızca örnek yöneticisi çalışma alanı oluşturabilir. Davet isteyin, ardından bu sayfayı yenileyin.",
"restrictedCheckInvitations": "Davetleri görüntüle",
- "restrictedTitle": "Davet gerekiyor"
+ "restrictedTitle": "Davet gerekiyor",
+ "cloud": {
+ "title": "Çalışma alanınıza ad verin",
+ "subtitle": "Ekibinizin veya şirketinizin adını kullanın. Daha sonra ayarlardan değiştirebilirsiniz."
+ }
},
"profileSetup": {
"pageTitle": "Profili Tamamla",
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index d63cad6c5..6e84c6545 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -213,6 +213,16 @@
"emailFallback": "вашу адресу електронної пошти",
"backToLogin": "Повернутися до входу"
},
+ "cloud": {
+ "signUp": {
+ "title": "Що далі",
+ "description": "Після створення облікового запису ви дасте назву робочому простору. Потім можна додати проєкт і почати записувати завдання."
+ },
+ "onboarding": {
+ "title": "Що таке робочий простір",
+ "description": "Робочий простір об'єднує ваші проєкти, їхні завдання та людей, з якими ви працюєте. Запросіть колег, коли його буде налаштовано."
+ }
+ },
"signUp": {
"pageTitle": "Створення облікового запису",
"title": "Створити обліковий запис",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Тут створювати робочі простори може лише адміністратор інстансу. Попросіть запрошення й оновіть цю сторінку.",
"restrictedCheckInvitations": "Переглянути запрошення",
- "restrictedTitle": "Потрібне запрошення"
+ "restrictedTitle": "Потрібне запрошення",
+ "cloud": {
+ "title": "Назвіть робочий простір",
+ "subtitle": "Використайте назву вашої команди або компанії. Її можна змінити пізніше в налаштуваннях."
+ }
},
"profileSetup": {
"pageTitle": "Заповнення профілю",
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index 0e3b8f5c7..cb4a1da41 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -213,6 +213,16 @@
"emailFallback": "địa chỉ email của bạn",
"backToLogin": "Quay lại đăng nhập"
},
+ "cloud": {
+ "signUp": {
+ "title": "Tiếp theo là gì",
+ "description": "Sau khi tạo tài khoản, bạn sẽ đặt tên cho không gian làm việc. Từ đó bạn có thể thêm dự án và bắt đầu viết công việc."
+ },
+ "onboarding": {
+ "title": "Không gian làm việc là gì",
+ "description": "Không gian làm việc chứa các dự án, công việc của chúng và những người bạn làm việc cùng. Mời đồng đội sau khi thiết lập xong."
+ }
+ },
"signUp": {
"pageTitle": "Tạo tài khoản",
"title": "Tạo tài khoản",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "Tại đây chỉ quản trị viên hệ thống mới có thể tạo không gian làm việc. Hãy xin lời mời rồi tải lại trang này.",
"restrictedCheckInvitations": "Xem lời mời",
- "restrictedTitle": "Bạn cần một lời mời"
+ "restrictedTitle": "Bạn cần một lời mời",
+ "cloud": {
+ "title": "Đặt tên cho không gian làm việc",
+ "subtitle": "Dùng tên nhóm hoặc công ty của bạn. Bạn có thể đổi tên sau trong phần cài đặt."
+ }
},
"profileSetup": {
"pageTitle": "Hoàn tất hồ sơ",
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index 0567c6a03..2bada6633 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -213,6 +213,16 @@
"emailFallback": "你的邮箱",
"backToLogin": "返回登录"
},
+ "cloud": {
+ "signUp": {
+ "title": "接下来",
+ "description": "创建账户后,你需要为工作区命名。之后就可以添加项目并开始编写任务。"
+ },
+ "onboarding": {
+ "title": "什么是工作区",
+ "description": "工作区包含你的项目、项目中的任务以及与你协作的成员。设置完成后即可邀请团队成员。"
+ }
+ },
"signUp": {
"pageTitle": "创建账户",
"title": "创建账户",
@@ -323,7 +333,11 @@
},
"restrictedSubtitle": "在此实例中只有管理员可以创建工作区。请联系管理员邀请你,然后刷新此页面。",
"restrictedCheckInvitations": "查看邀请",
- "restrictedTitle": "你需要一份邀请"
+ "restrictedTitle": "你需要一份邀请",
+ "cloud": {
+ "title": "为工作区命名",
+ "subtitle": "使用你的团队或公司名称。之后可以在设置中修改。"
+ }
},
"profileSetup": {
"pageTitle": "完善资料",
diff --git a/tests/api-integration/config.test.ts b/tests/api-integration/config.test.ts
index eb59dfa33..a59520645 100644
--- a/tests/api-integration/config.test.ts
+++ b/tests/api-integration/config.test.ts
@@ -1,7 +1,19 @@
-import { describe, expect, it } from "vitest";
+import { afterEach, describe, expect, it, vi } from "vitest";
import { createApp } from "../../apps/api/src/index";
describe("API integration: config", () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ it.each(["true", "false", undefined])(
+ "returns cloud mode for KANEO_CLOUD=%s",
+ async (value) => {
+ vi.stubEnv("KANEO_CLOUD", value);
+ const response = await createApp().app.request("/api/config");
+ expect(response.status).toBe(200);
+ expect(await response.json()).toHaveProperty("isCloud", value === "true");
+ },
+ );
+
it("returns the public config shape", async () => {
const { app } = createApp();