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): surface the workspace invitation link in the UI

David Escobare81c1c738e56
diff --git a/apps/web/src/components/team/invitation-link-field.test.tsx b/apps/web/src/components/team/invitation-link-field.test.tsx
new file mode 100644
index 000000000..5604a8ed4
--- /dev/null
+++ b/apps/web/src/components/team/invitation-link-field.test.tsx
@@ -0,0 +1,74 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import { afterEach, describe, expect, it, vi } from "vitest";
+import InvitationLinkField from "./invitation-link-field";
+
+const copyToClipboard = vi.fn();
+const success = vi.fn();
+const error = vi.fn();
+
+vi.mock("@/lib/copy-to-clipboard", () => ({
+ copyToClipboard: (text: string) => copyToClipboard(text),
+}));
+
+vi.mock("@/lib/toast", () => ({
+ toast: {
+ success: (msg: string) => success(msg),
+ error: (msg: string) => error(msg),
+ },
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+afterEach(() => {
+ cleanup();
+ vi.clearAllMocks();
+});
+
+describe("InvitationLinkField", () => {
+ it("shows the full accept URL so it can be read and copied by hand", () => {
+ render(<InvitationLinkField invitationId="inv-1" />);
+
+ expect(screen.getByRole("textbox")).toHaveValue(
+ `${window.location.origin}/invitation/accept/inv-1`,
+ );
+ });
+
+ it("copies the link and confirms it", async () => {
+ copyToClipboard.mockResolvedValue(true);
+ render(<InvitationLinkField invitationId="inv-1" />);
+
+ fireEvent.click(screen.getByRole("button"));
+
+ expect(copyToClipboard).toHaveBeenCalledWith(
+ `${window.location.origin}/invitation/accept/inv-1`,
+ );
+ await waitFor(() =>
+ expect(success).toHaveBeenCalledWith("team:invitations.linkCopied"),
+ );
+ expect(screen.getByRole("button")).toHaveTextContent(
+ "team:invitations.linkCopied",
+ );
+ });
+
+ it("selects the input and tells the user to copy by hand when copying fails", async () => {
+ copyToClipboard.mockResolvedValue(false);
+ render(<InvitationLinkField invitationId="inv-1" />);
+
+ fireEvent.click(screen.getByRole("button"));
+
+ const input = screen.getByRole("textbox") as HTMLInputElement;
+ await waitFor(() =>
+ expect(error).toHaveBeenCalledWith("team:invitations.copyFailed"),
+ );
+ expect(input.selectionStart).toBe(0);
+ expect(input.selectionEnd).toBe(input.value.length);
+ });
+});
diff --git a/apps/web/src/components/team/invitation-link-field.tsx b/apps/web/src/components/team/invitation-link-field.tsx
new file mode 100644
index 000000000..f61bf4d21
--- /dev/null
+++ b/apps/web/src/components/team/invitation-link-field.tsx
@@ -0,0 +1,51 @@
+import { CheckIcon, CopyIcon } from "lucide-react";
+import { useRef } from "react";
+import { useTranslation } from "react-i18next";
+import { useCopyInvitationLink } from "@/hooks/use-copy-invitation-link";
+import { buildInvitationLink } from "@/lib/invitation-link";
+import { Button } from "../ui/button";
+import { Input } from "../ui/input";
+
+type Props = {
+ invitationId: string;
+};
+
+function InvitationLinkField({ invitationId }: Props) {
+ const { t } = useTranslation();
+ const inputRef = useRef<HTMLInputElement>(null);
+ const { copy, copied } = useCopyInvitationLink();
+
+ return (
+ <div className="flex items-center gap-2">
+ <Input
+ ref={inputRef}
+ value={buildInvitationLink(invitationId)}
+ readOnly
+ aria-label={t("team:invitations.linkLabel")}
+ className="font-mono text-xs"
+ onFocus={(event) => event.currentTarget.select()}
+ />
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="shrink-0 gap-1.5"
+ onClick={() => copy(invitationId, inputRef.current)}
+ >
+ {copied ? (
+ <>
+ <CheckIcon className="size-3 text-success-foreground" />
+ {t("team:invitations.linkCopied")}
+ </>
+ ) : (
+ <>
+ <CopyIcon className="size-3" />
+ {t("team:invitations.copyLink")}
+ </>
+ )}
+ </Button>
+ </div>
+ );
+}
+
+export default InvitationLinkField;
diff --git a/apps/web/src/components/team/invite-team-member-modal.tsx b/apps/web/src/components/team/invite-team-member-modal.tsx
index 77109cf5e..18d975792 100644
--- a/apps/web/src/components/team/invite-team-member-modal.tsx
+++ b/apps/web/src/components/team/invite-team-member-modal.tsx
@@ -1,5 +1,6 @@
import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
import { useQueryClient } from "@tanstack/react-query";
+import { useState } from "react";
import { useForm } from "react-hook-form";
import { useTranslation } from "react-i18next";
import { z } from "zod/v4";
@@ -26,6 +27,7 @@ import {
FormMessage,
} from "../ui/form";
import { Input } from "../ui/input";
+import InvitationLinkField from "./invitation-link-field";
type Props = {
open: boolean;
@@ -46,6 +48,10 @@ function InviteTeamMemberModal({ open, onClose }: Props) {
const workspaceId = workspace?.id;
const { canInviteUsers } = useWorkspacePermission();
const canInvite = canInviteUsers();
+ const [createdInvitation, setCreatedInvitation] = useState<{
+ id: string;
+ email: string;
+ } | null>(null);
const form = useForm<TeamMemberFormValues>({
resolver: standardSchemaResolver(teamMemberSchema),
@@ -67,13 +73,26 @@ function InviteTeamMemberModal({ open, onClose }: Props) {
return;
}
try {
- await mutateAsync({ email, workspaceId, role: "member" }); // TODO: role and email
+ const invitation = await mutateAsync({
+ email,
+ workspaceId,
+ role: "member",
+ }); // TODO: role and email
await queryClient.refetchQueries({
queryKey: ["workspace-users", workspaceId],
});
toast.success(t("team:inviteModal.success"));
+ // The link is the only delivery channel when SMTP is unconfigured, so the
+ // modal stays open on it instead of closing. If the API ever stops
+ // returning an id, fall back to the previous close-on-success behaviour.
+ if (invitation?.id) {
+ setCreatedInvitation({ id: invitation.id, email });
+ form.reset();
+ return;
+ }
+
resetInviteTeamMember();
onClose();
} catch (error) {
@@ -93,6 +112,7 @@ function InviteTeamMemberModal({ open, onClose }: Props) {
};
const resetAndCloseModal = () => {
+ setCreatedInvitation(null);
resetInviteTeamMember();
onClose();
};
@@ -101,47 +121,69 @@ function InviteTeamMemberModal({ open, onClose }: Props) {
<Dialog open={open} onOpenChange={resetAndCloseModal}>
<DialogPopup className="w-full max-w-md">
<DialogHeader>
- <DialogTitle>{t("team:inviteModal.title")}</DialogTitle>
+ <DialogTitle>
+ {createdInvitation
+ ? t("team:inviteModal.createdTitle")
+ : t("team:inviteModal.title")}
+ </DialogTitle>
</DialogHeader>
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="contents">
- <DialogPanel>
- <FormField
- control={form.control}
- name="email"
- render={({ field }) => (
- <FormItem>
- <FormLabel>{t("team:inviteModal.emailLabel")}</FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t("team:inviteModal.emailPlaceholder")}
- autoFocus
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
+ {createdInvitation ? (
+ <>
+ <DialogPanel className="space-y-3">
+ <p className="text-sm text-muted-foreground">
+ {t("team:inviteModal.shareLinkDescription", {
+ email: createdInvitation.email,
+ })}
+ </p>
+ <InvitationLinkField invitationId={createdInvitation.id} />
</DialogPanel>
-
<DialogFooter>
- <DialogClose
- render={<Button variant="outline" size="sm" type="button" />}
- >
- {t("common:actions.cancel")}
- </DialogClose>
- <Button
- type="submit"
- size="sm"
- disabled={!workspaceId || !canInvite}
- >
- {t("team:inviteModal.sendInvitation")}
+ <Button size="sm" onClick={resetAndCloseModal}>
+ {t("team:inviteModal.done")}
</Button>
</DialogFooter>
- </form>
- </Form>
+ </>
+ ) : (
+ <Form {...form}>
+ <form onSubmit={form.handleSubmit(onSubmit)} className="contents">
+ <DialogPanel>
+ <FormField
+ control={form.control}
+ name="email"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>{t("team:inviteModal.emailLabel")}</FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ placeholder={t("team:inviteModal.emailPlaceholder")}
+ autoFocus
+ />
+ </FormControl>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ </DialogPanel>
+
+ <DialogFooter>
+ <DialogClose
+ render={<Button variant="outline" size="sm" type="button" />}
+ >
+ {t("common:actions.cancel")}
+ </DialogClose>
+ <Button
+ type="submit"
+ size="sm"
+ disabled={!workspaceId || !canInvite}
+ >
+ {t("team:inviteModal.sendInvitation")}
+ </Button>
+ </DialogFooter>
+ </form>
+ </Form>
+ )}
</DialogPopup>
</Dialog>
);
diff --git a/apps/web/src/components/team/members-table.test.tsx b/apps/web/src/components/team/members-table.test.tsx
new file mode 100644
index 000000000..0897e6bb8
--- /dev/null
+++ b/apps/web/src/components/team/members-table.test.tsx
@@ -0,0 +1,164 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+import type {
+ WorkspaceUser,
+ WorkspaceUserInvitation,
+} from "@/types/workspace-user";
+import MembersTable from "./members-table";
+
+const copyToClipboard = vi.fn();
+const success = vi.fn();
+const error = vi.fn();
+
+vi.mock("@/lib/copy-to-clipboard", () => ({
+ copyToClipboard: (text: string) => copyToClipboard(text),
+}));
+
+vi.mock("@/lib/toast", () => ({
+ toast: {
+ success: (msg: string) => success(msg),
+ error: (msg: string) => error(msg),
+ },
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock("@/lib/format", () => ({
+ formatDateMedium: () => "Sep 1, 2026",
+}));
+
+vi.mock("@/hooks/mutations/workspace-user/use-cancel-invitation", () => ({
+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+}));
+
+vi.mock("@/hooks/mutations/workspace-user/use-delete-workspace-user", () => ({
+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+}));
+
+vi.mock(
+ "@/hooks/mutations/workspace-user/use-update-workspace-user-role",
+ () => ({
+ default: () => ({ mutateAsync: vi.fn() }),
+ }),
+);
+
+vi.mock("@/hooks/queries/workspace/use-workspace-roles", () => ({
+ default: () => ({ data: [] }),
+}));
+
+const canInviteUsers = vi.fn(() => true);
+
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ canManageTeam: () => true,
+ canRemoveMembers: () => true,
+ canInviteUsers: () => canInviteUsers(),
+ }),
+}));
+
+vi.mock("../providers/auth-provider/hooks/use-auth", () => ({
+ useAuth: () => ({ user: { id: "current-user" } }),
+}));
+
+beforeEach(() => {
+ canInviteUsers.mockReturnValue(true);
+});
+
+afterEach(() => {
+ cleanup();
+ vi.clearAllMocks();
+});
+
+const pendingInvitation = {
+ id: "invite-1",
+ email: "[email protected]",
+ role: "member",
+ status: "pending",
+ expiresAt: "2026-09-01T00:00:00.000Z",
+} as unknown as WorkspaceUserInvitation;
+
+describe("MembersTable pending invitation row menu", () => {
+ it("copies the invitation link for that invitation when 'Copy link' is clicked", async () => {
+ copyToClipboard.mockResolvedValue(true);
+
+ render(
+ <MembersTable
+ workspaceId="workspace-1"
+ invitations={[pendingInvitation]}
+ users={[] as WorkspaceUser[]}
+ />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "team:membersTable.ariaInvitationActions",
+ }),
+ );
+
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "team:invitations.copyLink",
+ }),
+ );
+
+ expect(copyToClipboard).toHaveBeenCalledWith(
+ `${window.location.origin}/invitation/accept/invite-1`,
+ );
+ await waitFor(() =>
+ expect(success).toHaveBeenCalledWith("team:invitations.linkCopied"),
+ );
+ });
+
+ it("still opens the cancel confirmation dialog instead of cancelling directly", async () => {
+ render(
+ <MembersTable
+ workspaceId="workspace-1"
+ invitations={[pendingInvitation]}
+ users={[] as WorkspaceUser[]}
+ />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "team:membersTable.ariaInvitationActions",
+ }),
+ );
+
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "team:membersTable.cancelInvitation",
+ }),
+ );
+
+ expect(
+ await screen.findByText("team:membersTable.cancelDialogTitle"),
+ ).toBeVisible();
+ expect(copyToClipboard).not.toHaveBeenCalled();
+ });
+
+ it("hides the row menu entirely when the user lacks canInvite", () => {
+ canInviteUsers.mockReturnValue(false);
+
+ render(
+ <MembersTable
+ workspaceId="workspace-1"
+ invitations={[pendingInvitation]}
+ users={[] as WorkspaceUser[]}
+ />,
+ );
+
+ expect(
+ screen.queryByRole("button", {
+ name: "team:membersTable.ariaInvitationActions",
+ }),
+ ).toBeNull();
+ });
+});
diff --git a/apps/web/src/components/team/members-table.tsx b/apps/web/src/components/team/members-table.tsx
index b5f4e5c8a..8c8fae165 100644
--- a/apps/web/src/components/team/members-table.tsx
+++ b/apps/web/src/components/team/members-table.tsx
@@ -1,11 +1,18 @@
import { DEFAULT_ROLE_NAMES } from "@kaneo/permissions";
-import { EllipsisIcon, MailIcon, ShieldIcon, TrashIcon } from "lucide-react";
+import {
+ CopyIcon,
+ EllipsisIcon,
+ MailIcon,
+ ShieldIcon,
+ TrashIcon,
+} from "lucide-react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import useCancelInvitation from "@/hooks/mutations/workspace-user/use-cancel-invitation";
import useDeleteWorkspaceUser from "@/hooks/mutations/workspace-user/use-delete-workspace-user";
import useUpdateWorkspaceUserRole from "@/hooks/mutations/workspace-user/use-update-workspace-user-role";
import useWorkspaceRoles from "@/hooks/queries/workspace/use-workspace-roles";
+import { useCopyInvitationLink } from "@/hooks/use-copy-invitation-link";
import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
import { cn } from "@/lib/cn";
import { formatDateMedium } from "@/lib/format";
@@ -97,6 +104,7 @@ function MembersTable({ workspaceId, invitations, users }: Props) {
const { mutateAsync: cancelInvitation, isPending: isCancelling } =
useCancelInvitation();
const { mutateAsync: updateMemberRole } = useUpdateWorkspaceUserRole();
+ const { copy: copyInvitationLink } = useCopyInvitationLink();
const { data: allWorkspaceRoles = [] } = useWorkspaceRoles(workspaceId);
const { canManageTeam, canRemoveMembers, canInviteUsers } =
useWorkspacePermission();
@@ -357,15 +365,36 @@ function MembersTable({ workspaceId, invitations, users }: Props) {
</TableCell>
<TableCell className="pe-6 py-3 text-right">
{canInvite ? (
- <Button
- variant="ghost"
- size="icon"
- onClick={() => setInvitationToCancel(invitation)}
- className="h-8 w-8 text-muted-foreground hover:text-destructive"
- aria-label={t("team:membersTable.ariaCancelInvitation")}
- >
- <TrashIcon className="size-4" />
- </Button>
+ <Menu>
+ <MenuTrigger
+ render={
+ <Button
+ variant="ghost"
+ size="icon"
+ className="h-8 w-8 text-muted-foreground"
+ aria-label={t(
+ "team:membersTable.ariaInvitationActions",
+ )}
+ />
+ }
+ >
+ <EllipsisIcon className="size-4" />
+ </MenuTrigger>
+ <MenuPopup align="end">
+ <MenuItem
+ onClick={() => copyInvitationLink(invitation.id)}
+ >
+ <CopyIcon className="size-4" />
+ {t("team:invitations.copyLink")}
+ </MenuItem>
+ <MenuItem
+ onClick={() => setInvitationToCancel(invitation)}
+ >
+ <TrashIcon className="size-4" />
+ {t("team:membersTable.cancelInvitation")}
+ </MenuItem>
+ </MenuPopup>
+ </Menu>
) : null}
</TableCell>
</TableRow>
diff --git a/apps/web/src/hooks/use-copy-invitation-link.ts b/apps/web/src/hooks/use-copy-invitation-link.ts
new file mode 100644
index 000000000..2fa9db878
--- /dev/null
+++ b/apps/web/src/hooks/use-copy-invitation-link.ts
@@ -0,0 +1,47 @@
+import { useCallback, useEffect, useRef, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { copyToClipboard } from "@/lib/copy-to-clipboard";
+import { buildInvitationLink } from "@/lib/invitation-link";
+import { toast } from "@/lib/toast";
+
+const COPIED_RESET_MS = 2000;
+
+/**
+ * Copy behaviour shared by the invite modal and the members table row menu.
+ *
+ * `fallbackInput` is optional because the row menu has no input to select; when
+ * present and copying failed outright, the text is selected so Ctrl+C works.
+ */
+export function useCopyInvitationLink() {
+ const { t } = useTranslation();
+ const [copied, setCopied] = useState(false);
+ const timer = useRef<ReturnType<typeof setTimeout> | null>(null);
+
+ useEffect(
+ () => () => {
+ if (timer.current) clearTimeout(timer.current);
+ },
+ [],
+ );
+
+ const copy = useCallback(
+ async (invitationId: string, fallbackInput?: HTMLInputElement | null) => {
+ const link = buildInvitationLink(invitationId);
+ const ok = await copyToClipboard(link);
+
+ if (!ok) {
+ fallbackInput?.select();
+ toast.error(t("team:invitations.copyFailed"));
+ return;
+ }
+
+ setCopied(true);
+ toast.success(t("team:invitations.linkCopied"));
+ if (timer.current) clearTimeout(timer.current);
+ timer.current = setTimeout(() => setCopied(false), COPIED_RESET_MS);
+ },
+ [t],
+ );
+
+ return { copy, copied };
+}
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index d5a0e9e28..d26a6f66a 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -1794,13 +1794,22 @@
"pageTitle": "Mitglieder",
"inviteMember": "Mitglied einladen"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Teammitglied einladen",
"emailLabel": "E-Mail",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Einladung senden",
"success": "Einladung erfolgreich gesendet",
- "error": "Teammitglied konnte nicht eingeladen werden"
+ "error": "Teammitglied konnte nicht eingeladen werden",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Noch keine Teammitglieder",
@@ -1823,7 +1832,8 @@
"removeSuccess": "Teammitglied erfolgreich entfernt",
"removeError": "Teammitglied konnte nicht entfernt werden",
"cancelInviteSuccess": "Einladung erfolgreich abgebrochen",
- "cancelInviteError": "Einladung konnte nicht abgebrochen werden"
+ "cancelInviteError": "Einladung konnte nicht abgebrochen werden",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index eb8161b47..fefac1cd2 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -1752,13 +1752,22 @@
"pageTitle": "Μέλη",
"inviteMember": "Πρόσκληση μέλους"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Πρόσκληση μέλους ομάδας",
"emailLabel": "Email",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Αποστολή πρόσκλησης",
"success": "Η πρόσκληση στάλθηκε με επιτυχία",
- "error": "Αποτυχία πρόσκλησης μέλους ομάδας"
+ "error": "Αποτυχία πρόσκλησης μέλους ομάδας",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Δεν υπάρχουν ακόμα μέλη ομάδας",
@@ -1781,7 +1790,8 @@
"removeSuccess": "Το μέλος της ομάδας αφαιρέθηκε με επιτυχία",
"removeError": "Αποτυχία αφαίρεσης μέλους ομάδας",
"cancelInviteSuccess": "Η πρόσκληση ακυρώθηκε με επιτυχία",
- "cancelInviteError": "Αποτυχία ακύρωσης πρόσκλησης"
+ "cancelInviteError": "Αποτυχία ακύρωσης πρόσκλησης",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 8ad5cf085..d58713b09 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -1964,7 +1964,11 @@
},
"invitations": {
"pendingBadge": "pending",
- "expires": "Expires {{date}}"
+ "expires": "Expires {{date}}",
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
},
"inviteModal": {
"title": "Invite Team Member",
@@ -1972,7 +1976,10 @@
"emailPlaceholder": "[email protected]",
"sendInvitation": "Send Invitation",
"success": "Invitation sent successfully",
- "error": "Failed to invite team member"
+ "error": "Failed to invite team member",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "No team members yet",
@@ -1985,6 +1992,7 @@
},
"memberRolePending": "{{role}} (Pending)",
"ariaCancelInvitation": "Cancel invitation",
+ "ariaInvitationActions": "Invitation actions",
"ariaRemoveMember": "Remove member",
"removeDialogTitle": "Remove Team Member?",
"removeDialogDescription": "Are you sure you want to remove {{name}} from the workspace? This action cannot be undone.",
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index c0369b91b..a7f28832c 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -1526,13 +1526,22 @@
"pageTitle": "Miembros",
"inviteMember": "Invitar miembro"
},
+ "invitations": {
+ "linkLabel": "Enlace de invitación",
+ "copyLink": "Copiar enlace",
+ "linkCopied": "Enlace de invitación copiado",
+ "copyFailed": "No se pudo copiar automáticamente. Seleccioná el enlace y presioná Ctrl+C."
+ },
"inviteModal": {
"title": "Invitar miembro al equipo",
"emailLabel": "Email",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Enviar invitación",
"success": "Invitación enviada correctamente",
- "error": "Error al invitar miembro al equipo"
+ "error": "Error al invitar miembro al equipo",
+ "createdTitle": "Invitación creada",
+ "shareLinkDescription": "Compartí este enlace con {{email}} para que se una al espacio de trabajo.",
+ "done": "Listo"
},
"membersTable": {
"emptyTitle": "No hay miembros en el equipo aún",
@@ -1545,6 +1554,7 @@
},
"memberRolePending": "{{role}} (Pendiente)",
"ariaCancelInvitation": "Cancelar invitacion",
+ "ariaInvitationActions": "Acciones de invitación",
"ariaRemoveMember": "Eliminar miembro",
"removeDialogTitle": "¿Eliminar miembro del equipo?",
"removeDialogDescription": "¿Estás seguro de que quieres eliminar a {{name}} del espacio de trabajo? Esta acción no puede deshacerse.",
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index 26dbb5272..7b1d32edd 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -1766,7 +1766,11 @@
},
"invitations": {
"pendingBadge": "En attente",
- "expires": "Expire {{date}}"
+ "expires": "Expire {{date}}",
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
},
"inviteModal": {
"title": "Inviter un membre de l'équipe",
@@ -1774,7 +1778,10 @@
"emailPlaceholder": "[email protected]",
"sendInvitation": "Envoyer l'invitation",
"success": "Invitation envoyée avec succès",
- "error": "Échec de l'envoi de l'invitation"
+ "error": "Échec de l'envoi de l'invitation",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Aucun membre de l'équipe pour le moment",
@@ -1799,7 +1806,8 @@
"cancelInviteSuccess": "Invitation annulée avec succès",
"cancelInviteError": "Échec de l'annulation de l'invitation",
"roleUpdateSuccess": "Rôle mis à jour",
- "roleUpdateError": "Échec de la mise à jour du rôle"
+ "roleUpdateError": "Échec de la mise à jour du rôle",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 73b2f57f3..d041ac537 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -1900,13 +1900,22 @@
"pageTitle": "Anggota",
"inviteMember": "Undang anggota"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Undang Anggota Tim",
"emailLabel": "Email",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Kirim Undangan",
"success": "Undangan berhasil dikirim",
- "error": "Gagal mengundang anggota tim"
+ "error": "Gagal mengundang anggota tim",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Belum ada anggota tim",
@@ -1931,7 +1940,8 @@
"cancelInviteSuccess": "Undangan berhasil dibatalkan",
"cancelInviteError": "Gagal membatalkan undangan",
"roleUpdateSuccess": "Peran diperbarui",
- "roleUpdateError": "Gagal memperbarui peran"
+ "roleUpdateError": "Gagal memperbarui peran",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index f83503291..9ed153ac0 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -1754,13 +1754,22 @@
"pageTitle": "멤버",
"inviteMember": "멤버 초대"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "팀 멤버 초대",
"emailLabel": "이메일",
"emailPlaceholder": "[email protected]",
"sendInvitation": "초대 전송",
"success": "초대가 전송되었습니다",
- "error": "팀 멤버 초대에 실패했습니다"
+ "error": "팀 멤버 초대에 실패했습니다",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "아직 팀 멤버가 없습니다",
@@ -1783,7 +1792,8 @@
"removeSuccess": "팀 멤버가 제거되었습니다",
"removeError": "팀 멤버 제거에 실패했습니다",
"cancelInviteSuccess": "초대가 취소되었습니다",
- "cancelInviteError": "초대 취소에 실패했습니다"
+ "cancelInviteError": "초대 취소에 실패했습니다",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index b95b07ee6..cfb5a41cf 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -1752,13 +1752,22 @@
"pageTitle": "Членови",
"inviteMember": "Покани член"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Покани член на тим",
"emailLabel": "Е-пошта",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Испрати покана",
"success": "Поканата е успешно испратена",
- "error": "Неуспешно поканување на член на тим"
+ "error": "Неуспешно поканување на член на тим",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Нема членови на тим засега",
@@ -1781,7 +1790,8 @@
"removeSuccess": "Членот на тимот е успешно отстранет",
"removeError": "Неуспешно отстранување на член на тим",
"cancelInviteSuccess": "Поканата е успешно откажана",
- "cancelInviteError": "Неуспешно откажување на покана"
+ "cancelInviteError": "Неуспешно откажување на покана",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index d2601e62f..b036116ff 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -1527,13 +1527,22 @@
"pageTitle": "Leden",
"inviteMember": "Lid uitnodigen"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Teamlid uitnodigen",
"emailLabel": "E-mailadres",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Uitnodiging versturen",
"success": "Uitnodiging succesvol verzonden",
- "error": "Uitnodigen teamlid mislukt"
+ "error": "Uitnodigen teamlid mislukt",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Nog geen teamleden",
@@ -1556,7 +1565,8 @@
"removeSuccess": "Teamlid succesvol verwijderd",
"removeError": "Verwijderen teamlid mislukt",
"cancelInviteSuccess": "Uitnodiging succesvol geannuleerd",
- "cancelInviteError": "Annuleren uitnodiging mislukt"
+ "cancelInviteError": "Annuleren uitnodiging mislukt",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 1796e38c9..81f7e3fd1 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -1795,13 +1795,22 @@
"pageTitle": "Участники",
"inviteMember": "Пригласить участника"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Пригласить участника команды",
"emailLabel": "Электронная почта",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Отправить приглашение",
"success": "Приглашение успешно отправлено",
- "error": "Не удалось пригласить участника команды"
+ "error": "Не удалось пригласить участника команды",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Участников команды пока нет",
@@ -1824,7 +1833,8 @@
"removeSuccess": "Участник команды успешно удалён",
"removeError": "Не удалось удалить участника команды",
"cancelInviteSuccess": "Приглашение успешно отменено",
- "cancelInviteError": "Не удалось отменить приглашение"
+ "cancelInviteError": "Не удалось отменить приглашение",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index 37c7a1483..cdd99f71a 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -1752,13 +1752,22 @@
"pageTitle": "Üyeler",
"inviteMember": "Üye davet et"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Ekip Üyesi Davet Et",
"emailLabel": "E-posta",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Davet Gönder",
"success": "Davet başarıyla gönderildi",
- "error": "Ekip üyesi davet edilemedi"
+ "error": "Ekip üyesi davet edilemedi",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Henüz ekip üyesi yok",
@@ -1783,7 +1792,8 @@
"cancelInviteSuccess": "Davet başarıyla iptal edildi",
"cancelInviteError": "Davet iptal edilemedi",
"roleUpdateSuccess": "Rol güncellendi",
- "roleUpdateError": "Rol güncellenemedi"
+ "roleUpdateError": "Rol güncellenemedi",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index a0320e88b..663963a49 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -1753,13 +1753,22 @@
"pageTitle": "Учасники",
"inviteMember": "Запросити учасника"
},
+ "invitations": {
+ "linkLabel": "Invitation link",
+ "copyLink": "Copy link",
+ "linkCopied": "Invitation link copied",
+ "copyFailed": "Couldn't copy automatically. Select the link and press Ctrl+C."
+ },
"inviteModal": {
"title": "Запросити учасника команди",
"emailLabel": "Електронна пошта",
"emailPlaceholder": "[email protected]",
"sendInvitation": "Надіслати запрошення",
"success": "Запрошення успішно надіслано",
- "error": "Не вдалося запросити учасника команди"
+ "error": "Не вдалося запросити учасника команди",
+ "createdTitle": "Invitation created",
+ "shareLinkDescription": "Share this link with {{email}} so they can join the workspace.",
+ "done": "Done"
},
"membersTable": {
"emptyTitle": "Учасників команди ще немає",
@@ -1782,7 +1791,8 @@
"removeSuccess": "Учасника команди успішно видалено",
"removeError": "Не вдалося видалити учасника команди",
"cancelInviteSuccess": "Запрошення успішно скасовано",
- "cancelInviteError": "Не вдалося скасувати запрошення"
+ "cancelInviteError": "Не вдалося скасувати запрошення",
+ "ariaInvitationActions": "Invitation actions"
}
},
"publicProject": {