Compare commits
13 Commits
feat/comme
...
fix/react-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2ac3acfb6 | ||
|
|
e9ebd06eaa | ||
|
|
b4e9dd3811 | ||
|
|
d6aa82e070 | ||
|
|
4291d7bc8c | ||
|
|
5c72968d44 | ||
|
|
5b586f4871 | ||
|
|
fee82e5e73 | ||
|
|
03a043784a | ||
|
|
395dbfae04 | ||
|
|
9ec4bedd9a | ||
|
|
ca694595c7 | ||
|
|
0500d5171d |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -55,4 +55,7 @@ i18n.cache
|
||||
# pgdata
|
||||
/apps/web/pgdata
|
||||
|
||||
# local scripts
|
||||
scripts/
|
||||
|
||||
.claude
|
||||
@@ -2395,6 +2395,9 @@ checksums:
|
||||
uAQUqI/message: 4e1fcce15854d824919b4a582c697c90
|
||||
uAQUqI/origin/0/0: dc1a240d2d0cccb102c67ca311d4e457
|
||||
uAQUqI/translation: 4e1fcce15854d824919b4a582c697c90
|
||||
hQRttt/message: 7c91ef5f747eea9f77a9c4f23e19fb2e
|
||||
hQRttt/origin/0/0: b1f4eb6768222ea825703105f6014486
|
||||
hQRttt/translation: 7c91ef5f747eea9f77a9c4f23e19fb2e
|
||||
WYDptz/message: 05f2b4abfc36def17756a6969983cf86
|
||||
WYDptz/origin/0/0: 8628ddb6f4ded25c0f17e2cbda8207d3
|
||||
WYDptz/translation: 05f2b4abfc36def17756a6969983cf86
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
"@kan/api": "workspace:*",
|
||||
"@kan/auth": "workspace:*",
|
||||
"@kan/db": "workspace:^",
|
||||
"@kan/email": "workspace:^",
|
||||
"@kan/logger": "workspace:^",
|
||||
"@kan/shared": "workspace:^",
|
||||
"@lingui/babel-preset-react": "^2.9.2",
|
||||
"@lingui/conf": "^5.3.2",
|
||||
"@lingui/macro": "^5.3.2",
|
||||
"@lingui/react": "^5.3.2",
|
||||
"@novu/api": "^3.11.0",
|
||||
"@t3-oss/env-nextjs": "^0.11.1",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@tanstack/react-query": "catalog:",
|
||||
|
||||
@@ -10,6 +10,7 @@ import { t } from "@lingui/core/macro";
|
||||
import Link from "@tiptap/extension-link";
|
||||
import Mention from "@tiptap/extension-mention";
|
||||
import Placeholder from "@tiptap/extension-placeholder";
|
||||
import Typography from "@tiptap/extension-typography";
|
||||
import {
|
||||
BubbleMenu,
|
||||
EditorContent,
|
||||
@@ -17,7 +18,6 @@ import {
|
||||
ReactRenderer,
|
||||
useEditor,
|
||||
} from "@tiptap/react";
|
||||
import Typography from "@tiptap/extension-typography";
|
||||
import StarterKit from "@tiptap/starter-kit";
|
||||
import Suggestion from "@tiptap/suggestion";
|
||||
import {
|
||||
@@ -180,13 +180,13 @@ const RenderSuggestions = () => {
|
||||
|
||||
if (!props.clientRect) return;
|
||||
|
||||
popup[0]?.setProps({
|
||||
popup?.[0]?.setProps({
|
||||
getReferenceClientRect: props.clientRect,
|
||||
});
|
||||
},
|
||||
onKeyDown(props: SuggestionKeyDownProps): boolean {
|
||||
if (props.event.key === "Escape") {
|
||||
popup[0]?.hide();
|
||||
popup?.[0]?.hide();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ const RenderSuggestions = () => {
|
||||
);
|
||||
},
|
||||
onExit() {
|
||||
popup[0]?.destroy();
|
||||
popup?.[0]?.destroy();
|
||||
reactRenderer.destroy();
|
||||
},
|
||||
};
|
||||
@@ -308,11 +308,11 @@ const renderMentionSuggestions = () => {
|
||||
onUpdate(props: any) {
|
||||
reactRenderer.updateProps(props);
|
||||
if (!props.clientRect) return;
|
||||
popup[0]?.setProps({ getReferenceClientRect: props.clientRect });
|
||||
popup?.[0]?.setProps({ getReferenceClientRect: props.clientRect });
|
||||
},
|
||||
onKeyDown(props: SuggestionKeyDownProps) {
|
||||
if (props.event.key === "Escape") {
|
||||
popup[0]?.hide();
|
||||
popup?.[0]?.hide();
|
||||
return true;
|
||||
}
|
||||
return (
|
||||
@@ -324,7 +324,7 @@ const renderMentionSuggestions = () => {
|
||||
);
|
||||
},
|
||||
onExit() {
|
||||
popup[0]?.destroy();
|
||||
popup?.[0]?.destroy();
|
||||
reactRenderer.destroy();
|
||||
},
|
||||
};
|
||||
@@ -440,6 +440,7 @@ export default function Editor({
|
||||
content,
|
||||
onChange,
|
||||
onBlur,
|
||||
onSubmit,
|
||||
readOnly = false,
|
||||
workspaceMembers,
|
||||
enableYouTubeEmbed = true,
|
||||
@@ -449,6 +450,7 @@ export default function Editor({
|
||||
content: string | null;
|
||||
onChange?: (value: string) => void;
|
||||
onBlur?: () => void;
|
||||
onSubmit?: () => void;
|
||||
readOnly?: boolean;
|
||||
workspaceMembers: WorkspaceMember[];
|
||||
enableYouTubeEmbed?: boolean;
|
||||
@@ -461,12 +463,16 @@ export default function Editor({
|
||||
// in refs to avoid the editor capturing stale closures on re-render.
|
||||
const onChangeRef = useRef(onChange);
|
||||
const onBlurRef = useRef(onBlur);
|
||||
const onSubmitRef = useRef(onSubmit);
|
||||
useEffect(() => {
|
||||
onChangeRef.current = onChange;
|
||||
}, [onChange]);
|
||||
useEffect(() => {
|
||||
onBlurRef.current = onBlur;
|
||||
}, [onBlur]);
|
||||
useEffect(() => {
|
||||
onSubmitRef.current = onSubmit;
|
||||
}, [onSubmit]);
|
||||
|
||||
const editor = useEditor(
|
||||
{
|
||||
@@ -489,8 +495,8 @@ export default function Editor({
|
||||
Placeholder.configure({
|
||||
placeholder: readOnly
|
||||
? ""
|
||||
: placeholder ??
|
||||
t`Add description... (type '/' to open commands or '@' to mention)`,
|
||||
: (placeholder ??
|
||||
t`Add description... (type '/' to open commands or '@' to mention)`),
|
||||
}),
|
||||
SlashCommands.configure({
|
||||
commandItems: getCommandItems(disableHeadings),
|
||||
@@ -508,24 +514,26 @@ export default function Editor({
|
||||
suggestion: {
|
||||
char: "@",
|
||||
items: ({ query }: { query: string }) => {
|
||||
const withEmail = workspaceMembers.filter((member) => member.email);
|
||||
|
||||
const withEmail = workspaceMembers.filter(
|
||||
(member) => member.email,
|
||||
);
|
||||
|
||||
const mapped = withEmail.map((member: WorkspaceMember) => ({
|
||||
id: member.publicId,
|
||||
label: member?.user?.name?.trim() || member.email || "",
|
||||
image: member?.user?.image ?? null,
|
||||
}));
|
||||
|
||||
|
||||
const all: MentionItem[] = mapped.filter(
|
||||
(item) => item.label && item.label.length > 0,
|
||||
);
|
||||
|
||||
|
||||
const q = query.toLowerCase().trim();
|
||||
|
||||
|
||||
if (q === "") {
|
||||
return all;
|
||||
}
|
||||
|
||||
|
||||
const filtered = all.filter((u) =>
|
||||
u.label.toLowerCase().includes(q),
|
||||
);
|
||||
@@ -551,15 +559,15 @@ export default function Editor({
|
||||
},
|
||||
}),
|
||||
Typography.configure({
|
||||
openDoubleQuote: false,
|
||||
closeDoubleQuote: false,
|
||||
openSingleQuote: false,
|
||||
closeSingleQuote: false,
|
||||
oneHalf: false,
|
||||
oneQuarter: false,
|
||||
threeQuarters: false,
|
||||
superscriptTwo: false,
|
||||
superscriptThree: false,
|
||||
openDoubleQuote: false,
|
||||
closeDoubleQuote: false,
|
||||
openSingleQuote: false,
|
||||
closeSingleQuote: false,
|
||||
oneHalf: false,
|
||||
oneQuarter: false,
|
||||
threeQuarters: false,
|
||||
superscriptTwo: false,
|
||||
superscriptThree: false,
|
||||
}),
|
||||
...(enableYouTubeEmbed ? [YouTubeNode] : []),
|
||||
],
|
||||
@@ -581,6 +589,13 @@ export default function Editor({
|
||||
attributes: {
|
||||
class: "outline-none focus:outline-none focus-visible:ring-0",
|
||||
},
|
||||
handleKeyDown: (_view, event) => {
|
||||
if ((event.metaKey || event.ctrlKey) && event.key === "Enter") {
|
||||
onSubmitRef.current?.();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
},
|
||||
editable: !readOnly,
|
||||
injectCSS: false,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Button } from "@headlessui/react";
|
||||
import { t } from "@lingui/core/macro";
|
||||
import { env } from "next-runtime-env";
|
||||
import { useTheme } from "next-themes";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { HiBolt } from "react-icons/hi2";
|
||||
import {
|
||||
TbLayoutSidebarLeftCollapse,
|
||||
@@ -92,56 +92,59 @@ export default function SideNavigation({
|
||||
href: string;
|
||||
icon: object;
|
||||
keyboardShortcut: KeyboardShortcut;
|
||||
}[] = [
|
||||
{
|
||||
name: t`Boards`,
|
||||
href: "/boards",
|
||||
icon: isDarkMode ? boardsIconDark : boardsIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "B" }],
|
||||
action: () => router.push("/boards"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to boards`,
|
||||
}[] = useMemo(
|
||||
() => [
|
||||
{
|
||||
name: t`Boards`,
|
||||
href: "/boards",
|
||||
icon: isDarkMode ? boardsIconDark : boardsIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "B" }],
|
||||
action: () => router.push("/boards"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to boards`,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: t`Templates`,
|
||||
href: "/templates",
|
||||
icon: isDarkMode ? templatesIconDark : templatesIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "T" }],
|
||||
action: () => router.push("/templates"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to templates`,
|
||||
{
|
||||
name: t`Templates`,
|
||||
href: "/templates",
|
||||
icon: isDarkMode ? templatesIconDark : templatesIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "T" }],
|
||||
action: () => router.push("/templates"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to templates`,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: t`Members`,
|
||||
href: "/members",
|
||||
icon: isDarkMode ? membersIconDark : membersIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "M" }],
|
||||
action: () => router.push("/members"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to members`,
|
||||
{
|
||||
name: t`Members`,
|
||||
href: "/members",
|
||||
icon: isDarkMode ? membersIconDark : membersIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "M" }],
|
||||
action: () => router.push("/members"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to members`,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: t`Settings`,
|
||||
href: "/settings",
|
||||
icon: isDarkMode ? settingsIconDark : settingsIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "S" }],
|
||||
action: () => router.push("/settings"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to settings`,
|
||||
{
|
||||
name: t`Settings`,
|
||||
href: "/settings",
|
||||
icon: isDarkMode ? settingsIconDark : settingsIconLight,
|
||||
keyboardShortcut: {
|
||||
type: "SEQUENCE",
|
||||
strokes: [{ key: "G" }, { key: "S" }],
|
||||
action: () => router.push("/settings"),
|
||||
group: "NAVIGATION",
|
||||
description: t`Go to settings`,
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
],
|
||||
[isDarkMode],
|
||||
);
|
||||
|
||||
const toggleCollapse = () => {
|
||||
setIsCollapsed(!isCollapsed);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ReactNode } from "react";
|
||||
import type { Root } from "react-dom/client";
|
||||
import type { Placement } from "tippy.js";
|
||||
import type { Placement, Instance as TippyInstance } from "tippy.js";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import tippy from "tippy.js";
|
||||
@@ -20,16 +20,16 @@ export function Tooltip({
|
||||
}: TooltipProps) {
|
||||
const triggerRef = useRef<HTMLDivElement>(null);
|
||||
const rootRef = useRef<Root | null>(null);
|
||||
const tippyRef = useRef<TippyInstance | null>(null);
|
||||
const contentRef = useRef(content);
|
||||
contentRef.current = content;
|
||||
|
||||
useEffect(() => {
|
||||
if (!triggerRef.current) return;
|
||||
|
||||
if (!content) return;
|
||||
|
||||
const container = document.createElement("div");
|
||||
const root = createRoot(container);
|
||||
rootRef.current = root;
|
||||
root.render(content);
|
||||
|
||||
const instance = tippy(triggerRef.current, {
|
||||
content: container,
|
||||
@@ -39,12 +39,33 @@ export function Tooltip({
|
||||
theme: "tooltip",
|
||||
touch: false,
|
||||
});
|
||||
tippyRef.current = instance;
|
||||
|
||||
if (contentRef.current) {
|
||||
root.render(contentRef.current);
|
||||
} else {
|
||||
instance.disable();
|
||||
}
|
||||
|
||||
return () => {
|
||||
instance.destroy();
|
||||
rootRef.current?.unmount();
|
||||
tippyRef.current = null;
|
||||
root.unmount();
|
||||
rootRef.current = null;
|
||||
};
|
||||
}, [content, placement, delay]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [placement, delay]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!content) {
|
||||
tippyRef.current?.disable();
|
||||
return;
|
||||
}
|
||||
if (tippyRef.current) {
|
||||
tippyRef.current.enable();
|
||||
rootRef.current?.render(content);
|
||||
}
|
||||
}, [content]);
|
||||
|
||||
return (
|
||||
<div ref={triggerRef} className="inline-flex">
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useRouter } from "next/navigation";
|
||||
import { Button, Menu, Transition } from "@headlessui/react";
|
||||
import { t } from "@lingui/core/macro";
|
||||
import { env } from "next-runtime-env";
|
||||
import { Fragment, useState } from "react";
|
||||
import { Fragment, useMemo, useState } from "react";
|
||||
import { HiCheck, HiMagnifyingGlass } from "react-icons/hi2";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
@@ -26,17 +26,22 @@ export default function WorkspaceMenu({
|
||||
const router = useRouter();
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
|
||||
const { tooltipContent: commandPaletteShortcutTooltipContent } =
|
||||
useKeyboardShortcut({
|
||||
type: "PRESS",
|
||||
const commandPaletteShortcut = useMemo(
|
||||
() => ({
|
||||
type: "PRESS" as const,
|
||||
stroke: {
|
||||
key: "k",
|
||||
modifiers: ["META"],
|
||||
modifiers: ["META"] as ("META" | "CONTROL" | "ALT" | "SHIFT")[],
|
||||
},
|
||||
action: () => setIsOpen(true),
|
||||
description: t`Open command menu`,
|
||||
group: "GENERAL",
|
||||
});
|
||||
group: "GENERAL" as const,
|
||||
}),
|
||||
[],
|
||||
);
|
||||
|
||||
const { tooltipContent: commandPaletteShortcutTooltipContent } =
|
||||
useKeyboardShortcut(commandPaletteShortcut);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -52,8 +52,9 @@ export const env = createEnv({
|
||||
VK_CLIENT_SECRET: z.string().optional(),
|
||||
LINKEDIN_CLIENT_ID: z.string().optional(),
|
||||
LINKEDIN_CLIENT_SECRET: z.string().optional(),
|
||||
NOVU_API_KEY: z.string().optional(),
|
||||
EMAIL_UNSUBSCRIBE_SECRET: z.string().optional(),
|
||||
SUBSCRIBER_API_URL: z.string().url().optional(),
|
||||
SUBSCRIBER_API_KEY: z.string().optional(),
|
||||
SUBSCRIBER_ENVIRONMENT_ID: z.string().optional(),
|
||||
// Generic OIDC Provider
|
||||
OIDC_CLIENT_ID: z.string().optional(),
|
||||
OIDC_CLIENT_SECRET: z.string().optional(),
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { useEffect } from "react";
|
||||
import { useCallback, useEffect, useRef } from "react";
|
||||
|
||||
import { useModal } from "~/providers/modal";
|
||||
|
||||
interface UseModalFormStateOptions<T> {
|
||||
@@ -12,25 +13,43 @@ export function useModalFormState<T extends Record<string, any>>({
|
||||
initialValues,
|
||||
resetOnClose = false,
|
||||
}: UseModalFormStateOptions<T>) {
|
||||
const { modalContentType, isOpen, getModalState, setModalState, clearModalState } = useModal();
|
||||
|
||||
const {
|
||||
modalContentType,
|
||||
isOpen,
|
||||
getModalState,
|
||||
setModalState,
|
||||
clearModalState,
|
||||
} = useModal();
|
||||
|
||||
const isCurrentModal = modalContentType === modalType;
|
||||
const savedState = getModalState(modalType) as T | undefined;
|
||||
|
||||
|
||||
// get current form state (using the saved values if available, otherwise the initial values)
|
||||
const formState = savedState || initialValues;
|
||||
|
||||
const saveFormState = (state: Partial<T>) => {
|
||||
if (!isCurrentModal) return;
|
||||
|
||||
const currentState = getModalState(modalType) || initialValues;
|
||||
const newState = { ...currentState, ...state };
|
||||
setModalState(modalType, newState);
|
||||
};
|
||||
// Keep refs so the callbacks below stay stable across re-renders.
|
||||
const modalTypeRef = useRef(modalType);
|
||||
const initialValuesRef = useRef(initialValues);
|
||||
const getModalStateRef = useRef(getModalState);
|
||||
modalTypeRef.current = modalType;
|
||||
initialValuesRef.current = initialValues;
|
||||
getModalStateRef.current = getModalState;
|
||||
|
||||
const clearFormState = () => {
|
||||
clearModalState(modalType);
|
||||
};
|
||||
const saveFormState = useCallback(
|
||||
(state: Partial<T>) => {
|
||||
const type = modalTypeRef.current;
|
||||
const currentState =
|
||||
getModalStateRef.current(type) ?? initialValuesRef.current;
|
||||
const newState = { ...currentState, ...state };
|
||||
setModalState(type, newState);
|
||||
},
|
||||
// setModalState is stable (useCallback with [] deps in ModalProvider)
|
||||
[setModalState],
|
||||
);
|
||||
|
||||
const clearFormState = useCallback(() => {
|
||||
clearModalState(modalTypeRef.current);
|
||||
}, [clearModalState]);
|
||||
|
||||
useEffect(() => {
|
||||
if (resetOnClose && !isOpen && savedState) {
|
||||
@@ -45,4 +64,4 @@ export function useModalFormState<T extends Record<string, any>>({
|
||||
isCurrentModal,
|
||||
hasSavedState: !!savedState,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Kommentar hinzufügen... (‚/' für Befehle oder ‚@' zum Erwähnen eingeben)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Beschreibung hinzufügen... (‚/' für Befehle oder ‚@' zum Erwähnen eingeben)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Jährlich"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Ideal für kleine Teams, die gemeinsam arbeiten und schneller vorankommen möchten."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Tarif wählen"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Weiter"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Gut geeignet für Einsteiger, die nur die wichtigsten Funktionen benötigen."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Wählen Sie einen Tarif, um loszulegen. Alle kostenpflichtigen Tarife beinhalten eine 14-tägige kostenlose Testphase."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Abmelden"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Status"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Absenden"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Team"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Kommentar konnte nicht hinzugefügt werden"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Unbegrenzte Mitglieder und ein individueller Workspace-Benutzername für Teams, die wachsen möchten."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Upgrade"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Ihr Avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -483,7 +483,7 @@
|
||||
],
|
||||
[
|
||||
"src/views/card/components/NewCommentForm.tsx",
|
||||
68
|
||||
85
|
||||
]
|
||||
],
|
||||
"translation": "Add comment... (type '/' to open commands or '@' to mention)"
|
||||
@@ -495,7 +495,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Editor.tsx",
|
||||
493
|
||||
499
|
||||
]
|
||||
],
|
||||
"translation": "Add description... (type '/' to open commands or '@' to mention)"
|
||||
@@ -973,7 +973,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
64
|
||||
68
|
||||
]
|
||||
],
|
||||
"translation": "Annual"
|
||||
@@ -1393,7 +1393,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
87
|
||||
91
|
||||
]
|
||||
],
|
||||
"translation": "Best for small teams who want to collaborate and move faster together."
|
||||
@@ -2169,7 +2169,7 @@
|
||||
],
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
236
|
||||
240
|
||||
],
|
||||
[
|
||||
"src/views/settings/components/Avatar.tsx",
|
||||
@@ -2437,7 +2437,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
149
|
||||
153
|
||||
]
|
||||
],
|
||||
"translation": "Choose a plan"
|
||||
@@ -2885,7 +2885,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
242
|
||||
246
|
||||
],
|
||||
[
|
||||
"src/views/onboarding/workspace-details/index.tsx",
|
||||
@@ -5059,11 +5059,11 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
78
|
||||
82
|
||||
],
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
79
|
||||
83
|
||||
],
|
||||
[
|
||||
"src/views/pricing/components/FeatureComparisonTable.tsx",
|
||||
@@ -5455,7 +5455,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
80
|
||||
84
|
||||
]
|
||||
],
|
||||
"translation": "Good for individuals starting out who just need the essentials."
|
||||
@@ -6713,7 +6713,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
63
|
||||
67
|
||||
],
|
||||
[
|
||||
"src/views/pricing/components/Pricing.tsx",
|
||||
@@ -7748,7 +7748,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
152
|
||||
156
|
||||
]
|
||||
],
|
||||
"translation": "Pick a plan to get started. All paid plans include a 14-day free trial."
|
||||
@@ -8016,7 +8016,7 @@
|
||||
],
|
||||
[
|
||||
"src/views/card/components/NewCommentForm.tsx",
|
||||
37
|
||||
38
|
||||
],
|
||||
[
|
||||
"src/views/card/index.tsx",
|
||||
@@ -8252,7 +8252,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
92
|
||||
96
|
||||
],
|
||||
[
|
||||
"src/views/pricing/components/FeatureComparisonTable.tsx",
|
||||
@@ -9311,7 +9311,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
315
|
||||
319
|
||||
],
|
||||
[
|
||||
"src/views/onboarding/workspace-details/index.tsx",
|
||||
@@ -9467,7 +9467,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
77
|
||||
81
|
||||
]
|
||||
],
|
||||
"translation": "Solo"
|
||||
@@ -9576,6 +9576,18 @@
|
||||
],
|
||||
"translation": "Status"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
[
|
||||
"src/views/card/components/NewCommentForm.tsx",
|
||||
60
|
||||
]
|
||||
],
|
||||
"translation": "Submit"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -9675,7 +9687,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
84
|
||||
88
|
||||
]
|
||||
],
|
||||
"translation": "Team"
|
||||
@@ -10443,7 +10455,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/card/components/NewCommentForm.tsx",
|
||||
36
|
||||
37
|
||||
]
|
||||
],
|
||||
"translation": "Unable to add comment"
|
||||
@@ -11171,7 +11183,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
95
|
||||
99
|
||||
]
|
||||
],
|
||||
"translation": "Unlimited members and a custom workspace username for teams ready to scale."
|
||||
@@ -11331,7 +11343,7 @@
|
||||
],
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
241
|
||||
245
|
||||
]
|
||||
],
|
||||
"translation": "Upgrade"
|
||||
@@ -12429,7 +12441,7 @@
|
||||
"origin": [
|
||||
[
|
||||
"src/views/onboarding/select-plan/index.tsx",
|
||||
260
|
||||
264
|
||||
]
|
||||
],
|
||||
"translation": "Your avatar"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Añadir comentario... (escribe '/' para abrir comandos o '@' para mencionar)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Añadir descripción... (escribe '/' para abrir comandos o '@' para mencionar)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Anual"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Ideal para equipos pequeños que desean colaborar y avanzar más rápido juntos."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Elige un plan"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Continuar"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Ideal para personas que comienzan y solo necesitan lo esencial."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Elige un plan para comenzar. Todos los planes de pago incluyen una prueba gratuita de 14 días."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Cerrar sesión"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Individual"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Estado"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Enviar"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Equipo"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "No se pudo agregar el comentario"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Miembros ilimitados y un nombre de usuario personalizado para el espacio de trabajo para equipos listos para escalar."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Actualizar"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Tu avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Ajouter un commentaire... (tapez « / » pour ouvrir les commandes ou « @ » pour mentionner)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Ajouter une description... (tapez « / » pour ouvrir les commandes ou « @ » pour mentionner)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Annuel"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Idéal pour les petites équipes qui souhaitent collaborer et avancer plus rapidement ensemble."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Choisir un forfait"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Continuer"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Idéal pour les particuliers qui débutent et qui ont simplement besoin de l'essentiel."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Choisissez un forfait pour commencer. Tous les forfaits payants incluent un essai gratuit de 14 jours."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Se déconnecter"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Statut"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Soumettre"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Équipe"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Impossible d'ajouter le commentaire"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Membres illimités et un nom d'utilisateur d'espace de travail personnalisé pour les équipes prêtes à évoluer."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Mettre à niveau"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Votre avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Aggiungi commento... (digita '/' per aprire i comandi o '@' per menzionare)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Aggiungi descrizione... (digita '/' per aprire i comandi o '@' per menzionare)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Annuale"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Ideale per piccoli team che vogliono collaborare e muoversi più velocemente insieme."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Scegli un piano"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Continua"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Perfetto per chi inizia e ha bisogno solo delle funzionalità essenziali."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Scegli un piano per iniziare. Tutti i piani a pagamento includono una prova gratuita di 14 giorni."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Esci"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Stato"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Invia"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Team"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Impossibile aggiungere il commento"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Membri illimitati e un nome utente workspace personalizzato per i team pronti a crescere."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Aggiorna"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Il tuo avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Voeg opmerking toe... (typ '/' om commando's te openen of '@' om te vermelden)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Voeg beschrijving toe... (typ '/' om commando's te openen of '@' om te vermelden)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Jaarlijks"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Het beste voor kleine teams die willen samenwerken en sneller vooruit willen komen."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Kies een abonnement"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Doorgaan"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Geschikt voor individuen die net beginnen en alleen de basisbehoeften hebben."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Kies een abonnement om te beginnen. Alle betaalde abonnementen hebben een gratis proefperiode van 14 dagen."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Uitloggen"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Status"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Verzenden"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Team"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Kan opmerking niet toevoegen"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Onbeperkt aantal leden en een aangepaste werkruimte-URL voor teams die klaar zijn om te groeien."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Upgraden"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Jouw avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Dodaj komentarz... (wpisz '/' aby otworzyć polecenia lub '@', aby wspomnieć)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Dodaj opis... (wpisz '/' aby otworzyć polecenia lub '@', aby wspomnieć)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Rocznie"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Najlepszy dla małych zespołów, które chcą współpracować i działać szybciej razem."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Wybierz plan"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Kontynuuj"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Dobry dla osób zaczynających, które potrzebują tylko podstaw."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Wybierz plan, aby rozpocząć. Wszystkie płatne plany zawierają 14-dniowy bezpłatny okres próbny."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Wyloguj się"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Status"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Prześlij"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Zespół"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Nie można dodać komentarza"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Nieograniczona liczba członków i niestandardowa nazwa użytkownika przestrzeni roboczej dla zespołów gotowych do rozwoju."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Uaktualnij"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Twój awatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Adicionar comentário... (digite '/' para abrir comandos ou '@' para mencionar)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Adicionar descrição... (digite '/' para abrir comandos ou '@' para mencionar)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Anual"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Ideal para pequenas equipes que desejam colaborar e avançar mais rápido juntas."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Escolha um plano"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Continuar"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Bom para indivíduos começando que precisam apenas do essencial."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Escolha um plano para começar. Todos os planos pagos incluem 14 dias de teste grátis."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Sair"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Solo"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Status"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Enviar"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Equipe"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Não foi possível adicionar comentário"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Membros ilimitados e um nome de usuário personalizado para equipes prontas para crescer."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Atualizar"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Seu avatar"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -286,7 +286,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/card/components/Comment.tsx", 185],
|
||||
["src/views/card/components/NewCommentForm.tsx", 68]
|
||||
["src/views/card/components/NewCommentForm.tsx", 85]
|
||||
],
|
||||
"translation": "Добавить комментарий... (введите '/' для открытия команд или '@' для упоминания)"
|
||||
},
|
||||
@@ -294,7 +294,7 @@
|
||||
"message": "Add description... (type '/' to open commands or '@' to mention)",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/components/Editor.tsx", 493]],
|
||||
"origin": [["src/components/Editor.tsx", 499]],
|
||||
"translation": "Добавить описание... (введите '/' для открытия команд или '@' для упоминания)"
|
||||
},
|
||||
"abUZlY": {
|
||||
@@ -577,7 +577,7 @@
|
||||
"message": "Annual",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 64]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 68]],
|
||||
"translation": "Ежегодно"
|
||||
},
|
||||
"3bqt9U": {
|
||||
@@ -833,7 +833,7 @@
|
||||
"message": "Best for small teams who want to collaborate and move faster together.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 87]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 91]],
|
||||
"translation": "Идеально для небольших команд, которые хотят сотрудничать и работать быстрее вместе."
|
||||
},
|
||||
"qaS+1/": {
|
||||
@@ -1294,7 +1294,7 @@
|
||||
["src/views/card/components/DeleteChecklistConfirmation.tsx", 64],
|
||||
["src/views/card/components/DeleteCommentConfirmation.tsx", 77],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 55],
|
||||
["src/views/onboarding/select-plan/index.tsx", 236],
|
||||
["src/views/onboarding/select-plan/index.tsx", 240],
|
||||
["src/views/settings/components/Avatar.tsx", 287],
|
||||
["src/views/settings/components/ChangePasswordConfirmation.tsx", 206],
|
||||
[
|
||||
@@ -1444,7 +1444,7 @@
|
||||
"message": "Choose a plan",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 149]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 153]],
|
||||
"translation": "Выберите тариф"
|
||||
},
|
||||
"5EMoSo": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 242],
|
||||
["src/views/onboarding/select-plan/index.tsx", 246],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 315]
|
||||
],
|
||||
"translation": "Продолжить"
|
||||
@@ -3016,8 +3016,8 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 78],
|
||||
["src/views/onboarding/select-plan/index.tsx", 79],
|
||||
["src/views/onboarding/select-plan/index.tsx", 82],
|
||||
["src/views/onboarding/select-plan/index.tsx", 83],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 331],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
["src/views/pricing/components/Pricing.tsx", 32],
|
||||
@@ -3239,7 +3239,7 @@
|
||||
"message": "Good for individuals starting out who just need the essentials.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 80]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"translation": "Подходит для начинающих пользователей, которым нужны только базовые функции."
|
||||
},
|
||||
"cdyS7J": {
|
||||
@@ -3986,7 +3986,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 63],
|
||||
["src/views/onboarding/select-plan/index.tsx", 67],
|
||||
["src/views/pricing/components/Pricing.tsx", 14],
|
||||
["src/views/pricing/index.tsx", 20]
|
||||
],
|
||||
@@ -4602,7 +4602,7 @@
|
||||
"message": "Pick a plan to get started. All paid plans include a 14-day free trial.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 152]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 156]],
|
||||
"translation": "Выберите тариф, чтобы начать. Все платные тарифы включают 14-дневный бесплатный пробный период."
|
||||
},
|
||||
"GdgCoi": {
|
||||
@@ -4726,7 +4726,7 @@
|
||||
["src/views/card/components/MemberSelector.tsx", 82],
|
||||
["src/views/card/components/NewChecklistForm.tsx", 71],
|
||||
["src/views/card/components/NewChecklistItemForm.tsx", 90],
|
||||
["src/views/card/components/NewCommentForm.tsx", 37],
|
||||
["src/views/card/components/NewCommentForm.tsx", 38],
|
||||
["src/views/card/index.tsx", 236],
|
||||
["src/views/card/index.tsx", 249],
|
||||
["src/views/members/components/DeleteMemberConfirmation.tsx", 28],
|
||||
@@ -4829,7 +4829,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 92],
|
||||
["src/views/onboarding/select-plan/index.tsx", 96],
|
||||
["src/views/pricing/components/FeatureComparisonTable.tsx", 333],
|
||||
["src/views/pricing/components/PricingTiers.tsx", 70]
|
||||
],
|
||||
@@ -5454,7 +5454,7 @@
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/onboarding/select-plan/index.tsx", 315],
|
||||
["src/views/onboarding/select-plan/index.tsx", 319],
|
||||
["src/views/onboarding/workspace-details/index.tsx", 386]
|
||||
],
|
||||
"translation": "Выйти"
|
||||
@@ -5548,7 +5548,7 @@
|
||||
"message": "Solo",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 77]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 81]],
|
||||
"translation": "Индивидуальный"
|
||||
},
|
||||
"J9+zIR": {
|
||||
@@ -5615,6 +5615,13 @@
|
||||
"origin": [["src/views/settings/components/WebhookList.tsx", 232]],
|
||||
"translation": "Статус"
|
||||
},
|
||||
"hQRttt": {
|
||||
"message": "Submit",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 60]],
|
||||
"translation": "Отправить"
|
||||
},
|
||||
"WYDptz": {
|
||||
"message": "Subscription Required",
|
||||
"placeholders": {},
|
||||
@@ -5678,7 +5685,7 @@
|
||||
"message": "Team",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 84]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 88]],
|
||||
"translation": "Команда"
|
||||
},
|
||||
"bff61F": {
|
||||
@@ -6147,7 +6154,7 @@
|
||||
"message": "Unable to add comment",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 36]],
|
||||
"origin": [["src/views/card/components/NewCommentForm.tsx", 37]],
|
||||
"translation": "Не удалось добавить комментарий"
|
||||
},
|
||||
"2Q871c": {
|
||||
@@ -6574,7 +6581,7 @@
|
||||
"message": "Unlimited members and a custom workspace username for teams ready to scale.",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 95]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 99]],
|
||||
"translation": "Неограниченное количество участников и персональное имя рабочего пространства для команд, готовых к масштабированию."
|
||||
},
|
||||
"i5yNAO": {
|
||||
@@ -6664,7 +6671,7 @@
|
||||
"comments": [],
|
||||
"origin": [
|
||||
["src/views/members/index.tsx", 295],
|
||||
["src/views/onboarding/select-plan/index.tsx", 241]
|
||||
["src/views/onboarding/select-plan/index.tsx", 245]
|
||||
],
|
||||
"translation": "Обновить"
|
||||
},
|
||||
@@ -7323,7 +7330,7 @@
|
||||
"message": "Your avatar",
|
||||
"placeholders": {},
|
||||
"comments": [],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 260]],
|
||||
"origin": [["src/views/onboarding/select-plan/index.tsx", 264]],
|
||||
"translation": "Ваш аватар"
|
||||
},
|
||||
"evg7+A": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,108 +0,0 @@
|
||||
import type { NextApiRequest, NextApiResponse } from "next";
|
||||
import { Novu } from "@novu/api";
|
||||
import { jwtVerify } from "jose";
|
||||
import { z } from "zod";
|
||||
|
||||
import { withApiLogging } from "@kan/api/utils/apiLogging";
|
||||
import { withRateLimit } from "@kan/api/utils/rateLimit";
|
||||
|
||||
import { env } from "~/env";
|
||||
|
||||
const requestSchema = z.object({
|
||||
token: z.string().min(1),
|
||||
});
|
||||
|
||||
const tokenPayloadSchema = z.object({
|
||||
subscriberId: z.string(),
|
||||
});
|
||||
|
||||
type ResponseData =
|
||||
| { success: true }
|
||||
| { success: false; error: string; code?: string };
|
||||
|
||||
const textEncoder = new TextEncoder();
|
||||
|
||||
export default withRateLimit(
|
||||
{ points: 100, duration: 60 },
|
||||
withApiLogging(
|
||||
async (req: NextApiRequest, res: NextApiResponse<ResponseData>) => {
|
||||
if (process.env.NEXT_PUBLIC_KAN_ENV !== "cloud") {
|
||||
return res.status(404).json({
|
||||
success: false,
|
||||
error: "Unsubscribe endpoint is not available.",
|
||||
code: "UNAVAILABLE",
|
||||
});
|
||||
}
|
||||
|
||||
if (req.method !== "POST") {
|
||||
res.setHeader("Allow", "POST");
|
||||
return res.status(405).json({
|
||||
success: false,
|
||||
error: "Method not allowed.",
|
||||
code: "METHOD_NOT_ALLOWED",
|
||||
});
|
||||
}
|
||||
|
||||
const parsedBody = requestSchema.safeParse(req.body);
|
||||
|
||||
if (!parsedBody.success) {
|
||||
return res.status(400).json({
|
||||
success: false,
|
||||
error: "Invalid request payload.",
|
||||
code: "BAD_REQUEST",
|
||||
});
|
||||
}
|
||||
|
||||
if (!env.EMAIL_UNSUBSCRIBE_SECRET || !env.NOVU_API_KEY) {
|
||||
return res.status(500).json({
|
||||
success: false,
|
||||
error: "Unsubscribe service is not configured.",
|
||||
code: "NOT_CONFIGURED",
|
||||
});
|
||||
}
|
||||
|
||||
let payload: z.infer<typeof tokenPayloadSchema>;
|
||||
|
||||
try {
|
||||
const verified = await jwtVerify(
|
||||
parsedBody.data.token,
|
||||
textEncoder.encode(env.EMAIL_UNSUBSCRIBE_SECRET),
|
||||
{
|
||||
// We intentionally do not use exp/iat claims –
|
||||
// tokens are long-lived and validated only by signature + payload.
|
||||
clockTolerance: "0s",
|
||||
},
|
||||
);
|
||||
payload = tokenPayloadSchema.parse(verified.payload);
|
||||
} catch {
|
||||
return res.status(401).json({
|
||||
success: false,
|
||||
error: "Your unsubscribe link is invalid or has expired.",
|
||||
code: "INVALID_TOKEN",
|
||||
});
|
||||
}
|
||||
|
||||
const novu = new Novu({ secretKey: env.NOVU_API_KEY });
|
||||
|
||||
try {
|
||||
await novu.subscribers.preferences.update(
|
||||
{
|
||||
channels: {
|
||||
email: false,
|
||||
},
|
||||
},
|
||||
payload.subscriberId,
|
||||
);
|
||||
} catch (error) {
|
||||
return res.status(502).json({
|
||||
success: false,
|
||||
error:
|
||||
"We could not update your email preferences right now. Please try again later.",
|
||||
code: "NOVU_ERROR",
|
||||
});
|
||||
}
|
||||
|
||||
return res.status(200).json({ success: true });
|
||||
},
|
||||
),
|
||||
);
|
||||
@@ -1,110 +0,0 @@
|
||||
import { useRouter } from "next/router";
|
||||
import { t } from "@lingui/core/macro";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
import Button from "~/components/Button";
|
||||
import { PageHead } from "~/components/PageHead";
|
||||
import PatternedBackground from "~/components/PatternedBackground";
|
||||
|
||||
type UnsubscribeStatus = "idle" | "processing" | "success" | "error";
|
||||
|
||||
export default function UnsubscribePage() {
|
||||
const router = useRouter();
|
||||
const [token, setToken] = useState("");
|
||||
const [status, setStatus] = useState<UnsubscribeStatus>("idle");
|
||||
const [errorMessage, setErrorMessage] = useState<string | null>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (!router.isReady) return;
|
||||
const value = router.query.token;
|
||||
if (typeof value === "string") {
|
||||
setToken(value);
|
||||
} else if (Array.isArray(value)) {
|
||||
setToken(value[0] ?? "");
|
||||
} else {
|
||||
setToken("");
|
||||
}
|
||||
}, [router.isReady, router.query.token]);
|
||||
|
||||
const handleUnsubscribe = async () => {
|
||||
if (!token) {
|
||||
setStatus("error");
|
||||
setErrorMessage(
|
||||
t`Your unsubscribe link is missing a token. Please open the latest email and try again.`,
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
setStatus("processing");
|
||||
setErrorMessage(null);
|
||||
|
||||
try {
|
||||
const response = await fetch("/api/unsubscribe", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ token }),
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
const payload = (await response.json().catch(() => null)) as {
|
||||
error?: string;
|
||||
} | null;
|
||||
|
||||
throw new Error(
|
||||
payload?.error ??
|
||||
"We couldn't update your preferences. Please try again.",
|
||||
);
|
||||
}
|
||||
|
||||
setStatus("success");
|
||||
} catch (error) {
|
||||
setStatus("error");
|
||||
setErrorMessage(
|
||||
t`We couldn't update your preferences. Please try again.`,
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
const title = t`Unsubscribe`;
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHead title={`${title} | kan.bn`} />
|
||||
<div className="relative flex min-h-screen items-center justify-center px-4 py-12 sm:px-6 lg:px-8">
|
||||
<PatternedBackground />
|
||||
<div className="z-10 w-full max-w-md space-y-6">
|
||||
<div>
|
||||
<h1 className="mt-6 text-center text-3xl font-bold tracking-tight text-light-1000 dark:text-dark-1000">
|
||||
{t`Do you want to unsubscribe?`}
|
||||
</h1>
|
||||
<p className="mt-4 text-center text-sm text-light-900 dark:text-dark-800">
|
||||
{t`Confirm your email preferences:`}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-center">
|
||||
<Button
|
||||
onClick={handleUnsubscribe}
|
||||
disabled={status === "success"}
|
||||
isLoading={status === "processing"}
|
||||
variant="primary"
|
||||
size="md"
|
||||
>
|
||||
{t`Unsubscribe`}
|
||||
</Button>
|
||||
</div>
|
||||
{status === "success" && (
|
||||
<p className="text-center text-sm text-light-900 dark:text-dark-800">
|
||||
{t`You have been unsubscribed!`}
|
||||
</p>
|
||||
)}
|
||||
{status === "error" && (
|
||||
<p className="mx-auto max-w-[300px] text-center text-sm font-medium text-red-600 dark:text-red-400">
|
||||
{errorMessage}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createContext, useContext, useState } from "react";
|
||||
import { createContext, useCallback, useContext, useState } from "react";
|
||||
|
||||
interface PopupContextType {
|
||||
isOpen: boolean;
|
||||
@@ -25,24 +25,27 @@ export const PopupProvider: React.FC<Props> = ({ children }) => {
|
||||
const [popupMessage, setPopupMessage] = useState("");
|
||||
const [popupIcon, setPopupIcon] = useState("");
|
||||
|
||||
const showPopup = ({
|
||||
header,
|
||||
message,
|
||||
icon,
|
||||
}: {
|
||||
header: string;
|
||||
message: string;
|
||||
icon: string;
|
||||
}) => {
|
||||
setIsOpen(true);
|
||||
setPopupHeader(header);
|
||||
setPopupMessage(message);
|
||||
setPopupIcon(icon);
|
||||
};
|
||||
const showPopup = useCallback(
|
||||
({
|
||||
header,
|
||||
message,
|
||||
icon,
|
||||
}: {
|
||||
header: string;
|
||||
message: string;
|
||||
icon: string;
|
||||
}) => {
|
||||
setIsOpen(true);
|
||||
setPopupHeader(header);
|
||||
setPopupMessage(message);
|
||||
setPopupIcon(icon);
|
||||
},
|
||||
[],
|
||||
);
|
||||
|
||||
const hidePopup = () => {
|
||||
const hidePopup = useCallback(() => {
|
||||
setIsOpen(false);
|
||||
};
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<PopupContext.Provider
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useRouter } from "next/router";
|
||||
import { t } from "@lingui/core/macro";
|
||||
import { keepPreviousData } from "@tanstack/react-query";
|
||||
import { env } from "next-runtime-env";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { DragDropContext, Draggable } from "react-beautiful-dnd";
|
||||
import { useForm } from "react-hook-form";
|
||||
import {
|
||||
@@ -46,10 +46,10 @@ import { CardContextMembersModal } from "./components/CardContextMembersModal";
|
||||
import { CardContextMenu } from "./components/CardContextMenu";
|
||||
import { CardContextMoveListModal } from "./components/CardContextMoveListModal";
|
||||
import { DeleteBoardConfirmation } from "./components/DeleteBoardConfirmation";
|
||||
import { MoveBoardForm } from "./components/MoveBoardForm";
|
||||
import { DeleteListConfirmation } from "./components/DeleteListConfirmation";
|
||||
import Filters from "./components/Filters";
|
||||
import List from "./components/List";
|
||||
import { MoveBoardForm } from "./components/MoveBoardForm";
|
||||
import { NewCardForm } from "./components/NewCardForm";
|
||||
import { NewListForm } from "./components/NewListForm";
|
||||
import { NewTemplateForm } from "./components/NewTemplateForm";
|
||||
@@ -85,21 +85,26 @@ export default function BoardPage({ isTemplate }: { isTemplate?: boolean }) {
|
||||
const { canCreateList, canEditList, canEditCard, canEditBoard } =
|
||||
usePermissions();
|
||||
|
||||
const { tooltipContent: createListShortcutTooltipContent } =
|
||||
useKeyboardShortcut({
|
||||
type: "PRESS",
|
||||
stroke: { key: "C" },
|
||||
action: () => boardId && canCreateList && openNewListForm(boardId),
|
||||
description: t`Create new list`,
|
||||
group: "ACTIONS",
|
||||
});
|
||||
|
||||
const boardId = params?.boardId
|
||||
? Array.isArray(params.boardId)
|
||||
? params.boardId[0]
|
||||
: params.boardId
|
||||
: null;
|
||||
|
||||
const createListShortcut = useMemo(
|
||||
() => ({
|
||||
type: "PRESS" as const,
|
||||
stroke: { key: "C" },
|
||||
action: () => boardId && canCreateList && openNewListForm(boardId),
|
||||
description: t`Create new list`,
|
||||
group: "ACTIONS" as const,
|
||||
}),
|
||||
[boardId, canCreateList],
|
||||
);
|
||||
|
||||
const { tooltipContent: createListShortcutTooltipContent } =
|
||||
useKeyboardShortcut(createListShortcut);
|
||||
|
||||
const updateBoard = api.board.update.useMutation();
|
||||
|
||||
const { register, handleSubmit, setValue } = useForm<UpdateBoardInput>({
|
||||
|
||||
@@ -5,8 +5,12 @@ import {
|
||||
ListboxOptions,
|
||||
} from "@headlessui/react";
|
||||
import { t } from "@lingui/core/macro";
|
||||
import { HiArrowDownTray, HiChevronDown, HiOutlinePlusSmall } from "react-icons/hi2";
|
||||
import { useState } from "react";
|
||||
import { useMemo, useState } from "react";
|
||||
import {
|
||||
HiArrowDownTray,
|
||||
HiChevronDown,
|
||||
HiOutlinePlusSmall,
|
||||
} from "react-icons/hi2";
|
||||
|
||||
import Button from "~/components/Button";
|
||||
import FeedbackModal from "~/components/FeedbackModal";
|
||||
@@ -33,14 +37,19 @@ export default function BoardsPage({ isTemplate }: { isTemplate?: boolean }) {
|
||||
const [activeTab, setActiveTab] = useState<"boards" | "archived">("boards");
|
||||
const { canCreateBoard } = usePermissions();
|
||||
|
||||
const { tooltipContent: createModalShortcutTooltipContent } =
|
||||
useKeyboardShortcut({
|
||||
type: "PRESS",
|
||||
const createBoardShortcut = useMemo(
|
||||
() => ({
|
||||
type: "PRESS" as const,
|
||||
stroke: { key: "C" },
|
||||
action: () => canCreateBoard && openModal("NEW_BOARD"),
|
||||
description: t`Create new ${isTemplate ? "template" : "board"}`,
|
||||
group: "ACTIONS",
|
||||
});
|
||||
group: "ACTIONS" as const,
|
||||
}),
|
||||
[canCreateBoard, isTemplate, openModal],
|
||||
);
|
||||
|
||||
const { tooltipContent: createModalShortcutTooltipContent } =
|
||||
useKeyboardShortcut(createBoardShortcut);
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -137,7 +146,7 @@ export default function BoardsPage({ isTemplate }: { isTemplate?: boolean }) {
|
||||
onChange={(tab) => setActiveTab(tab)}
|
||||
>
|
||||
<div className="relative mb-4">
|
||||
<ListboxButton className="w-full appearance-none rounded-md border-0 bg-light-50 py-3 pl-3 pr-10 text-left text-sm font-semibold text-light-1000 shadow-sm ring-1 ring-inset ring-light-300 dark:bg-dark-50 dark:text-dark-1000 dark:ring-dark-300 dark:focus:ring-dark-500">
|
||||
<ListboxButton className="w-full appearance-none rounded-md border-0 bg-light-50 py-3 pl-3 pr-10 text-left text-sm font-semibold text-light-1000 shadow-sm ring-1 ring-inset ring-light-300 dark:bg-dark-50 dark:text-dark-1000 dark:ring-dark-300 dark:focus:ring-dark-500">
|
||||
{boardsTabs.find((tab) => tab.key === activeTab)?.label ??
|
||||
"Select a tab"}
|
||||
<HiChevronDown
|
||||
@@ -151,9 +160,10 @@ export default function BoardsPage({ isTemplate }: { isTemplate?: boolean }) {
|
||||
key={tab.key}
|
||||
value={tab.key}
|
||||
className={({ selected }) =>
|
||||
`relative cursor-pointer select-none py-2 pl-3 pr-9 ${selected
|
||||
? "font-bold text-light-1000 dark:text-dark-1000"
|
||||
: "font-normal text-light-1000 dark:text-dark-1000"
|
||||
`relative cursor-pointer select-none py-2 pl-3 pr-9 ${
|
||||
selected
|
||||
? "font-bold text-light-1000 dark:text-dark-1000"
|
||||
: "font-normal text-light-1000 dark:text-dark-1000"
|
||||
}`
|
||||
}
|
||||
>
|
||||
@@ -175,10 +185,11 @@ export default function BoardsPage({ isTemplate }: { isTemplate?: boolean }) {
|
||||
key={tab.key}
|
||||
type="button"
|
||||
onClick={() => setActiveTab(tab.key)}
|
||||
className={`whitespace-nowrap px-1 py-0 mt-2 mb-8 text-sm font-semibold transition-colors focus:outline-none ${activeTab === tab.key
|
||||
? "border-light-1000 text-light-1000 dark:border-dark-1000 dark:text-dark-1000"
|
||||
: "border-transparent text-light-900 hover:border-light-950 hover:text-light-950 dark:text-dark-900 dark:hover:border-white/20 dark:hover:text-dark-950"
|
||||
}`}
|
||||
className={`mb-8 mt-2 whitespace-nowrap px-1 py-0 text-sm font-semibold transition-colors focus:outline-none ${
|
||||
activeTab === tab.key
|
||||
? "border-light-1000 text-light-1000 dark:border-dark-1000 dark:text-dark-1000"
|
||||
: "border-transparent text-light-900 hover:border-light-950 hover:text-light-950 dark:text-dark-900 dark:hover:border-white/20 dark:hover:text-dark-950"
|
||||
}`}
|
||||
>
|
||||
{tab.label}
|
||||
</button>
|
||||
|
||||
@@ -2,9 +2,10 @@ import { t } from "@lingui/core/macro";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { HiOutlineArrowUp } from "react-icons/hi2";
|
||||
|
||||
import Editor from "~/components/Editor";
|
||||
import type { WorkspaceMember } from "~/components/Editor";
|
||||
import Editor from "~/components/Editor";
|
||||
import LoadingSpinner from "~/components/LoadingSpinner";
|
||||
import { Tooltip } from "~/components/Tooltip";
|
||||
import { usePermissions } from "~/hooks/usePermissions";
|
||||
import { usePopup } from "~/providers/popup";
|
||||
import { api } from "~/utils/api";
|
||||
@@ -51,6 +52,21 @@ const NewCommentForm = ({
|
||||
});
|
||||
};
|
||||
|
||||
const isMac =
|
||||
typeof navigator !== "undefined" && navigator.userAgent.includes("Mac");
|
||||
|
||||
const submitTooltip = (
|
||||
<div className="flex flex-row items-center gap-2 text-[11px]">
|
||||
{t`Submit`}
|
||||
<span className="inline-flex items-center justify-center rounded border border-light-400 bg-light-200 px-1.5 py-0.5 font-mono text-[8px] font-semibold text-neutral-900 dark:border-dark-400 dark:bg-dark-200 dark:text-dark-950">
|
||||
{isMac ? "⌘" : "Ctrl"}
|
||||
</span>
|
||||
<span className="inline-flex items-center justify-center rounded border border-light-400 bg-light-200 px-1.5 py-0.5 font-mono text-[8px] font-semibold text-neutral-900 dark:border-dark-400 dark:bg-dark-200 dark:text-dark-950">
|
||||
Enter
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
|
||||
if (!canCreateComment) {
|
||||
return null;
|
||||
}
|
||||
@@ -63,23 +79,26 @@ const NewCommentForm = ({
|
||||
<Editor
|
||||
content={watch("comment")}
|
||||
onChange={(value) => setValue("comment", value)}
|
||||
onSubmit={handleSubmit(onSubmit)}
|
||||
workspaceMembers={workspaceMembers}
|
||||
enableYouTubeEmbed={false}
|
||||
placeholder={t`Add comment... (type '/' to open commands or '@' to mention)`}
|
||||
disableHeadings={true}
|
||||
/>
|
||||
<div className="flex justify-end">
|
||||
<button
|
||||
type="submit"
|
||||
disabled={addCommentMutation.isPending}
|
||||
className="flex h-8 w-8 items-center justify-center rounded-full border border-light-600 bg-light-300 hover:bg-light-400 disabled:opacity-50 dark:border-dark-400 dark:bg-dark-200 dark:hover:bg-dark-400"
|
||||
>
|
||||
{addCommentMutation.isPending ? (
|
||||
<LoadingSpinner size="sm" />
|
||||
) : (
|
||||
<HiOutlineArrowUp />
|
||||
)}
|
||||
</button>
|
||||
<Tooltip content={submitTooltip} placement="top">
|
||||
<button
|
||||
type="submit"
|
||||
disabled={addCommentMutation.isPending}
|
||||
className="flex h-8 w-8 items-center justify-center rounded-full border border-light-600 bg-light-300 hover:bg-light-400 disabled:opacity-50 dark:border-dark-400 dark:bg-dark-200 dark:hover:bg-dark-400"
|
||||
>
|
||||
{addCommentMutation.isPending ? (
|
||||
<LoadingSpinner size="sm" />
|
||||
) : (
|
||||
<HiOutlineArrowUp />
|
||||
)}
|
||||
</button>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
|
||||
@@ -48,7 +48,11 @@ export default function SelectPlanView() {
|
||||
(searchParams.get("billing") as Billing | null) ?? "annual",
|
||||
);
|
||||
const returnUrl = searchParams.get("returnUrl") ?? "/boards";
|
||||
const workspacePublicId = searchParams.get("workspacePublicId");
|
||||
const workspacePublicId =
|
||||
searchParams.get("workspacePublicId") ??
|
||||
(typeof window !== "undefined"
|
||||
? localStorage.getItem("workspacePublicId")
|
||||
: null);
|
||||
const { data: workspaces } = api.workspace.all.useQuery();
|
||||
const { data: session } = authClient.useSession();
|
||||
const { data: user } = api.user.getUser.useQuery(undefined, {
|
||||
|
||||
@@ -61,9 +61,9 @@ services:
|
||||
- SMTP_REJECT_UNAUTHORIZED=${SMTP_REJECT_UNAUTHORIZED}
|
||||
|
||||
# Notifications
|
||||
- NOVU_API_KEY=${NOVU_API_KEY}
|
||||
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
|
||||
- EMAIL_UNSUBSCRIBE_SECRET=${EMAIL_UNSUBSCRIBE_SECRET}
|
||||
- SUBSCRIBER_API_URL=${SUBSCRIBER_API_URL}
|
||||
- SUBSCRIBER_API_KEY=${SUBSCRIBER_API_KEY}
|
||||
- SUBSCRIBER_ENVIRONMENT_ID=${SUBSCRIBER_ENVIRONMENT_ID}
|
||||
|
||||
# S3 storage
|
||||
- S3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
import { describe, it, expect, vi, beforeEach } from "vitest";
|
||||
import { env } from "next-runtime-env";
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
|
||||
import * as memberRepo from "@kan/db/repository/member.repo";
|
||||
|
||||
import { createDatabaseHooks } from "./hooks";
|
||||
|
||||
vi.mock("next-runtime-env", () => ({
|
||||
env: vi.fn(),
|
||||
@@ -15,11 +20,11 @@ vi.mock("@kan/db/repository/user.repo", () => ({
|
||||
}));
|
||||
|
||||
vi.mock("@kan/email", () => ({
|
||||
notificationClient: null,
|
||||
createSubscriber: vi.fn(),
|
||||
triggerSubscriberWorkflow: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("@kan/shared", () => ({
|
||||
createEmailUnsubscribeLink: vi.fn(),
|
||||
createS3Client: vi.fn(),
|
||||
}));
|
||||
|
||||
@@ -27,17 +32,10 @@ vi.mock("@aws-sdk/client-s3", () => ({
|
||||
PutObjectCommand: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("@novu/api/models/components", () => ({
|
||||
ChatOrPushProviderEnum: { Discord: "discord" },
|
||||
}));
|
||||
|
||||
import { env } from "next-runtime-env";
|
||||
import * as memberRepo from "@kan/db/repository/member.repo";
|
||||
import { createDatabaseHooks } from "./hooks";
|
||||
|
||||
const mockEnv = env as ReturnType<typeof vi.fn>;
|
||||
const mockGetByEmailAndStatus =
|
||||
memberRepo.getByEmailAndStatus as ReturnType<typeof vi.fn>;
|
||||
const mockGetByEmailAndStatus = memberRepo.getByEmailAndStatus as ReturnType<
|
||||
typeof vi.fn
|
||||
>;
|
||||
|
||||
const db = {} as Parameters<typeof createDatabaseHooks>[0];
|
||||
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
||||
import { ChatOrPushProviderEnum } from "@novu/api/models/components";
|
||||
import { createAuthMiddleware } from "better-auth/api";
|
||||
import { env } from "next-runtime-env";
|
||||
|
||||
import type { dbClient } from "@kan/db/client";
|
||||
import * as memberRepo from "@kan/db/repository/member.repo";
|
||||
import * as userRepo from "@kan/db/repository/user.repo";
|
||||
import { notificationClient } from "@kan/email";
|
||||
import { createSubscriber, triggerSubscriberWorkflow } from "@kan/email";
|
||||
import { createLogger } from "@kan/logger";
|
||||
import { createEmailUnsubscribeLink, createS3Client } from "@kan/shared";
|
||||
|
||||
const log = createLogger("auth");
|
||||
import { createS3Client } from "@kan/shared";
|
||||
|
||||
import { downloadImage } from "./utils";
|
||||
|
||||
const log = createLogger("auth");
|
||||
|
||||
type BetterAuthUser = {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
@@ -94,53 +93,49 @@ export function createDatabaseHooks(db: dbClient) {
|
||||
}
|
||||
}
|
||||
|
||||
if (notificationClient) {
|
||||
try {
|
||||
const [firstName, ...rest] = (user.name || "")
|
||||
.split(" ")
|
||||
.filter(Boolean);
|
||||
const lastName = rest.length ? rest.join(" ") : undefined;
|
||||
const avatarUrl = avatarKey
|
||||
? `${env("NEXT_PUBLIC_STORAGE_URL")}/${env("NEXT_PUBLIC_AVATAR_BUCKET_NAME")}/${avatarKey}`
|
||||
: undefined;
|
||||
const [firstName, ...rest] = (user.name || "")
|
||||
.split(" ")
|
||||
.filter(Boolean);
|
||||
const lastName = rest.length ? rest.join(" ") : undefined;
|
||||
|
||||
const unsubscribeUrl = await createEmailUnsubscribeLink(user.id);
|
||||
try {
|
||||
const avatarUrl = avatarKey
|
||||
? `${env("NEXT_PUBLIC_STORAGE_URL")}/${env("NEXT_PUBLIC_AVATAR_BUCKET_NAME")}/${avatarKey}`
|
||||
: undefined;
|
||||
|
||||
log.info({ workflowId: "user-signup", userId: user.id, email: user.email }, "Triggering Novu workflow");
|
||||
await notificationClient.trigger({
|
||||
to: {
|
||||
subscriberId: user.id,
|
||||
firstName: firstName,
|
||||
lastName: lastName,
|
||||
email: user.email,
|
||||
avatar: avatarUrl,
|
||||
data: {
|
||||
emailVerified: user.emailVerified,
|
||||
stripeCustomerId: user.stripeCustomerId,
|
||||
createdAt: user.createdAt,
|
||||
updatedAt: user.updatedAt,
|
||||
},
|
||||
},
|
||||
payload: {
|
||||
emailUnsubscribeUrl: unsubscribeUrl,
|
||||
},
|
||||
workflowId: "user-signup",
|
||||
});
|
||||
log.info({ workflowId: "user-signup", userId: user.id }, "Novu workflow triggered");
|
||||
await createSubscriber({
|
||||
publicId: user.id,
|
||||
email: user.email,
|
||||
externalId: user.id,
|
||||
firstName,
|
||||
lastName,
|
||||
name: user.name,
|
||||
attributes: {
|
||||
avatarUrl,
|
||||
emailVerified: user.emailVerified,
|
||||
stripeCustomerId: user.stripeCustomerId,
|
||||
createdAt: user.createdAt,
|
||||
updatedAt: user.updatedAt,
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
log.error({ err: error }, "Error creating subscriber");
|
||||
}
|
||||
|
||||
await notificationClient.subscribers.credentials.update(
|
||||
{
|
||||
providerId: ChatOrPushProviderEnum.Discord,
|
||||
credentials: {
|
||||
webhookUrl: env("DISCORD_WEBHOOK_URL"),
|
||||
},
|
||||
integrationIdentifier: "discord",
|
||||
},
|
||||
user.id,
|
||||
);
|
||||
} catch (error) {
|
||||
log.error({ err: error }, "Error adding user to notification client");
|
||||
}
|
||||
try {
|
||||
log.info(
|
||||
{ workflowId: "user-signup", userId: user.id, email: user.email },
|
||||
"Triggering user-signup workflow",
|
||||
);
|
||||
await triggerSubscriberWorkflow("user-signup", {
|
||||
publicId: user.id,
|
||||
});
|
||||
log.info(
|
||||
{ workflowId: "user-signup", userId: user.id },
|
||||
"user-signup workflow triggered",
|
||||
);
|
||||
} catch (error) {
|
||||
log.error({ err: error }, "Error triggering user-signup workflow");
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
@@ -3,9 +3,8 @@ import type Stripe from "stripe";
|
||||
|
||||
import type { dbClient } from "@kan/db/client";
|
||||
import * as userRepo from "@kan/db/repository/user.repo";
|
||||
import { notificationClient } from "@kan/email";
|
||||
import { triggerSubscriberWorkflow } from "@kan/email";
|
||||
import { createLogger } from "@kan/logger";
|
||||
import { createEmailUnsubscribeLink } from "@kan/shared";
|
||||
|
||||
const log = createLogger("auth");
|
||||
|
||||
@@ -24,30 +23,22 @@ export async function triggerWorkflow(
|
||||
cancellationDetails?: Stripe.Subscription.CancellationDetails | null,
|
||||
) {
|
||||
try {
|
||||
if (!subscription.stripeCustomerId || !notificationClient) return;
|
||||
if (!subscription.stripeCustomerId) return;
|
||||
|
||||
const user = await userRepo.getByStripeCustomerId(
|
||||
db,
|
||||
subscription.stripeCustomerId,
|
||||
);
|
||||
|
||||
if (!user || !notificationClient) return;
|
||||
if (!user) return;
|
||||
|
||||
const unsubscribeUrl = await createEmailUnsubscribeLink(user.id);
|
||||
|
||||
log.info({ workflowId, userId: user.id }, "Triggering Novu workflow");
|
||||
await notificationClient.trigger({
|
||||
to: {
|
||||
subscriberId: user.id,
|
||||
},
|
||||
payload: {
|
||||
...subscription,
|
||||
cancellationDetails,
|
||||
emailUnsubscribeUrl: unsubscribeUrl,
|
||||
},
|
||||
log.info({ workflowId, userId: user.id }, "Triggering workflow");
|
||||
await triggerSubscriberWorkflow(
|
||||
workflowId,
|
||||
});
|
||||
log.info({ workflowId, userId: user.id }, "Novu workflow triggered");
|
||||
{ publicId: user.id },
|
||||
{ ...subscription, cancellationDetails },
|
||||
);
|
||||
log.info({ workflowId, userId: user.id }, "Workflow triggered");
|
||||
} catch (error) {
|
||||
log.error({ err: error, workflowId }, "Error triggering workflow");
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@kan/logger": "workspace:^",
|
||||
"@novu/api": "^3.11.0",
|
||||
"@react-email/components": "^1.0.1",
|
||||
"nodemailer": "^7.0.3",
|
||||
"react-email": "^5.0.6"
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
export const name = "email";
|
||||
|
||||
export { sendEmail } from "./sendEmail";
|
||||
export { notificationClient } from "./notificationClient";
|
||||
export {
|
||||
createSubscriber,
|
||||
updateSubscriberPreferences,
|
||||
triggerSubscriberWorkflow,
|
||||
} from "./subscriberClient";
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
import { Novu } from "@novu/api";
|
||||
|
||||
export const notificationClient =
|
||||
process.env.NEXT_PUBLIC_KAN_ENV === "cloud" && process.env.NOVU_API_KEY
|
||||
? new Novu({ secretKey: process.env.NOVU_API_KEY })
|
||||
: null;
|
||||
115
packages/email/src/subscriberClient.ts
Normal file
115
packages/email/src/subscriberClient.ts
Normal file
@@ -0,0 +1,115 @@
|
||||
import { createLogger } from "@kan/logger";
|
||||
|
||||
const log = createLogger("subscriberClient");
|
||||
|
||||
export const subscriberClient =
|
||||
process.env.NEXT_PUBLIC_KAN_ENV === "cloud" &&
|
||||
process.env.SUBSCRIBER_API_URL &&
|
||||
process.env.SUBSCRIBER_API_KEY &&
|
||||
process.env.SUBSCRIBER_ENVIRONMENT_ID
|
||||
? {
|
||||
apiUrl: process.env.SUBSCRIBER_API_URL,
|
||||
apiKey: process.env.SUBSCRIBER_API_KEY,
|
||||
environmentId: process.env.SUBSCRIBER_ENVIRONMENT_ID,
|
||||
}
|
||||
: null;
|
||||
|
||||
async function subscriberRequest(
|
||||
method: string,
|
||||
path: string,
|
||||
body: unknown,
|
||||
errorMessage: string,
|
||||
) {
|
||||
if (!subscriberClient) return;
|
||||
|
||||
const url = `${subscriberClient.apiUrl}${path}`;
|
||||
|
||||
log.debug({ method, url, body }, "subscriber.dev request");
|
||||
|
||||
try {
|
||||
const response = await fetch(url, {
|
||||
method,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-API-Key": subscriberClient.apiKey,
|
||||
},
|
||||
body: JSON.stringify(body),
|
||||
});
|
||||
|
||||
const responseBody = await response.text().catch(() => undefined);
|
||||
|
||||
log.debug(
|
||||
{ method, url, status: response.status, body: responseBody },
|
||||
"subscriber.dev response",
|
||||
);
|
||||
|
||||
if (!response.ok) {
|
||||
log.error(
|
||||
{ status: response.status, body: responseBody },
|
||||
errorMessage,
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
log.error({ err: error }, errorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
interface CreateSubscriberInput {
|
||||
publicId: string;
|
||||
email: string;
|
||||
externalId: string;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
name?: string;
|
||||
attributes?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export async function createSubscriber(input: CreateSubscriberInput) {
|
||||
if (!subscriberClient) return;
|
||||
|
||||
await subscriberRequest(
|
||||
"POST",
|
||||
`/environments/${subscriberClient.environmentId}/subscribers`,
|
||||
input,
|
||||
"Failed to create subscriber.dev subscriber",
|
||||
);
|
||||
}
|
||||
|
||||
interface UpdateSubscriberPreferencesInput {
|
||||
email: boolean;
|
||||
}
|
||||
|
||||
export async function updateSubscriberPreferences(
|
||||
subscriberId: string,
|
||||
input: UpdateSubscriberPreferencesInput,
|
||||
) {
|
||||
if (!subscriberClient) return;
|
||||
|
||||
await subscriberRequest(
|
||||
"PATCH",
|
||||
`/environments/${subscriberClient.environmentId}/subscribers/${subscriberId}/preferences`,
|
||||
input,
|
||||
"Failed to update subscriber preferences",
|
||||
);
|
||||
}
|
||||
|
||||
interface TriggerWorkflowSubscriberInput {
|
||||
publicId?: string;
|
||||
externalId?: string;
|
||||
email?: string;
|
||||
}
|
||||
|
||||
export async function triggerSubscriberWorkflow(
|
||||
key: string,
|
||||
subscriber: TriggerWorkflowSubscriberInput,
|
||||
payload?: Record<string, unknown>,
|
||||
) {
|
||||
if (!subscriberClient) return;
|
||||
|
||||
await subscriberRequest(
|
||||
"POST",
|
||||
`/environments/${subscriberClient.environmentId}/workflows/trigger`,
|
||||
{ key, subscriber, payload },
|
||||
"Failed to trigger subscriber.dev workflow",
|
||||
);
|
||||
}
|
||||
@@ -119,7 +119,7 @@ export function registerCardTools(server: McpServer): void {
|
||||
content: z.string().describe("Comment text"),
|
||||
},
|
||||
async ({ cardPublicId, content }) => {
|
||||
const data = await kanRequest("POST", `/cards/${cardPublicId}/comments`, { content });
|
||||
const data = await kanRequest("POST", `/cards/${cardPublicId}/comments`, { comment: content });
|
||||
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
||||
},
|
||||
);
|
||||
@@ -136,7 +136,7 @@ export function registerCardTools(server: McpServer): void {
|
||||
const data = await kanRequest(
|
||||
"PUT",
|
||||
`/cards/${cardPublicId}/comments/${commentPublicId}`,
|
||||
{ content },
|
||||
{ comment: content },
|
||||
);
|
||||
return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
|
||||
},
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
import { SignJWT } from "jose";
|
||||
import { env } from "next-runtime-env";
|
||||
|
||||
const encoder = new TextEncoder();
|
||||
|
||||
/**
|
||||
* Creates a long‑lived unsubscribe link for a given user/subscriber.
|
||||
*
|
||||
* `${NEXT_PUBLIC_BASE_URL}/unsubscribe?token=<jwt>`
|
||||
*
|
||||
* The JWT payload only contains the subscriberId. There is no expiry
|
||||
* on purpose – unsubscribe links should remain valid indefinitely.
|
||||
*
|
||||
*/
|
||||
export async function createEmailUnsubscribeLink(
|
||||
userId: string,
|
||||
): Promise<string | null> {
|
||||
const baseUrl = env("NEXT_PUBLIC_BASE_URL");
|
||||
const secret = process.env.EMAIL_UNSUBSCRIBE_SECRET;
|
||||
|
||||
if (!baseUrl || !secret) {
|
||||
// Environment not configured for unsubscribe links.
|
||||
return null;
|
||||
}
|
||||
|
||||
const token = await new SignJWT({ subscriberId: userId })
|
||||
.setProtectedHeader({ alg: "HS256" })
|
||||
// No expiration on purpose; unsubscribe links are long‑lived.
|
||||
.sign(encoder.encode(secret));
|
||||
|
||||
return `${baseUrl}/unsubscribe?token=${encodeURIComponent(token)}`;
|
||||
}
|
||||
@@ -2,7 +2,6 @@ export * from "./generateUID";
|
||||
export * from "./generateSlug";
|
||||
export * from "./generateWorkspacePrefix";
|
||||
export * from "./subscriptions";
|
||||
export * from "./email";
|
||||
export * from "./dueDateFilters";
|
||||
export * from "./s3";
|
||||
export * from "./mentions";
|
||||
|
||||
43
pnpm-lock.yaml
generated
43
pnpm-lock.yaml
generated
@@ -103,6 +103,9 @@ importers:
|
||||
'@kan/db':
|
||||
specifier: workspace:^
|
||||
version: link:../../packages/db
|
||||
'@kan/email':
|
||||
specifier: workspace:^
|
||||
version: link:../../packages/email
|
||||
'@kan/logger':
|
||||
specifier: workspace:^
|
||||
version: link:../../packages/logger
|
||||
@@ -121,9 +124,6 @@ importers:
|
||||
'@lingui/react':
|
||||
specifier: ^5.3.2
|
||||
version: 5.4.1(@lingui/babel-plugin-lingui-macro@5.4.1(typescript@5.9.2))(react@18.3.1)
|
||||
'@novu/api':
|
||||
specifier: ^3.11.0
|
||||
version: 3.11.0
|
||||
'@t3-oss/env-nextjs':
|
||||
specifier: ^0.11.1
|
||||
version: 0.11.1(typescript@5.9.2)(zod@3.25.76)
|
||||
@@ -467,9 +467,6 @@ importers:
|
||||
'@kan/logger':
|
||||
specifier: workspace:^
|
||||
version: link:../logger
|
||||
'@novu/api':
|
||||
specifier: ^3.11.0
|
||||
version: 3.11.0
|
||||
'@react-email/components':
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
@@ -1541,11 +1538,11 @@ packages:
|
||||
|
||||
'@esbuild-kit/core-utils@3.3.2':
|
||||
resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}
|
||||
deprecated: 'Merged into tsx: https://tsx.is'
|
||||
deprecated: 'Merged into tsx: https://tsx.hirok.io'
|
||||
|
||||
'@esbuild-kit/esm-loader@2.6.5':
|
||||
resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==}
|
||||
deprecated: 'Merged into tsx: https://tsx.is'
|
||||
deprecated: 'Merged into tsx: https://tsx.hirok.io'
|
||||
|
||||
'@esbuild/aix-ppc64@0.19.12':
|
||||
resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==}
|
||||
@@ -2998,9 +2995,6 @@ packages:
|
||||
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
|
||||
engines: {node: '>= 8'}
|
||||
|
||||
'@novu/api@3.11.0':
|
||||
resolution: {integrity: sha512-8u0mB5VThL7MhdxoN0UoA4CS9eu2k3Xa6iulauMhCHENuJNxUNuirJWq5t8jDoH4bFTQTfMN0VRkC0qodKR2qA==}
|
||||
|
||||
'@octokit/auth-token@3.0.4':
|
||||
resolution: {integrity: sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==}
|
||||
engines: {node: '>= 14'}
|
||||
@@ -3097,95 +3091,111 @@ packages:
|
||||
|
||||
'@react-email/body@0.2.0':
|
||||
resolution: {integrity: sha512-9GCWmVmKUAoRfloboCd+RKm6X17xn7eGL7HnpAZUnjBXBilWCxsKnLMTC/ixSHDKS/A/057M1Tx6ZUXd89sVBw==}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/button@0.2.0':
|
||||
resolution: {integrity: sha512-8i+v6cMxr2emz4ihCrRiYJPp2/sdYsNNsBzXStlcA+/B9Umpm5Jj3WJKYpgTPM+aeyiqlG/MMI1AucnBm4f1oQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/code-block@0.2.0':
|
||||
resolution: {integrity: sha512-eIrPW9PIFgDopQU0e/OPpwCW2QWQDtNZDSsiN4sJO8KdMnWWnXJicnRfzrit5rHwFo+Y98i+w/Y5ScnBAFr1dQ==}
|
||||
engines: {node: '>=22.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/code-inline@0.0.5':
|
||||
resolution: {integrity: sha512-MmAsOzdJpzsnY2cZoPHFPk6uDO/Ncpb4Kh1hAt9UZc1xOW3fIzpe1Pi9y9p6wwUmpaeeDalJxAxH6/fnTquinA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/column@0.0.13':
|
||||
resolution: {integrity: sha512-Lqq17l7ShzJG/d3b1w/+lVO+gp2FM05ZUo/nW0rjxB8xBICXOVv6PqjDnn3FXKssvhO5qAV20lHM6S+spRhEwQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/components@1.0.1':
|
||||
resolution: {integrity: sha512-HnL0Y/up61sOBQT2cQg9N/kCoW0bP727gDs2MkFWQYELg6+iIHidMDvENXFC0f1ZE6hTB+4t7sszptvTcJWsDA==}
|
||||
engines: {node: '>=22.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/container@0.0.15':
|
||||
resolution: {integrity: sha512-Qo2IQo0ru2kZq47REmHW3iXjAQaKu4tpeq/M8m1zHIVwKduL2vYOBQWbC2oDnMtWPmkBjej6XxgtZByxM6cCFg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/font@0.0.9':
|
||||
resolution: {integrity: sha512-4zjq23oT9APXkerqeslPH3OZWuh5X4crHK6nx82mVHV2SrLba8+8dPEnWbaACWTNjOCbcLIzaC9unk7Wq2MIXw==}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/head@0.0.12':
|
||||
resolution: {integrity: sha512-X2Ii6dDFMF+D4niNwMAHbTkeCjlYYnMsd7edXOsi0JByxt9wNyZ9EnhFiBoQdqkE+SMDcu8TlNNttMrf5sJeMA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/heading@0.0.15':
|
||||
resolution: {integrity: sha512-xF2GqsvBrp/HbRHWEfOgSfRFX+Q8I5KBEIG5+Lv3Vb2R/NYr0s8A5JhHHGf2pWBMJdbP4B2WHgj/VUrhy8dkIg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/hr@0.0.11':
|
||||
resolution: {integrity: sha512-S1gZHVhwOsd1Iad5IFhpfICwNPMGPJidG/Uysy1AwmspyoAP5a4Iw3OWEpINFdgh9MHladbxcLKO2AJO+cA9Lw==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/html@0.0.11':
|
||||
resolution: {integrity: sha512-qJhbOQy5VW5qzU74AimjAR9FRFQfrMa7dn4gkEXKMB/S9xZN8e1yC1uA9C15jkXI/PzmJ0muDIWmFwatm5/+VA==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/img@0.0.11':
|
||||
resolution: {integrity: sha512-aGc8Y6U5C3igoMaqAJKsCpkbm1XjguQ09Acd+YcTKwjnC2+0w3yGUJkjWB2vTx4tN8dCqQCXO8FmdJpMfOA9EQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/link@0.0.12':
|
||||
resolution: {integrity: sha512-vF+xxQk2fGS1CN7UPQDbzvcBGfffr+GjTPNiWM38fhBfsLv6A/YUfaqxWlmL7zLzVmo0K2cvvV9wxlSyNba1aQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/markdown@0.0.17':
|
||||
resolution: {integrity: sha512-6op3AfsBC9BJKkhG+eoMFRFWlr0/f3FYbtQrK+VhGzJocEAY0WINIFN+W8xzXr//3IL0K/aKtnH3FtpIuescQQ==}
|
||||
engines: {node: '>=22.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/preview@0.0.13':
|
||||
resolution: {integrity: sha512-F7j9FJ0JN/A4d7yr+aw28p4uX7VLWs7hTHtLo7WRyw4G+Lit6Zucq4UWKRxJC8lpsUdzVmG7aBJnKOT+urqs/w==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
@@ -3199,18 +3209,21 @@ packages:
|
||||
'@react-email/row@0.0.12':
|
||||
resolution: {integrity: sha512-HkCdnEjvK3o+n0y0tZKXYhIXUNPDx+2vq1dJTmqappVHXS5tXS6W5JOPZr5j+eoZ8gY3PShI2LWj5rWF7ZEtIQ==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/section@0.0.16':
|
||||
resolution: {integrity: sha512-FjqF9xQ8FoeUZYKSdt8sMIKvoT9XF8BrzhT3xiFKdEMwYNbsDflcjfErJe3jb7Wj/es/lKTbV5QR1dnLzGpL3w==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
'@react-email/tailwind@2.0.1':
|
||||
resolution: {integrity: sha512-/xq0IDYVY7863xPY7cdI45Xoz7M6CnIQBJcQvbqN7MNVpopfH9f+mhjayV1JGfKaxlGWuxfLKhgi9T2shsnEFg==}
|
||||
engines: {node: '>=22.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
'@react-email/body': 0.2.0
|
||||
'@react-email/button': 0.2.0
|
||||
@@ -3249,6 +3262,7 @@ packages:
|
||||
'@react-email/text@0.1.5':
|
||||
resolution: {integrity: sha512-o5PNHFSE085VMXayxH+SJ1LSOtGsTv+RpNKnTiJDrJUwoBu77G3PlKOsZZQHCNyD28WsQpl9v2WcJLbQudqwPg==}
|
||||
engines: {node: '>=18.0.0'}
|
||||
deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
|
||||
peerDependencies:
|
||||
react: ^18.0 || ^19.0 || ^19.0.0-rc
|
||||
|
||||
@@ -4296,6 +4310,7 @@ packages:
|
||||
|
||||
'@ungap/structured-clone@1.3.0':
|
||||
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
|
||||
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
|
||||
|
||||
'@vitest/expect@3.2.4':
|
||||
resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==}
|
||||
@@ -4618,6 +4633,7 @@ packages:
|
||||
basic-ftp@5.0.5:
|
||||
resolution: {integrity: sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
deprecated: Security vulnerability fixed in 5.2.1, please upgrade
|
||||
|
||||
before-after-hook@2.2.3:
|
||||
resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==}
|
||||
@@ -8734,6 +8750,7 @@ packages:
|
||||
|
||||
uuid@9.0.1:
|
||||
resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
|
||||
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
|
||||
hasBin: true
|
||||
|
||||
uvu@0.5.6:
|
||||
@@ -11479,10 +11496,6 @@ snapshots:
|
||||
'@nodelib/fs.scandir': 2.1.5
|
||||
fastq: 1.19.1
|
||||
|
||||
'@novu/api@3.11.0':
|
||||
dependencies:
|
||||
zod: 3.25.76
|
||||
|
||||
'@octokit/auth-token@3.0.4': {}
|
||||
|
||||
'@octokit/core@4.2.4':
|
||||
|
||||
@@ -123,7 +123,6 @@
|
||||
"NEXT_PUBLIC_KAN_ENV",
|
||||
"NEXT_PUBLIC_WHITE_LABEL_HIDE_POWERED_BY",
|
||||
"STRIPE_SECRET_KEY",
|
||||
"DISCORD_WEBHOOK_URL",
|
||||
"STRIPE_WEBHOOK_SECRET",
|
||||
"STRIPE_WEBHOOK_SECRET_LEGACY",
|
||||
"STRIPE_PRO_PLAN_MONTHLY_PRICE_ID",
|
||||
@@ -148,8 +147,6 @@
|
||||
"PORT",
|
||||
"BETTER_AUTH_SECRET",
|
||||
"BETTER_AUTH_TRUSTED_ORIGINS",
|
||||
"NOVU_API_KEY",
|
||||
"EMAIL_UNSUBSCRIBE_SECRET",
|
||||
"REDIS_URL",
|
||||
"LOG_LEVEL",
|
||||
"AXIOM_TOKEN",
|
||||
|
||||
Reference in New Issue
Block a user