Skip to content

armgit / kaneo

Public Imported from GitHub
0

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

feat(mobile): edit task descriptions inline with autosave

Andrej9030b0e8cadd
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 686529bea..4e7ec8ff3 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -14,8 +14,13 @@
"dependencies": {
"@expo-google-fonts/geist": "^0.4.2",
"@expo-google-fonts/geist-mono": "^0.4.3",
+ "@expo/metro-runtime": "~58.0.16",
+ "@kaneo/editor": "workspace:*",
"@react-native-async-storage/async-storage": "2.2.0",
"@tanstack/react-query": "^5.105.0",
+ "@tiptap/core": "^3.32.0",
+ "@tiptap/pm": "^3.32.0",
+ "@tiptap/react": "^3.32.0",
"expo": "~58.0.19",
"expo-background-task": "~58.0.11",
"expo-build-properties": "~58.0.11",
@@ -40,6 +45,7 @@
"intl-pluralrules": "^2.0.1",
"lucide-react-native": "^1.62.0",
"react": "19.3.0",
+ "react-dom": "19.3.0",
"react-i18next": "^17.1.9",
"react-native": "0.88.0",
"react-native-gesture-handler": "~3.3.0",
@@ -49,6 +55,7 @@
"react-native-safe-area-context": "~5.10.1",
"react-native-screens": "~4.30.0",
"react-native-svg": "15.16.0",
+ "react-native-web": "^0.21.4",
"react-native-worklets": "0.13.0"
},
"devDependencies": {
diff --git a/apps/mobile/src/app/(app)/account.tsx b/apps/mobile/src/app/(app)/account.tsx
index 46103ecac..4936dbc55 100644
--- a/apps/mobile/src/app/(app)/account.tsx
+++ b/apps/mobile/src/app/(app)/account.tsx
@@ -20,6 +20,7 @@ import {
Switch,
TextField,
} from "@/components/ui";
+import { DeleteAccountSheet } from "@/features/account/delete-account-sheet";
import { api } from "@/lib/api/endpoints";
import { signOut } from "@/lib/auth";
import {
@@ -44,6 +45,7 @@ export default function AccountScreen() {
const [photoMenu, setPhotoMenu] = useState(false);
const [changingPassword, setChangingPassword] = useState(false);
const [confirmSignOut, setConfirmSignOut] = useState(false);
+ const [deletingAccount, setDeletingAccount] = useState(false);
// Keep the cached name and email (shown offline and in mentions) in step with the server.
useEffect(() => {
@@ -233,6 +235,25 @@ export default function AccountScreen() {
</Group>
</Section>
+ <Section
+ title={t("mobile:account.deleteAccount.sectionTitle")}
+ style={{ paddingBottom: 24 }}
+ >
+ <Group>
+ <GroupRow last onPress={() => setDeletingAccount(true)}>
+ <View style={{ flex: 1, gap: 2 }}>
+ <Txt variant="body" tone="danger">
+ {t("mobile:account.deleteAccount.title")}
+ </Txt>
+ <Txt variant="caption" tone="faint">
+ {t("mobile:account.deleteAccount.description")}
+ </Txt>
+ </View>
+ <ChevronRight size={16} color={c.placeholder} />
+ </GroupRow>
+ </Group>
+ </Section>
+
<View style={{ paddingHorizontal: 16 }}>
<Button
label={t("mobile:account.signOut.button")}
@@ -270,6 +291,11 @@ export default function AccountScreen() {
visible={changingPassword}
onClose={() => setChangingPassword(false)}
/>
+ <DeleteAccountSheet
+ visible={deletingAccount}
+ email={me.data?.email ?? session.userEmail}
+ onClose={() => setDeletingAccount(false)}
+ />
<ConfirmDialog
visible={confirmSignOut}
title={t("mobile:account.signOut.title")}
diff --git a/apps/mobile/src/app/(app)/task/[taskId].tsx b/apps/mobile/src/app/(app)/task/[taskId].tsx
index 5e89417c8..91c885f76 100644
--- a/apps/mobile/src/app/(app)/task/[taskId].tsx
+++ b/apps/mobile/src/app/(app)/task/[taskId].tsx
@@ -6,7 +6,6 @@ import { useState } from "react";
import { useTranslation } from "react-i18next";
import { KeyboardAvoidingView, Share, TextInput, View } from "react-native";
-import { MarkdownText } from "@/components/markdown";
import {
ErrorState,
Loading,
@@ -20,8 +19,11 @@ import { Txt } from "@/components/text";
import { useToast } from "@/components/toast";
import { IconButton, Touch } from "@/components/ui";
import { Composer } from "@/features/task/composer";
-import { DescriptionEditor } from "@/features/task/description-editor";
import { Properties } from "@/features/task/properties";
+import { DescriptionToolbar } from "@/features/task/rich-editor/description-toolbar";
+import { InlineDescription } from "@/features/task/rich-editor/inline-description";
+import { useCaretFollow } from "@/features/task/rich-editor/use-caret-follow";
+import { useRichDescription } from "@/features/task/rich-editor/use-rich-description";
import {
ActivityFeed,
CustomFields,
@@ -57,8 +59,12 @@ export default function TaskScreen() {
const [menu, setMenu] = useState(false);
const [confirmDelete, setConfirmDelete] = useState(false);
const [movePicker, setMovePicker] = useState(false);
- const [editingDescription, setEditingDescription] = useState(false);
const [titleDraft, setTitleDraft] = useState<string | null>(null);
+ const description = useRichDescription(
+ taskId,
+ detail.data?.description ?? "",
+ );
+ const caret = useCaretFollow(description.focused, description.formats);
const [projects, setProjects] = useState<
{ id: string; name: string; slug: string }[]
>([]);
@@ -191,6 +197,7 @@ export default function TaskScreen() {
void Promise.all([detail.refetch(), extras.refetch()])
}
bottomPadding={24}
+ {...caret.scrollProps}
>
<View style={{ paddingHorizontal: 20, paddingTop: 20, gap: 22 }}>
{titleDraft !== null ? (
@@ -229,18 +236,11 @@ export default function TaskScreen() {
workspaceId={workspaceId}
/>
- <Touch
- onPress={() => setEditingDescription(true)}
- accessibilityHint={t("mobile:taskDetail.screen.editDescription")}
- >
- {d.description.trim() ? (
- <MarkdownText>{d.description}</MarkdownText>
- ) : (
- <Txt variant="body" tone="placeholder">
- {t("mobile:taskDetail.screen.addDescription")}
- </Txt>
- )}
- </Touch>
+ <InlineDescription
+ description={d.description}
+ editor={description}
+ onLayout={caret.onEditorLayout}
+ />
{ex ? (
<>
@@ -299,25 +299,16 @@ export default function TaskScreen() {
)}
</View>
</Scroll>
- <Composer
- taskId={task.id}
- members={members.data ?? []}
- replyTo={replyTo}
- />
+ {description.focused ? (
+ <DescriptionToolbar taskId={task.id} editor={description} />
+ ) : (
+ <Composer
+ taskId={task.id}
+ members={members.data ?? []}
+ replyTo={replyTo}
+ />
+ )}
</KeyboardAvoidingView>
-
- <DescriptionEditor
- visible={editingDescription}
- onClose={() => setEditingDescription(false)}
- taskId={task.id}
- initial={d.description}
- onSave={async (text) =>
- !!(await run(async () => {
- await api.updateDescription(task.id, text);
- return true;
- }))
- }
- />
<OptionSheet
visible={menu}
onClose={() => setMenu(false)}
diff --git a/apps/mobile/src/components/markdown-task-item.tsx b/apps/mobile/src/components/markdown-task-item.tsx
new file mode 100644
index 000000000..ef6ba5d44
--- /dev/null
+++ b/apps/mobile/src/components/markdown-task-item.tsx
@@ -0,0 +1,34 @@
+import { createContext, type ReactNode } from "react";
+import { View } from "react-native";
+
+import { Checkbox } from "@/components/ui";
+
+export const TaskItemCheckedContext = createContext(false);
+
+export function MarkdownTaskItem({
+ checked,
+ children,
+}: {
+ checked: boolean;
+ children: ReactNode;
+}) {
+ return (
+ <View
+ style={{
+ flexDirection: "row",
+ alignItems: "flex-start",
+ gap: 8,
+ marginVertical: 3,
+ }}
+ >
+ <View style={{ paddingTop: 2 }} pointerEvents="none">
+ <Checkbox checked={checked} />
+ </View>
+ <View style={{ flex: 1, minWidth: 0 }}>
+ <TaskItemCheckedContext.Provider value={checked}>
+ {children}
+ </TaskItemCheckedContext.Provider>
+ </View>
+ </View>
+ );
+}
diff --git a/apps/mobile/src/components/markdown-text-run.tsx b/apps/mobile/src/components/markdown-text-run.tsx
new file mode 100644
index 000000000..266f69afc
--- /dev/null
+++ b/apps/mobile/src/components/markdown-text-run.tsx
@@ -0,0 +1,27 @@
+import { useContext } from "react";
+import { Text, type StyleProp, type TextStyle } from "react-native";
+
+import { useColors } from "@/theme";
+
+import { TaskItemCheckedContext } from "./markdown-task-item";
+
+export function MarkdownTextRun({
+ content,
+ style,
+}: {
+ content: string;
+ style: StyleProp<TextStyle>;
+}) {
+ const c = useColors();
+ const checked = useContext(TaskItemCheckedContext);
+ return (
+ <Text
+ style={[
+ style,
+ checked && { color: c.faint, textDecorationLine: "line-through" },
+ ]}
+ >
+ {content}
+ </Text>
+ );
+}
diff --git a/apps/mobile/src/components/markdown.tsx b/apps/mobile/src/components/markdown.tsx
index 0ec5f8a7b..3048be33a 100644
--- a/apps/mobile/src/components/markdown.tsx
+++ b/apps/mobile/src/components/markdown.tsx
@@ -1,10 +1,18 @@
import * as WebBrowser from "expo-web-browser";
import { Image } from "expo-image";
-import Markdown from "react-native-markdown-display";
+import { Text, View } from "react-native";
+import Markdown, {
+ hasParents,
+ renderRules,
+} from "react-native-markdown-display";
import { toDisplayMarkdown } from "@/lib/markdown";
import { useSession } from "@/lib/session";
-import { font, useColors } from "@/theme";
+import { stripTaskMarker, taskItemState } from "@/lib/task-item";
+import { font, radius, useColors } from "@/theme";
+
+import { MarkdownTaskItem } from "./markdown-task-item";
+import { MarkdownTextRun } from "./markdown-text-run";
/** Renders Kaneo Markdown (with its custom tags rewritten) in the app's type styles. */
export function MarkdownText({
@@ -19,8 +27,30 @@ export function MarkdownText({
const c = useColors();
const session = useSession();
const text = toDisplayMarkdown(children, session?.serverUrl ?? "");
- const lineHeight = Math.round(size * 1.5);
+ const lineHeight = Math.round(size * 1.6);
const ink = color ?? c.body;
+ const heading = (scale: number) => ({
+ fontFamily: font.semibold,
+ fontSize: Math.round(size * scale),
+ lineHeight: Math.round(size * scale * 1.26),
+ letterSpacing: -0.02 * size * scale,
+ color: c.ink,
+ marginTop: 12,
+ marginBottom: 6,
+ });
+ const codeBox = {
+ fontFamily: font.mono,
+ fontSize: size - 2,
+ lineHeight: Math.round((size - 2) * 1.5),
+ backgroundColor: c.fill,
+ color: c.ink,
+ borderWidth: 1,
+ borderColor: c.hairline,
+ borderRadius: radius.md,
+ paddingVertical: 10,
+ paddingHorizontal: 12,
+ marginVertical: 6,
+ };
return (
<Markdown
onLinkPress={(url) => {
@@ -35,7 +65,7 @@ export function MarkdownText({
style={{
width: "100%",
aspectRatio: 16 / 10,
- borderRadius: 8,
+ borderRadius: radius.md,
marginVertical: 6,
backgroundColor: c.fill,
}}
@@ -43,6 +73,50 @@ export function MarkdownText({
accessibilityLabel={String(node.attributes.alt ?? "")}
/>
),
+ list_item: (node, children, parent, styles, inheritedStyles) => {
+ const state = taskItemState(node);
+ if (!state && hasParents(parent, "bullet_list"))
+ return (
+ <View key={node.key} style={{ flexDirection: "row" }}>
+ <Text
+ style={{
+ width: 18,
+ color: c.muted,
+ fontSize: size,
+ lineHeight,
+ }}
+ accessible={false}
+ >
+ •
+ </Text>
+ <View style={{ flex: 1, minWidth: 0 }}>{children}</View>
+ </View>
+ );
+ if (!state)
+ return renderRules.list_item?.(
+ node,
+ children,
+ parent,
+ styles,
+ inheritedStyles,
+ );
+ return (
+ <MarkdownTaskItem key={node.key} checked={state === "checked"}>
+ {children}
+ </MarkdownTaskItem>
+ );
+ },
+ text: (node, _children, parent, styles, inheritedStyles = {}) => (
+ <MarkdownTextRun
+ key={node.key}
+ content={
+ parent.some((p) => p.type === "list_item")
+ ? stripTaskMarker(node.content)
+ : node.content
+ }
+ style={[inheritedStyles, styles.text]}
+ />
+ ),
}}
style={{
body: {
@@ -51,77 +125,60 @@ export function MarkdownText({
fontSize: size,
lineHeight,
},
- paragraph: { marginTop: 0, marginBottom: 8 },
+ paragraph: { marginTop: 0, marginBottom: 6 },
strong: {
fontFamily: font.semibold,
fontWeight: "normal",
color: c.ink,
},
em: { fontStyle: "italic" },
- heading1: {
- fontFamily: font.semibold,
- fontSize: size + 5,
- lineHeight: lineHeight + 6,
- color: c.ink,
- marginTop: 6,
- marginBottom: 6,
- },
- heading2: {
- fontFamily: font.semibold,
- fontSize: size + 3,
- lineHeight: lineHeight + 4,
- color: c.ink,
- marginTop: 6,
- marginBottom: 6,
- },
- heading3: {
- fontFamily: font.semibold,
- fontSize: size + 1,
- lineHeight: lineHeight + 2,
- color: c.ink,
- marginTop: 4,
- marginBottom: 4,
+ s: { textDecorationLine: "line-through", color: c.muted },
+ heading1: heading(1.29),
+ heading2: heading(1.16),
+ heading3: heading(1.06),
+ link: {
+ color: c.link,
+ textDecorationLine: "underline",
+ textDecorationColor: `${c.link}73`,
},
- link: { color: c.link, textDecorationLine: "none" },
code_inline: {
fontFamily: font.mono,
fontSize: size - 2,
backgroundColor: c.fill,
color: c.ink,
- borderRadius: 4,
+ borderWidth: 1,
+ borderColor: c.hairline,
+ borderRadius: radius.sm,
paddingHorizontal: 4,
},
- code_block: {
- fontFamily: font.mono,
- fontSize: size - 2,
- backgroundColor: c.fill,
- color: c.ink,
- borderRadius: 8,
- padding: 12,
- borderWidth: 0,
- },
- fence: {
- fontFamily: font.mono,
- fontSize: size - 2,
- backgroundColor: c.fill,
- color: c.ink,
- borderRadius: 8,
- padding: 12,
- borderWidth: 0,
- },
+ code_block: codeBox,
+ fence: codeBox,
blockquote: {
backgroundColor: "transparent",
- borderLeftWidth: 3,
+ borderLeftWidth: 2,
borderLeftColor: c.fillStrong,
paddingLeft: 12,
marginLeft: 0,
+ marginVertical: 6,
+ color: c.ink2,
},
- bullet_list: { marginBottom: 8 },
- ordered_list: { marginBottom: 8 },
- list_item: { marginBottom: 2 },
+ bullet_list: { marginVertical: 4 },
+ ordered_list: { marginVertical: 4 },
+ list_item: { marginVertical: 2 },
+ bullet_list_icon: { color: c.muted, marginLeft: 4, marginRight: 8 },
+ ordered_list_icon: { color: c.muted, marginLeft: 2, marginRight: 8 },
hr: { backgroundColor: c.divider, height: 1, marginVertical: 12 },
- table: { borderColor: c.hairline },
- tr: { borderColor: c.hairline },
+ table: {
+ borderWidth: 1,
+ borderColor: c.hairline,
+ borderRadius: radius.md,
+ marginVertical: 8,
+ overflow: "hidden",
+ },
+ thead: { backgroundColor: c.fill },
+ th: { padding: 8, fontFamily: font.semibold, color: c.ink },
+ tr: { borderBottomWidth: 1, borderColor: c.hairline },
+ td: { padding: 8 },
}}
>
{text}
diff --git a/apps/mobile/src/features/account/delete-account-sheet.tsx b/apps/mobile/src/features/account/delete-account-sheet.tsx
new file mode 100644
index 000000000..7db2cbd07
--- /dev/null
+++ b/apps/mobile/src/features/account/delete-account-sheet.tsx
@@ -0,0 +1,109 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { View } from "react-native";
+
+import { Sheet } from "@/components/sheet";
+import { Txt } from "@/components/text";
+import { useToast } from "@/components/toast";
+import { Button, TextField } from "@/components/ui";
+import { ApiError, userMessage } from "@/lib/api/client";
+import { api } from "@/lib/api/endpoints";
+import { sessionStore } from "@/lib/session";
+
+import { isDeleteConfirmationValid } from "./is-delete-confirmation-valid";
+
+function errorCode(error: unknown): string | undefined {
+ if (!(error instanceof ApiError)) return undefined;
+ const body = error.body as { code?: unknown } | null | undefined;
+ return typeof body?.code === "string" ? body.code : undefined;
+}
+
+export function DeleteAccountSheet({
+ visible,
+ email,
+ onClose,
+}: {
+ visible: boolean;
+ email: string;
+ onClose: () => void;
+}) {
+ const { t } = useTranslation(["mobile"]);
+ const client = useQueryClient();
+ const toast = useToast();
+ const [confirmation, setConfirmation] = useState("");
+ const [password, setPassword] = useState("");
+ const [error, setError] = useState<string | null>(null);
+ const [busy, setBusy] = useState(false);
+
+ const close = () => {
+ if (busy) return;
+ setConfirmation("");
+ setPassword("");
+ setError(null);
+ onClose();
+ };
+
+ const remove = async () => {
+ setBusy(true);
+ setError(null);
+ try {
+ await api.deleteUser(password ? { password } : {});
+ toast.show(t("mobile:account.deleteAccount.success"), "success");
+ await sessionStore.clear();
+ client.clear();
+ } catch (e) {
+ const code = errorCode(e);
+ setError(
+ code === "SESSION_EXPIRED"
+ ? t("mobile:account.deleteAccount.sessionTooOld")
+ : code === "INVALID_PASSWORD"
+ ? t("mobile:account.deleteAccount.wrongPassword")
+ : code === "CREDENTIAL_ACCOUNT_NOT_FOUND"
+ ? t("mobile:account.deleteAccount.noPassword")
+ : userMessage(e),
+ );
+ setBusy(false);
+ }
+ };
+
+ return (
+ <Sheet
+ visible={visible}
+ onClose={close}
+ title={t("mobile:account.deleteAccount.modalTitle")}
+ >
+ <View style={{ paddingHorizontal: 20, paddingBottom: 12, gap: 14 }}>
+ <Txt variant="bodySm" tone="muted">
+ {t("mobile:account.deleteAccount.modalDescription")}
+ </Txt>
+ <TextField
+ label={t("mobile:account.deleteAccount.confirmLabel", { email })}
+ value={confirmation}
+ onChangeText={setConfirmation}
+ placeholder={email}
+ autoCapitalize="none"
+ autoCorrect={false}
+ keyboardType="email-address"
+ editable={!busy}
+ />
+ <TextField
+ label={t("mobile:account.deleteAccount.password")}
+ hint={t("mobile:account.deleteAccount.passwordHint")}
+ value={password}
+ onChangeText={setPassword}
+ secureTextEntry
+ editable={!busy}
+ error={error}
+ />
+ <Button
+ label={t("mobile:account.deleteAccount.confirm")}
+ kind="danger"
+ loading={busy}
+ disabled={!isDeleteConfirmationValid(confirmation, email)}
+ onPress={remove}
+ />
+ </View>
+ </Sheet>
+ );
+}
diff --git a/apps/mobile/src/features/account/is-delete-confirmation-valid.test.ts b/apps/mobile/src/features/account/is-delete-confirmation-valid.test.ts
new file mode 100644
index 000000000..05757aa92
--- /dev/null
+++ b/apps/mobile/src/features/account/is-delete-confirmation-valid.test.ts
@@ -0,0 +1,22 @@
+import { describe, expect, it } from "vite-plus/test";
+
+import { isDeleteConfirmationValid } from "./is-delete-confirmation-valid";
+
+describe("isDeleteConfirmationValid", () => {
+ it("accepts the email ignoring case and surrounding spaces", () => {
+ expect(
+ isDeleteConfirmationValid(" [email protected] ", "[email protected]"),
+ ).toBe(true);
+ });
+
+ it("rejects a different email", () => {
+ expect(
+ isDeleteConfirmationValid("[email protected]", "[email protected]"),
+ ).toBe(false);
+ });
+
+ it("rejects when the email is unknown", () => {
+ expect(isDeleteConfirmationValid("", undefined)).toBe(false);
+ expect(isDeleteConfirmationValid("", "")).toBe(false);
+ });
+});
diff --git a/apps/mobile/src/features/account/is-delete-confirmation-valid.ts b/apps/mobile/src/features/account/is-delete-confirmation-valid.ts
new file mode 100644
index 000000000..3241bb61b
--- /dev/null
+++ b/apps/mobile/src/features/account/is-delete-confirmation-valid.ts
@@ -0,0 +1,7 @@
+export function isDeleteConfirmationValid(
+ confirmation: string,
+ email: string | null | undefined,
+) {
+ if (!email) return false;
+ return confirmation.trim().toLowerCase() === email.toLowerCase();
+}
diff --git a/apps/mobile/src/features/task/description-editor.tsx b/apps/mobile/src/features/task/description-editor.tsx
deleted file mode 100644
index 141e68d6c..000000000
--- a/apps/mobile/src/features/task/description-editor.tsx
+++ /dev/null
@@ -1,334 +0,0 @@
-import {
- Bold,
- Code,
- Heading1,
- Image as ImageIcon,
- Italic,
- Link2,
- List,
-} from "lucide-react-native";
-import { useEffect, useRef, useState, type ReactNode } from "react";
-import {
- ActivityIndicator,
- Keyboard,
- KeyboardAvoidingView,
- Modal,
- Platform,
- ScrollView,
- TextInput,
- View,
- type TextInputInstance,
-} from "react-native";
-import { useTranslation } from "react-i18next";
-import { useSafeAreaInsets } from "react-native-safe-area-context";
-
-import { MarkdownText } from "@/components/markdown";
-import { BackButton, Screen } from "@/components/screen";
-import { Txt } from "@/components/text";
-import { useToast } from "@/components/toast";
-import { IconButton, Segmented, Touch } from "@/components/ui";
-import { userMessage } from "@/lib/api/client";
-import { uploadTaskImage } from "@/lib/upload";
-import { font, useColors } from "@/theme";
-
-/** Full-screen Markdown editor with Write/Preview and a formatting bar above the keyboard. */
-export function DescriptionEditor(props: {
- visible: boolean;
- onClose: () => void;
- taskId: string;
- initial: string;
- /** Resolves true once saved; otherwise the editor stays open with the draft. */
- onSave: (text: string) => Promise<boolean>;
-}) {
- return (
- <Modal
- visible={props.visible}
- animationType="slide"
- onRequestClose={props.onClose}
- statusBarTranslucent
- navigationBarTranslucent
- >
- {props.visible ? <EditorBody {...props} /> : null}
- </Modal>
- );
-}
-
-function Tool({
- label,
- onPress,
- children,
-}: {
- label: string;
- onPress: () => void;
- children: ReactNode;
-}) {
- return (
- <IconButton label={label} onPress={onPress} size={40}>
- {children}
- </IconButton>
- );
-}
-
-function EditorBody({
- onClose,
- taskId,
- initial,
- onSave,
-}: {
- onClose: () => void;
- taskId: string;
- initial: string;
- onSave: (text: string) => Promise<boolean>;
-}) {
- const { t } = useTranslation(["mobile"]);
- const c = useColors();
- const toast = useToast();
- const [text, setText] = useState(initial);
- const [saving, setSaving] = useState(false);
- const [mode, setMode] = useState<"write" | "preview">("write");
- const [selection, setSelection] = useState({
- start: initial.length,
- end: initial.length,
- });
- const [uploading, setUploading] = useState(false);
- const input = useRef<TextInputInstance>(null);
- const insets = useSafeAreaInsets();
- const [keyboardShown, setKeyboardShown] = useState(false);
- // The keyboard covers the system navigation area, so only clear it while the keyboard is down.
- const bottomInset = keyboardShown ? 0 : insets.bottom;
-
- useEffect(() => {
- const ios = Platform.OS === "ios";
- const show = Keyboard.addListener(
- ios ? "keyboardWillShow" : "keyboardDidShow",
- () => setKeyboardShown(true),
- );
- const hide = Keyboard.addListener(
- ios ? "keyboardWillHide" : "keyboardDidHide",
- () => setKeyboardShown(false),
- );
- return () => {
- show.remove();
- hide.remove();
- };
- }, []);
-
- const focus = () => input.current?.focus();
-
- const wrap = (before: string, after = before, placeholder = "") => {
- const { start, end } = selection;
- const selected = text.slice(start, end) || placeholder;
- setText(text.slice(0, start) + before + selected + after + text.slice(end));
- const cursor = start + before.length + selected.length;
- setSelection({ start: cursor, end: cursor });
- focus();
- };
-
- const linePrefix = (prefix: string) => {
- const lineStart = text.lastIndexOf("\n", selection.start - 1) + 1;
- setText(text.slice(0, lineStart) + prefix + text.slice(lineStart));
- setSelection({
- start: selection.start + prefix.length,
- end: selection.end + prefix.length,
- });
- focus();
- };
-
- const insertImage = async () => {
- setUploading(true);
- try {
- const md = await uploadTaskImage(taskId, "description");
- if (md)
- setText(
- (t) =>
- `${t.slice(0, selection.start)}\n${md}\n${t.slice(selection.end)}`,
- );
- } catch (e) {
- toast.show(userMessage(e), "error");
- } finally {
- setUploading(false);
- }
- };
-
- const ic = { size: 18, color: c.body, strokeWidth: 2 } as const;
-
- return (
- <Screen surface>
- <KeyboardAvoidingView
- behavior={Platform.OS === "ios" ? "padding" : "height"}
- style={{ flex: 1 }}
- >
- <View
- style={{
- flexDirection: "row",
- alignItems: "center",
- gap: 4,
- height: 52,
- paddingLeft: 6,
- paddingRight: 16,
- }}
- >
- <BackButton close onPress={onClose} />
- <Txt
- variant="body"
- weight="semibold"
- numberOfLines={1}
- style={{ flex: 1, fontSize: 16 }}
- >
- {t("mobile:editor.description")}
- </Txt>
- <Touch
- disabled={saving}
- onPress={async () => {
- setSaving(true);
- const saved = await onSave(text);
- setSaving(false);
- if (saved) onClose();
- }}
- style={{
- height: 32,
- paddingHorizontal: 14,
- borderRadius: 9,
- backgroundColor: c.primary,
- justifyContent: "center",
- }}
- >
- <Txt variant="bodySm" weight="medium" color={c.onPrimary}>
- {t("mobile:common.save")}
- </Txt>
- </Touch>
- </View>
- <View
- style={{
- paddingHorizontal: 16,
- paddingBottom: 10,
- borderBottomWidth: 1,
- borderBottomColor: c.divider,
- }}
- >
- <Segmented
- value={mode}
- onChange={setMode}
- options={[
- { value: "write", label: t("mobile:editor.write") },
- { value: "preview", label: t("mobile:editor.preview") },
- ]}
- />
- </View>
- {mode === "write" ? (
- <TextInput
- ref={input}
- value={text}
- onChangeText={setText}
- selection={selection}
- onSelectionChange={(e) => setSelection(e.nativeEvent.selection)}
- multiline
- autoFocus
- placeholder={t("mobile:editor.placeholder")}
- placeholderTextColor={c.placeholder}
- selectionColor={c.ink}
- textAlignVertical="top"
- style={{
- flex: 1,
- padding: 20,
- fontFamily: font.mono,
- fontSize: 14,
- lineHeight: 22,
- color: c.ink,
- }}
- />
- ) : (
- <ScrollView
- style={{ flex: 1 }}
- contentContainerStyle={{
- padding: 20,
- paddingBottom: 20 + insets.bottom,
- }}
- >
- {text.trim() ? (
- <MarkdownText>{text}</MarkdownText>
- ) : (
- <Txt tone="placeholder">
- {t("mobile:editor.nothingToPreview")}
- </Txt>
- )}
- </ScrollView>
- )}
- {mode === "write" ? (
- <View
- style={{
- flexDirection: "row",
- alignItems: "center",
- justifyContent: "space-between",
- height: 48 + bottomInset,
- paddingHorizontal: 12,
- paddingBottom: bottomInset,
- borderTopWidth: 1,
- borderTopColor: c.hairline,
- backgroundColor: c.ground,
- }}
- >
- <View style={{ flexDirection: "row" }}>
- <Tool
- label={t("mobile:editor.bold")}
- onPress={() =>
- wrap("**", "**", t("mobile:editor.boldPlaceholder"))
- }
- >
- <Bold {...ic} />
- </Tool>
- <Tool
- label={t("mobile:editor.italic")}
- onPress={() =>
- wrap("_", "_", t("mobile:editor.italicPlaceholder"))
- }
- >
- <Italic {...ic} />
- </Tool>
- <Tool
- label={t("mobile:editor.heading")}
- onPress={() => linePrefix("## ")}
- >
- <Heading1 {...ic} />
- </Tool>
- <Tool
- label={t("mobile:editor.list")}
- onPress={() => linePrefix("- ")}
- >
- <List {...ic} />
- </Tool>
- <Tool
- label={t("mobile:editor.code")}
- onPress={() =>
- wrap("`", "`", t("mobile:editor.codePlaceholder"))
- }
- >
- <Code {...ic} />
- </Tool>
- <Tool
- label={t("mobile:editor.link")}
- onPress={() =>
- wrap("[", "](https://)", t("mobile:editor.linkPlaceholder"))
- }
- >
- <Link2 {...ic} />
- </Tool>
- </View>
- <IconButton
- label={t("mobile:editor.insertImage")}
- onPress={insertImage}
- size={40}
- disabled={uploading}
- >
- {uploading ? (
- <ActivityIndicator size="small" color={c.muted} />
- ) : (
- <ImageIcon {...ic} />
- )}
- </IconButton>
- </View>
- ) : null}
- </KeyboardAvoidingView>
- </Screen>
- );
-}
diff --git a/apps/mobile/src/features/task/rich-editor/description-toolbar.tsx b/apps/mobile/src/features/task/rich-editor/description-toolbar.tsx
new file mode 100644
index 000000000..17a33165d
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/description-toolbar.tsx
@@ -0,0 +1,55 @@
+import { useState } from "react";
+
+import { useToast } from "@/components/toast";
+import { userMessage } from "@/lib/api/client";
+import { uploadTaskImageAsset } from "@/lib/upload";
+
+import { useFormatState } from "./format-store";
+import { FormattingToolbar } from "./formatting-toolbar";
+import { LinkSheet } from "./link-sheet";
+import type { RichDescription } from "./use-rich-description";
+
+export function DescriptionToolbar({
+ taskId,
+ editor,
+}: {
+ taskId: string;
+ editor: RichDescription;
+}) {
+ const toast = useToast();
+ const format = useFormatState(editor.formats);
+ const [uploading, setUploading] = useState(false);
+ const [linking, setLinking] = useState(false);
+
+ const insertImage = async () => {
+ setUploading(true);
+ try {
+ const image = await uploadTaskImageAsset(taskId, "description");
+ if (image) editor.run({ type: "image", src: image.url, alt: image.alt });
+ } catch (e) {
+ toast.show(userMessage(e), "error");
+ } finally {
+ setUploading(false);
+ }
+ };
+
+ return (
+ <>
+ <FormattingToolbar
+ state={format}
+ bottomInset={0}
+ uploading={uploading}
+ onCommand={editor.run}
+ onLink={() => setLinking(true)}
+ onImage={insertImage}
+ onDone={editor.blur}
+ />
+ <LinkSheet
+ visible={linking}
+ current={format.link}
+ onClose={() => setLinking(false)}
+ onApply={(href) => editor.run({ type: "link", href })}
+ />
+ </>
+ );
+}
diff --git a/apps/mobile/src/features/task/rich-editor/dom-node-views.ts b/apps/mobile/src/features/task/rich-editor/dom-node-views.ts
new file mode 100644
index 000000000..ed8acac6e
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/dom-node-views.ts
@@ -0,0 +1,91 @@
+import {
+ AttachmentCard,
+ KaneoImage,
+ KaneoIssueLink,
+ KaneoTaskItem,
+} from "@kaneo/editor";
+
+function resolve(serverUrl: string, src: string): string {
+ if (!src || /^(https?:|data:|blob:)/i.test(src)) return src;
+ return `${serverUrl.replace(/\/+$/, "")}/${src.replace(/^\/+/, "")}`;
+}
+
+function chip(label: string): HTMLSpanElement {
+ const dom = document.createElement("span");
+ dom.className = "kaneo-chip";
+ dom.contentEditable = "false";
+ dom.textContent = label;
+ return dom;
+}
+
+export function domNodeViews(serverUrl: string, attachmentLabel: string) {
+ return {
+ attachmentCard: AttachmentCard.extend({
+ addNodeView() {
+ return ({ node }) => ({
+ dom: chip(String(node.attrs.filename || attachmentLabel)),
+ });
+ },
+ }),
+ kaneoIssueLink: KaneoIssueLink.extend({
+ addNodeView() {
+ return ({ node }) => ({
+ dom: chip(String(node.attrs.issueKey || node.attrs.url || "")),
+ });
+ },
+ }),
+ taskItem: KaneoTaskItem.extend({
+ addNodeView() {
+ return ({ node, getPos, editor }) => {
+ const dom = document.createElement("li");
+ const label = document.createElement("label");
+ const checkbox = document.createElement("input");
+ const content = document.createElement("div");
+ dom.dataset.type = "taskItem";
+ label.contentEditable = "false";
+ checkbox.type = "checkbox";
+ const sync = (checked: boolean) => {
+ dom.dataset.checked = String(checked);
+ checkbox.checked = checked;
+ };
+ sync(!!node.attrs.checked);
+ checkbox.addEventListener("mousedown", (e) => e.preventDefault());
+ checkbox.addEventListener("change", () => {
+ const pos = typeof getPos === "function" ? getPos() : undefined;
+ const current =
+ typeof pos === "number" ? editor.state.doc.nodeAt(pos) : null;
+ if (typeof pos !== "number" || !current) return;
+ editor.view.dispatch(
+ editor.state.tr.setNodeMarkup(pos, undefined, {
+ ...current.attrs,
+ checked: checkbox.checked,
+ }),
+ );
+ });
+ label.append(checkbox);
+ dom.append(label, content);
+ return {
+ dom,
+ contentDOM: content,
+ update: (updated) => {
+ if (updated.type !== node.type) return false;
+ sync(!!updated.attrs.checked);
+ return true;
+ },
+ };
+ };
+ },
+ }),
+ image: KaneoImage.extend({
+ addNodeView() {
+ return ({ node }) => {
+ const dom = document.createElement("img");
+ dom.src = resolve(serverUrl, String(node.attrs.src ?? ""));
+ dom.alt = String(node.attrs.alt ?? "");
+ dom.loading = "lazy";
+ return { dom };
+ };
+ },
+ }),
+ };
+}
diff --git a/apps/mobile/src/features/task/rich-editor/editor-commands.ts b/apps/mobile/src/features/task/rich-editor/editor-commands.ts
new file mode 100644
index 000000000..b8d099423
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/editor-commands.ts
@@ -0,0 +1,45 @@
+export type EditorCommand =
+ | { type: "bold" }
+ | { type: "italic" }
+ | { type: "strike" }
+ | { type: "code" }
+ | { type: "heading" }
+ | { type: "bulletList" }
+ | { type: "orderedList" }
+ | { type: "taskList" }
+ | { type: "blockquote" }
+ | { type: "codeBlock" }
+ | { type: "undo" }
+ | { type: "redo" }
+ | { type: "link"; href: string | null }
+ | { type: "image"; src: string; alt: string };
+
+export type EditorFormatState = {
+ bold: boolean;
+ italic: boolean;
+ strike: boolean;
+ code: boolean;
+ heading: boolean;
+ bulletList: boolean;
+ orderedList: boolean;
+ taskList: boolean;
+ blockquote: boolean;
+ codeBlock: boolean;
+ link: string | null;
+ caretBottom: number;
+};
+
+export const emptyFormatState: EditorFormatState = {
+ bold: false,
+ italic: false,
+ strike: false,
+ code: false,
+ heading: false,
+ bulletList: false,
+ orderedList: false,
+ taskList: false,
+ blockquote: false,
+ codeBlock: false,
+ link: null,
+ caretBottom: 0,
+};
diff --git a/apps/mobile/src/features/task/rich-editor/editor-theme.ts b/apps/mobile/src/features/task/rich-editor/editor-theme.ts
new file mode 100644
index 000000000..9eb4a297a
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/editor-theme.ts
@@ -0,0 +1,184 @@
+export type EditorTheme = {
+ surface: string;
+ ink: string;
+ body: string;
+ ink2: string;
+ muted: string;
+ faint: string;
+ placeholder: string;
+ link: string;
+ hairline: string;
+ fill: string;
+ fillStrong: string;
+ primary: string;
+ onPrimary: string;
+ selection: string;
+};
+
+export function editorCss(theme: EditorTheme): string {
+ return `
+:root { color-scheme: light dark; }
+html, body { margin: 0; padding: 0; background: ${theme.surface}; overflow: hidden; }
+.ProseMirror > :first-child { margin-top: 0; }
+.ProseMirror > :last-child { margin-bottom: 0; }
+body {
+ font-family: -apple-system, "Geist", system-ui, sans-serif;
+ -webkit-text-size-adjust: 100%;
+ -webkit-tap-highlight-color: transparent;
+}
+.ProseMirror {
+ min-height: 24px;
+ box-sizing: border-box;
+ padding: 0;
+ font-size: 15px;
+ line-height: 1.6;
+ color: ${theme.body};
+ caret-color: ${theme.ink};
+ outline: none;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+.ProseMirror ::selection { background: ${theme.selection}; }
+.ProseMirror p { margin: 0 0 6px; }
+.ProseMirror p.is-editor-empty:first-child::before {
+ content: attr(data-placeholder);
+ color: ${theme.placeholder};
+ float: left;
+ height: 0;
+ pointer-events: none;
+}
+.ProseMirror strong { color: ${theme.ink}; font-weight: 600; }
+.ProseMirror h1, .ProseMirror h2, .ProseMirror h3 {
+ margin: 14px 0 6px;
+ font-weight: 600;
+ letter-spacing: -0.02em;
+ line-height: 1.26;
+ color: ${theme.ink};
+}
+.ProseMirror h1 { font-size: 21px; }
+.ProseMirror h2 { font-size: 19px; }
+.ProseMirror h3 { font-size: 17px; }
+.ProseMirror ul, .ProseMirror ol { margin: 4px 0; padding-inline-start: 22px; }
+.ProseMirror li { margin: 2px 0; }
+.ProseMirror li::marker { color: ${theme.muted}; }
+.ProseMirror li > p { margin: 0; }
+.ProseMirror ul[data-type="taskList"] { list-style: none; padding-inline-start: 0; }
+.ProseMirror ul[data-type="taskList"] > li {
+ display: flex;
+ align-items: flex-start;
+ gap: 8px;
+ margin: 4px 0;
+}
+.ProseMirror ul[data-type="taskList"] > li > label {
+ flex-shrink: 0;
+ margin-top: 3px;
+ display: inline-flex;
+}
+.ProseMirror ul[data-type="taskList"] > li > label > span { display: none; }
+.ProseMirror ul[data-type="taskList"] > li > div { flex: 1; min-width: 0; }
+.ProseMirror ul[data-type="taskList"] input[type="checkbox"] {
+ appearance: none;
+ -webkit-appearance: none;
+ width: 18px;
+ height: 18px;
+ margin: 0;
+ border-radius: 4px;
+ border: 1px solid ${theme.fillStrong};
+ background: ${theme.surface};
+ display: grid;
+ place-content: center;
+}
+.ProseMirror ul[data-type="taskList"] input[type="checkbox"]:checked {
+ background: ${theme.primary};
+ border-color: ${theme.primary};
+}
+.ProseMirror ul[data-type="taskList"] input[type="checkbox"]:checked::after {
+ content: "";
+ width: 10px;
+ height: 6px;
+ margin-top: -2px;
+ border-left: 2.5px solid ${theme.onPrimary};
+ border-bottom: 2.5px solid ${theme.onPrimary};
+ transform: rotate(-45deg);
+}
+.ProseMirror ul[data-type="taskList"] > li[data-checked="true"] > div p {
+ color: ${theme.faint};
+ text-decoration: line-through;
+}
+.ProseMirror a {
+ color: ${theme.link};
+ text-decoration: underline;
+ text-decoration-thickness: 1px;
+ text-underline-offset: 3px;
+}
+.ProseMirror :not(pre) > code {
+ font-family: ui-monospace, "Geist Mono", monospace;
+ font-size: 0.86em;
+ background: ${theme.fill};
+ border: 1px solid ${theme.hairline};
+ border-radius: 6px;
+ padding: 1px 4px;
+ color: ${theme.ink};
+}
+.ProseMirror pre {
+ margin: 8px 0;
+ padding: 10px 12px;
+ background: ${theme.fill};
+ border: 1px solid ${theme.hairline};
+ border-radius: 8px;
+ overflow-x: auto;
+}
+.ProseMirror pre code {
+ font-family: ui-monospace, "Geist Mono", monospace;
+ font-size: 14px;
+ color: ${theme.ink};
+}
+.ProseMirror blockquote {
+ margin: 8px 0;
+ padding-left: 12px;
+ border-left: 2px solid ${theme.fillStrong};
+ color: ${theme.ink2};
+}
+.ProseMirror hr { border: none; border-top: 1px solid ${theme.hairline}; margin: 14px 0; }
+.ProseMirror img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 8px 0; }
+.ProseMirror table {
+ border-collapse: collapse;
+ width: 100%;
+ table-layout: fixed;
+ margin: 8px 0;
+ overflow: hidden;
+}
+.ProseMirror th, .ProseMirror td {
+ border: 1px solid ${theme.hairline};
+ padding: 6px 8px;
+ vertical-align: top;
+}
+.ProseMirror th { background: ${theme.fill}; font-weight: 600; text-align: left; color: ${theme.ink}; }
+.ProseMirror th p, .ProseMirror td p { margin: 0; }
+.kaneo-chip {
+ display: inline-flex;
+ align-items: center;
+ gap: 4px;
+ max-width: 100%;
+ padding: 1px 8px;
+ border-radius: 6px;
+ background: ${theme.fill};
+ border: 1px solid ${theme.hairline};
+ color: ${theme.ink};
+ font-size: 0.9em;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ vertical-align: baseline;
+}
+.ProseMirror [data-type="kaneo-embed"] {
+ margin: 8px 0;
+ padding: 8px 10px;
+ border: 1px solid ${theme.hairline};
+ border-radius: 8px;
+ background: ${theme.fill};
+ overflow: hidden;
+}
+.ProseMirror [data-type="kaneo-embed"] iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
+`;
+}
diff --git a/apps/mobile/src/features/task/rich-editor/format-store.ts b/apps/mobile/src/features/task/rich-editor/format-store.ts
new file mode 100644
index 000000000..72942f7c1
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/format-store.ts
@@ -0,0 +1,31 @@
+import { useSyncExternalStore } from "react";
+
+import { emptyFormatState, type EditorFormatState } from "./editor-commands";
+
+export type FormatStore = {
+ get: () => EditorFormatState;
+ set: (state: EditorFormatState) => void;
+ subscribe: (listener: () => void) => () => void;
+};
+
+export function createFormatStore(): FormatStore {
+ let state = emptyFormatState;
+ const listeners = new Set<() => void>();
+ return {
+ get: () => state,
+ set: (next) => {
+ state = next;
+ listeners.forEach((listener) => listener());
+ },
+ subscribe: (listener) => {
+ listeners.add(listener);
+ return () => {
+ listeners.delete(listener);
+ };
+ },
+ };
+}
+
+export function useFormatState(store: FormatStore): EditorFormatState {
+ return useSyncExternalStore(store.subscribe, store.get);
+}
diff --git a/apps/mobile/src/features/task/rich-editor/formatting-toolbar.tsx b/apps/mobile/src/features/task/rich-editor/formatting-toolbar.tsx
new file mode 100644
index 000000000..3a0b2ca68
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/formatting-toolbar.tsx
@@ -0,0 +1,137 @@
+import {
+ Bold,
+ Code,
+ Heading2,
+ Image as ImageIcon,
+ Italic,
+ KeyboardOff,
+ Link2,
+ List,
+ ListChecks,
+ ListOrdered,
+ Quote,
+ type LucideIcon,
+} from "lucide-react-native";
+import { useTranslation } from "react-i18next";
+import { ActivityIndicator, ScrollView, View } from "react-native";
+
+import { IconButton } from "@/components/ui";
+import { radius, useColors } from "@/theme";
+
+import type { EditorCommand, EditorFormatState } from "./editor-commands";
+
+type ToggleType = Exclude<
+ EditorCommand["type"],
+ "link" | "image" | "undo" | "redo"
+> &
+ keyof EditorFormatState;
+
+const TOGGLES: { type: ToggleType; icon: LucideIcon; label: string }[] = [
+ { type: "bold", icon: Bold, label: "mobile:editor.bold" },
+ { type: "italic", icon: Italic, label: "mobile:editor.italic" },
+ { type: "heading", icon: Heading2, label: "mobile:editor.heading" },
+ { type: "taskList", icon: ListChecks, label: "mobile:editor.checklist" },
+ { type: "bulletList", icon: List, label: "mobile:editor.list" },
+ {
+ type: "orderedList",
+ icon: ListOrdered,
+ label: "mobile:editor.numberedList",
+ },
+ { type: "blockquote", icon: Quote, label: "mobile:editor.quote" },
+ { type: "code", icon: Code, label: "mobile:editor.code" },
+];
+
+export function FormattingToolbar({
+ state,
+ bottomInset,
+ uploading,
+ onCommand,
+ onLink,
+ onImage,
+ onDone,
+}: {
+ state: EditorFormatState;
+ bottomInset: number;
+ uploading: boolean;
+ onCommand: (command: EditorCommand) => void;
+ onLink: () => void;
+ onImage: () => void;
+ onDone: () => void;
+}) {
+ const { t } = useTranslation(["mobile"]);
+ const c = useColors();
+ const icon = (Icon: LucideIcon, active: boolean) => (
+ <Icon size={18} color={active ? c.ink : c.body} strokeWidth={2} />
+ );
+ const activeStyle = (active: boolean) =>
+ active ? { backgroundColor: c.fill, borderRadius: radius.md } : undefined;
+
+ return (
+ <View
+ style={{
+ flexDirection: "row",
+ alignItems: "center",
+ height: 48 + bottomInset,
+ paddingBottom: bottomInset,
+ borderTopWidth: 1,
+ borderTopColor: c.hairline,
+ backgroundColor: c.ground,
+ }}
+ >
+ <ScrollView
+ horizontal
+ showsHorizontalScrollIndicator={false}
+ keyboardShouldPersistTaps="always"
+ contentContainerStyle={{ paddingHorizontal: 8, alignItems: "center" }}
+ >
+ {TOGGLES.map(({ type, icon: Icon, label }) => (
+ <View key={type} style={activeStyle(state[type])}>
+ <IconButton
+ label={t(label as "mobile:editor.bold")}
+ onPress={() => onCommand({ type })}
+ size={40}
+ >
+ {icon(Icon, state[type])}
+ </IconButton>
+ </View>
+ ))}
+ <View style={activeStyle(!!state.link)}>
+ <IconButton
+ label={t("mobile:editor.link")}
+ onPress={onLink}
+ size={40}
+ >
+ {icon(Link2, !!state.link)}
+ </IconButton>
+ </View>
+ <IconButton
+ label={t("mobile:editor.insertImage")}
+ onPress={onImage}
+ size={40}
+ disabled={uploading}
+ >
+ {uploading ? (
+ <ActivityIndicator size="small" color={c.muted} />
+ ) : (
+ icon(ImageIcon, false)
+ )}
+ </IconButton>
+ </ScrollView>
+ <View
+ style={{
+ paddingHorizontal: 8,
+ borderLeftWidth: 1,
+ borderLeftColor: c.hairline,
+ }}
+ >
+ <IconButton
+ label={t("mobile:editor.hideKeyboard")}
+ onPress={onDone}
+ size={40}
+ >
+ {icon(KeyboardOff, false)}
+ </IconButton>
+ </View>
+ </View>
+ );
+}
diff --git a/apps/mobile/src/features/task/rich-editor/inline-description.tsx b/apps/mobile/src/features/task/rich-editor/inline-description.tsx
new file mode 100644
index 000000000..fc0cdb45f
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/inline-description.tsx
@@ -0,0 +1,67 @@
+import { memo, useMemo } from "react";
+import { useTranslation } from "react-i18next";
+import { LogBox, View, type LayoutChangeEvent } from "react-native";
+
+import { useSession } from "@/lib/session";
+import { useColors } from "@/theme";
+
+import type { EditorTheme } from "./editor-theme";
+import RichEditorDom from "./rich-editor-dom";
+import type { RichDescription } from "./use-rich-description";
+
+LogBox.ignoreLogs(["Unable to find the 'DomWebView' view"]);
+
+export const InlineDescription = memo(function InlineDescription({
+ description,
+ editor,
+ onLayout,
+}: {
+ description: string;
+ editor: RichDescription;
+ onLayout?: (event: LayoutChangeEvent) => void;
+}) {
+ const { t } = useTranslation(["mobile"]);
+ const c = useColors();
+ const session = useSession();
+ const theme = useMemo<EditorTheme>(
+ () => ({
+ surface: c.surface,
+ ink: c.ink,
+ body: c.body,
+ ink2: c.ink2,
+ muted: c.muted,
+ faint: c.faint,
+ placeholder: c.placeholder,
+ link: c.link,
+ hairline: c.hairline,
+ fill: c.fill,
+ fillStrong: c.fillStrong,
+ primary: c.primary,
+ onPrimary: c.onPrimary,
+ selection: `${c.link}33`,
+ }),
+ [c],
+ );
+
+ return (
+ <View onLayout={onLayout} style={{ minHeight: 24 }}>
+ <RichEditorDom
+ ref={editor.ref}
+ markdown={description}
+ serverUrl={session?.serverUrl ?? ""}
+ theme={theme}
+ placeholder={t("mobile:taskDetail.screen.addDescription")}
+ attachmentLabel={t("mobile:editor.attachment")}
+ onChange={editor.onChange}
+ onFormatChange={editor.onFormatChange}
+ onFocusChange={editor.onFocusChange}
+ dom={{
+ matchContents: true,
+ scrollEnabled: false,
+ hideKeyboardAccessoryView: true,
+ style: { backgroundColor: c.surface },
+ }}
+ />
+ </View>
+ );
+});
diff --git a/apps/mobile/src/features/task/rich-editor/link-sheet.tsx b/apps/mobile/src/features/task/rich-editor/link-sheet.tsx
new file mode 100644
index 000000000..bfdc16155
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/link-sheet.tsx
@@ -0,0 +1,77 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { View } from "react-native";
+
+import { Sheet } from "@/components/sheet";
+import { Button, TextField } from "@/components/ui";
+
+export function LinkSheet({
+ visible,
+ current,
+ onClose,
+ onApply,
+}: {
+ visible: boolean;
+ current: string | null;
+ onClose: () => void;
+ onApply: (href: string | null) => void;
+}) {
+ const { t } = useTranslation(["mobile"]);
+ return (
+ <Sheet visible={visible} onClose={onClose} title={t("mobile:editor.link")}>
+ {visible ? (
+ <LinkForm
+ current={current}
+ onApply={(href) => {
+ onApply(href);
+ onClose();
+ }}
+ />
+ ) : null}
+ </Sheet>
+ );
+}
+
+function LinkForm({
+ current,
+ onApply,
+}: {
+ current: string | null;
+ onApply: (href: string | null) => void;
+}) {
+ const { t } = useTranslation(["mobile"]);
+ const [url, setUrl] = useState(current ?? "");
+ const href = url.trim();
+ const normalized = /^[a-z][a-z0-9+.-]*:/i.test(href)
+ ? href
+ : `https://${href}`;
+
+ return (
+ <View style={{ paddingHorizontal: 20, paddingBottom: 12, gap: 12 }}>
+ <TextField
+ label={t("mobile:editor.linkUrl")}
+ value={url}
+ onChangeText={setUrl}
+ placeholder="https://"
+ autoCapitalize="none"
+ autoCorrect={false}
+ keyboardType="url"
+ autoFocus
+ returnKeyType="done"
+ onSubmitEditing={() => href && onApply(normalized)}
+ />
+ <Button
+ label={t("mobile:editor.applyLink")}
+ disabled={!href}
+ onPress={() => onApply(normalized)}
+ />
+ {current ? (
+ <Button
+ label={t("mobile:editor.removeLink")}
+ kind="dangerOutline"
+ onPress={() => onApply(null)}
+ />
+ ) : null}
+ </View>
+ );
+}
diff --git a/apps/mobile/src/features/task/rich-editor/rich-editor-dom.tsx b/apps/mobile/src/features/task/rich-editor/rich-editor-dom.tsx
new file mode 100644
index 000000000..7f382a561
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/rich-editor-dom.tsx
@@ -0,0 +1,174 @@
+"use dom";
+
+import { createBaseExtensions } from "@kaneo/editor";
+import type { Editor } from "@tiptap/core";
+import { EditorContent, useEditor } from "@tiptap/react";
+import { useDOMImperativeHandle, type DOMImperativeFactory } from "expo/dom";
+import { useEffect, useRef, type Ref } from "react";
+
+import { isLegacyHtml } from "@/lib/legacy-html";
+
+import type { EditorCommand, EditorFormatState } from "./editor-commands";
+import { domNodeViews } from "./dom-node-views";
+import { editorCss, type EditorTheme } from "./editor-theme";
+
+export interface RichEditorHandle extends DOMImperativeFactory {
+ run: (command: unknown) => void;
+ focus: () => void;
+ blur: () => void;
+}
+
+function formatState(editor: Editor): EditorFormatState {
+ return {
+ bold: editor.isActive("bold"),
+ italic: editor.isActive("italic"),
+ strike: editor.isActive("strike"),
+ code: editor.isActive("code"),
+ heading: editor.isActive("heading"),
+ bulletList: editor.isActive("bulletList"),
+ orderedList: editor.isActive("orderedList"),
+ taskList: editor.isActive("taskList"),
+ blockquote: editor.isActive("blockquote"),
+ codeBlock: editor.isActive("codeBlock"),
+ link: (editor.getAttributes("link").href as string | undefined) ?? null,
+ caretBottom: caretBottom(editor),
+ };
+}
+
+function caretBottom(editor: Editor): number {
+ try {
+ return (
+ editor.view.coordsAtPos(editor.state.selection.head).bottom +
+ window.scrollY
+ );
+ } catch {
+ return 0;
+ }
+}
+
+function runCommand(editor: Editor, command: EditorCommand) {
+ const chain = editor.chain().focus();
+ switch (command.type) {
+ case "bold":
+ return chain.toggleBold().run();
+ case "italic":
+ return chain.toggleItalic().run();
+ case "strike":
+ return chain.toggleStrike().run();
+ case "code":
+ return chain.toggleCode().run();
+ case "heading":
+ return chain.toggleHeading({ level: 2 }).run();
+ case "bulletList":
+ return chain.toggleBulletList().run();
+ case "orderedList":
+ return chain.toggleOrderedList().run();
+ case "taskList":
+ return chain.toggleTaskList().run();
+ case "blockquote":
+ return chain.toggleBlockquote().run();
+ case "codeBlock":
+ return chain.toggleCodeBlock().run();
+ case "undo":
+ return chain.undo().run();
+ case "redo":
+ return chain.redo().run();
+ case "link": {
+ if (!command.href) return chain.extendMarkRange("link").unsetLink().run();
+ if (editor.state.selection.empty && !editor.isActive("link"))
+ return chain
+ .insertContent({
+ type: "text",
+ text: command.href,
+ marks: [{ type: "link", attrs: { href: command.href } }],
+ })
+ .run();
+ return chain
+ .extendMarkRange("link")
+ .setLink({ href: command.href })
+ .run();
+ }
+ case "image":
+ return chain.setImage({ src: command.src, alt: command.alt }).run();
+ }
+}
+
+export default function RichEditorDom({
+ ref,
+ markdown,
+ serverUrl,
+ theme,
+ placeholder,
+ attachmentLabel,
+ onChange,
+ onFormatChange,
+ onFocusChange,
+}: {
+ ref: Ref<RichEditorHandle>;
+ markdown: string;
+ serverUrl: string;
+ theme: EditorTheme;
+ placeholder: string;
+ attachmentLabel: string;
+ onChange: (markdown: string) => Promise<void>;
+ onFormatChange: (state: EditorFormatState) => Promise<void>;
+ onFocusChange: (focused: boolean) => Promise<void>;
+ dom?: import("expo/dom").DOMProps;
+}) {
+ const emitted = useRef(markdown);
+ const editor = useEditor({
+ extensions: createBaseExtensions({
+ placeholder,
+ tableResizable: false,
+ nodes: domNodeViews(serverUrl, attachmentLabel),
+ }),
+ content: markdown,
+ contentType: isLegacyHtml(markdown) ? "html" : "markdown",
+ onUpdate: ({ editor: e }) => {
+ emitted.current = e.getMarkdown().replace(/\r\n/g, "\n");
+ void onChange(emitted.current);
+ },
+ onTransaction: ({ editor: e }) => {
+ if (e.isFocused) void onFormatChange(formatState(e));
+ },
+ onFocus: ({ editor: e }) => {
+ void onFocusChange(true);
+ void onFormatChange(formatState(e));
+ },
+ onBlur: () => {
+ void onFocusChange(false);
+ },
+ });
+
+ useEffect(() => {
+ if (!editor || editor.isFocused || markdown === emitted.current) return;
+ emitted.current = markdown;
+ editor.commands.setContent(markdown, {
+ emitUpdate: false,
+ contentType: isLegacyHtml(markdown) ? "html" : "markdown",
+ });
+ }, [editor, markdown]);
+
+ useDOMImperativeHandle(
+ ref,
+ () => ({
+ run: (command: unknown) => {
+ if (editor) runCommand(editor, command as EditorCommand);
+ },
+ focus: () => {
+ editor?.commands.focus();
+ },
+ blur: () => {
+ editor?.commands.blur();
+ },
+ }),
+ [editor],
+ );
+
+ return (
+ <>
+ <style>{editorCss(theme)}</style>
+ <EditorContent editor={editor} />
+ </>
+ );
+}
diff --git a/apps/mobile/src/features/task/rich-editor/use-caret-follow.ts b/apps/mobile/src/features/task/rich-editor/use-caret-follow.ts
new file mode 100644
index 000000000..b5edae837
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/use-caret-follow.ts
@@ -0,0 +1,55 @@
+import { useCallback, useEffect, useMemo, useRef } from "react";
+import type {
+ LayoutChangeEvent,
+ NativeScrollEvent,
+ NativeSyntheticEvent,
+ ScrollViewInstance,
+} from "react-native";
+
+import type { FormatStore } from "./format-store";
+
+const BELOW = 32;
+const ABOVE = 96;
+
+export function useCaretFollow(active: boolean, formats: FormatStore) {
+ const scroll = useRef<ScrollViewInstance>(null);
+ const offset = useRef(0);
+ const viewport = useRef(0);
+ const editorTop = useRef(0);
+ const activeRef = useRef(active);
+ activeRef.current = active;
+
+ const follow = useCallback(() => {
+ if (!activeRef.current || !viewport.current) return;
+ const caret = editorTop.current + formats.get().caretBottom;
+ if (caret + BELOW > offset.current + viewport.current)
+ scroll.current?.scrollTo({ y: caret + BELOW - viewport.current });
+ else if (caret - ABOVE / 2 < offset.current)
+ scroll.current?.scrollTo({ y: Math.max(0, caret - ABOVE) });
+ }, [formats]);
+
+ useEffect(() => formats.subscribe(follow), [formats, follow]);
+ useEffect(() => {
+ if (active) follow();
+ }, [active, follow]);
+
+ const scrollProps = useMemo(
+ () => ({
+ ref: scroll,
+ scrollEventThrottle: 16,
+ onScroll: (e: NativeSyntheticEvent<NativeScrollEvent>) => {
+ offset.current = e.nativeEvent.contentOffset.y;
+ },
+ onLayout: (e: LayoutChangeEvent) => {
+ viewport.current = e.nativeEvent.layout.height;
+ follow();
+ },
+ }),
+ [follow],
+ );
+ const onEditorLayout = useCallback((e: LayoutChangeEvent) => {
+ editorTop.current = e.nativeEvent.layout.y;
+ }, []);
+
+ return { scrollProps, onEditorLayout };
+}
diff --git a/apps/mobile/src/features/task/rich-editor/use-description-autosave.ts b/apps/mobile/src/features/task/rich-editor/use-description-autosave.ts
new file mode 100644
index 000000000..eb20d19ec
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/use-description-autosave.ts
@@ -0,0 +1,66 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useCallback, useEffect, useRef, useState } from "react";
+
+import { useToast } from "@/components/toast";
+import { userMessage } from "@/lib/api/client";
+import { api } from "@/lib/api/endpoints";
+import { qk } from "@/lib/query";
+
+const DELAY_MS = 700;
+
+export type AutosaveStatus = "idle" | "saving" | "saved";
+
+export function useDescriptionAutosave(taskId: string, saved: string) {
+ const client = useQueryClient();
+ const toast = useToast();
+ const [status, setStatus] = useState<AutosaveStatus>("idle");
+ const lastSaved = useRef(saved);
+ const pending = useRef<string | null>(null);
+ const timer = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const inFlight = useRef<Promise<void> | null>(null);
+
+ const flush = useCallback(async (): Promise<void> => {
+ if (timer.current) clearTimeout(timer.current);
+ timer.current = null;
+ if (inFlight.current) await inFlight.current;
+ const text = pending.current;
+ pending.current = null;
+ if (text === null || text === lastSaved.current) return;
+ setStatus("saving");
+ const request = api
+ .updateDescription(taskId, text)
+ .then(() => {
+ lastSaved.current = text;
+ setStatus("saved");
+ void client.invalidateQueries({ queryKey: qk.task(taskId) });
+ })
+ .catch((e: unknown) => {
+ if (pending.current === null) pending.current = text;
+ setStatus("idle");
+ toast.show(userMessage(e), "error");
+ })
+ .finally(() => {
+ inFlight.current = null;
+ });
+ inFlight.current = request;
+ await request;
+ }, [client, taskId, toast]);
+
+ const change = useCallback(
+ (text: string) => {
+ pending.current = text;
+ if (timer.current) clearTimeout(timer.current);
+ timer.current = setTimeout(() => void flush(), DELAY_MS);
+ },
+ [flush],
+ );
+
+ useEffect(() => {
+ if (pending.current === null && !inFlight.current)
+ lastSaved.current = saved;
+ }, [saved]);
+
+ useEffect(() => () => void flush(), [flush]);
+
+ return { change, flush, status };
+}
diff --git a/apps/mobile/src/features/task/rich-editor/use-rich-description.ts b/apps/mobile/src/features/task/rich-editor/use-rich-description.ts
new file mode 100644
index 000000000..c8e59de7e
--- /dev/null
+++ b/apps/mobile/src/features/task/rich-editor/use-rich-description.ts
@@ -0,0 +1,50 @@
+import { useCallback, useMemo, useRef, useState } from "react";
+
+import type { EditorCommand, EditorFormatState } from "./editor-commands";
+import { createFormatStore } from "./format-store";
+import type { RichEditorHandle } from "./rich-editor-dom";
+import { useDescriptionAutosave } from "./use-description-autosave";
+
+export function useRichDescription(taskId: string, description: string) {
+ const ref = useRef<RichEditorHandle>(null);
+ const formats = useRef(createFormatStore()).current;
+ const [focused, setFocused] = useState(false);
+ const { change, flush } = useDescriptionAutosave(taskId, description);
+
+ const onChange = useCallback(
+ async (markdown: string) => change(markdown),
+ [change],
+ );
+ const onFormatChange = useCallback(
+ async (state: EditorFormatState) => formats.set(state),
+ [formats],
+ );
+ const onFocusChange = useCallback(
+ async (next: boolean) => {
+ setFocused(next);
+ if (!next) await flush();
+ },
+ [flush],
+ );
+ const run = useCallback(
+ (command: EditorCommand) => ref.current?.run(command),
+ [],
+ );
+ const blur = useCallback(() => ref.current?.blur(), []);
+
+ return useMemo(
+ () => ({
+ ref,
+ formats,
+ focused,
+ onChange,
+ onFormatChange,
+ onFocusChange,
+ run,
+ blur,
+ }),
+ [formats, focused, onChange, onFormatChange, onFocusChange, run, blur],
+ );
+}
+
+export type RichDescription = ReturnType<typeof useRichDescription>;
diff --git a/apps/mobile/src/lib/api/endpoints.ts b/apps/mobile/src/lib/api/endpoints.ts
index db86b076e..f2dc9898e 100644
--- a/apps/mobile/src/lib/api/endpoints.ts
+++ b/apps/mobile/src/lib/api/endpoints.ts
@@ -69,6 +69,8 @@ export const api = {
put<{ id: string; url: string }>("api/user/avatar", body),
deleteAvatar: () => del<unknown>("api/user/avatar"),
signOut: () => post<unknown>("api/auth/sign-out"),
+ deleteUser: (body: { password?: string }) =>
+ post<{ success: boolean; message: string }>("api/auth/delete-user", body),
// --- Workspaces ---
/** Older servers have no `api/workspace` list; Better Auth's list works everywhere but carries no role. */
diff --git a/apps/mobile/src/lib/markdown.ts b/apps/mobile/src/lib/markdown.ts
index ade295044..3631d605f 100644
--- a/apps/mobile/src/lib/markdown.ts
+++ b/apps/mobile/src/lib/markdown.ts
@@ -2,6 +2,7 @@ import { i18n } from "@/lib/i18n";
import { resolveUrl } from "./api/client";
import { isLegacyHtml, legacyHtmlToMarkdown } from "./legacy-html";
+import { CHECKED_TASK, UNCHECKED_TASK } from "./task-item";
/**
* The web editor serializes rich nodes into Markdown as custom HTML tags. Markdown renderers
@@ -55,8 +56,8 @@ export function toDisplayMarkdown(markdown: string, serverUrl: string): string {
}
});
text = text
- .replace(/^(\s*)[-*] \[ \]/gm, "$1- ☐")
- .replace(/^(\s*)[-*] \[[xX]\]/gm, "$1- ☑");
+ .replace(/^(\s*)[-*] \[ \]/gm, `$1- ${UNCHECKED_TASK}`)
+ .replace(/^(\s*)[-*] \[[xX]\]/gm, `$1- ${CHECKED_TASK}`);
text = text.replace(
/(!?\[[^\]]*\]\()(\/api\/[^)\s]+)/g,
(_, prefix: string, path: string) => prefix + serverUrl + path,
diff --git a/apps/mobile/src/lib/task-item.test.ts b/apps/mobile/src/lib/task-item.test.ts
new file mode 100644
index 000000000..e107abdcc
--- /dev/null
+++ b/apps/mobile/src/lib/task-item.test.ts
@@ -0,0 +1,40 @@
+import { describe, expect, it } from "vite-plus/test";
+
+import { type MarkdownNode, stripTaskMarker, taskItemState } from "./task-item";
+
+const item = (text: string, nested?: MarkdownNode): MarkdownNode => ({
+ type: "list_item",
+ children: [
+ {
+ type: "paragraph",
+ children: [
+ { type: "textgroup", children: [{ type: "text", content: text }] },
+ ],
+ },
+ ...(nested ? [nested] : []),
+ ],
+});
+
+describe("taskItemState", () => {
+ it("reads checked and unchecked markers", () => {
+ expect(taskItemState(item("☑ Ship it"))).toBe("checked");
+ expect(taskItemState(item("☐ Ship it"))).toBe("unchecked");
+ });
+
+ it("treats plain bullets as regular list items", () => {
+ expect(taskItemState(item("Ship it"))).toBeNull();
+ });
+
+ it("ignores markers that only appear in a nested list", () => {
+ const nested = { type: "bullet_list", children: [item("☐ Child")] };
+ expect(taskItemState({ type: "list_item", children: [nested] })).toBeNull();
+ });
+});
+
+describe("stripTaskMarker", () => {
+ it("removes the marker and its space", () => {
+ expect(stripTaskMarker("☑ Ship it")).toBe("Ship it");
+ expect(stripTaskMarker("☐")).toBe("");
+ expect(stripTaskMarker("Ship ☐ it")).toBe("Ship ☐ it");
+ });
+});
diff --git a/apps/mobile/src/lib/task-item.ts b/apps/mobile/src/lib/task-item.ts
new file mode 100644
index 000000000..bd3a9b9f0
--- /dev/null
+++ b/apps/mobile/src/lib/task-item.ts
@@ -0,0 +1,31 @@
+export const UNCHECKED_TASK = "☐";
+export const CHECKED_TASK = "☑";
+
+export type MarkdownNode = {
+ type: string;
+ content?: string;
+ children?: MarkdownNode[];
+};
+
+function firstText(node: MarkdownNode): MarkdownNode | null {
+ if (node.type === "text") return node;
+ for (const child of node.children ?? []) {
+ if (child.type === "bullet_list" || child.type === "ordered_list") break;
+ const found = firstText(child);
+ if (found) return found;
+ }
+ return null;
+}
+
+export function taskItemState(
+ node: MarkdownNode,
+): "checked" | "unchecked" | null {
+ const content = firstText(node)?.content ?? "";
+ if (content.startsWith(CHECKED_TASK)) return "checked";
+ if (content.startsWith(UNCHECKED_TASK)) return "unchecked";
+ return null;
+}
+
+export function stripTaskMarker(content: string): string {
+ return content.replace(/^[☐☑] ?/, "");
+}
diff --git a/apps/mobile/src/lib/upload.ts b/apps/mobile/src/lib/upload.ts
index fe6e1a322..78a1a17e0 100644
--- a/apps/mobile/src/lib/upload.ts
+++ b/apps/mobile/src/lib/upload.ts
@@ -27,6 +27,14 @@ export async function uploadTaskImage(
taskId: string,
surface: "description" | "comment",
): Promise<string | null> {
+ const image = await uploadTaskImageAsset(taskId, surface);
+ return image ? `![${image.alt}](${image.url})` : null;
+}
+
+export async function uploadTaskImageAsset(
+ taskId: string,
+ surface: "description" | "comment",
+): Promise<{ url: string; alt: string } | null> {
const asset = await pickImage();
if (!asset) return null;
const contentType = asset.mimeType ?? "image/jpeg";
@@ -59,5 +67,5 @@ export async function uploadTaskImage(
size,
surface,
});
- return `![${filename.replace(/\.[^.]+$/, "")}](${assetInfo.url})`;
+ return { url: assetInfo.url, alt: filename.replace(/\.[^.]+$/, "") };
}
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index f7996e13c..3b3288f4c 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -4368,6 +4368,21 @@
"passwordChanged": "Parol dəyişdirildi",
"photoRemoved": "Şəkil silindi",
"photoUpdated": "Şəkil yeniləndi"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4450,21 +4465,20 @@
"editor": {
"attachment": "Qoşma",
"bold": "Qalın",
- "boldPlaceholder": "qalın",
"code": "Kod",
- "codePlaceholder": "kod",
- "description": "Təsvir",
"heading": "Başlıq",
"insertImage": "Şəkil daxil et",
"italic": "Kursiv",
- "italicPlaceholder": "kursiv",
"link": "Keçid",
- "linkPlaceholder": "keçid",
"list": "Siyahı",
- "nothingToPreview": "Önizləmə üçün heç nə yoxdur",
"placeholder": "Təsvir əlavə edin… Markdown dəstəklənir.",
- "preview": "Önizləmə",
- "write": "Yaz"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "Bu API açarı rədd edildi.",
@@ -4989,7 +5003,6 @@
"screen": {
"addDescription": "Təsvir əlavə et…",
"copyLink": "Keçidi kopyala",
- "editDescription": "Təsviri redaktə et",
"editTitle": "Başlığı redaktə et",
"linkCopied": "Keçid kopyalandı",
"more": "Daha çox"
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index fd9fd5590..cdaecadc9 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -4514,7 +4514,6 @@
"linkCopied": "Link kopiert",
"more": "Mehr",
"editTitle": "Titel bearbeiten",
- "editDescription": "Beschreibung bearbeiten",
"addDescription": "Beschreibung hinzufügen…"
}
},
@@ -4564,23 +4563,22 @@
"parentFailed": "Aufgabe erstellt, aber sie konnte nicht mit der übergeordneten Aufgabe verknüpft werden."
},
"editor": {
- "description": "Beschreibung",
"placeholder": "Beschreibung hinzufügen… Markdown wird unterstützt.",
- "write": "Schreiben",
- "preview": "Vorschau",
- "nothingToPreview": "Nichts für die Vorschau",
"bold": "Fett",
"italic": "Kursiv",
"heading": "Überschrift",
"list": "Liste",
"code": "Code",
"link": "Link",
- "boldPlaceholder": "fett",
- "italicPlaceholder": "kursiv",
- "codePlaceholder": "Code",
- "linkPlaceholder": "Link",
"insertImage": "Bild einfügen",
- "attachment": "Anhang"
+ "attachment": "Anhang",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "{{name}} antworten…",
@@ -4987,6 +4985,21 @@
"confirmPlaceholder": "Erneut eingeben",
"mismatch": "Die Passwörter stimmen nicht überein",
"signOutOthers": "Andere Geräte abmelden"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index ffe8c53fb..016e0c2e5 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -4514,7 +4514,6 @@
"linkCopied": "Ο σύνδεσμος αντιγράφηκε",
"more": "Περισσότερα",
"editTitle": "Επεξεργασία τίτλου",
- "editDescription": "Επεξεργασία περιγραφής",
"addDescription": "Προσθήκη περιγραφής…"
}
},
@@ -4564,23 +4563,22 @@
"parentFailed": "Η εργασία δημιουργήθηκε, αλλά δεν ήταν δυνατή η σύνδεσή της με τη γονική εργασία."
},
"editor": {
- "description": "Περιγραφή",
"placeholder": "Προσθήκη περιγραφής… Υποστηρίζεται Markdown.",
- "write": "Σύνταξη",
- "preview": "Προεπισκόπηση",
- "nothingToPreview": "Τίποτα για προεπισκόπηση",
"bold": "Έντονα",
"italic": "Πλάγια",
"heading": "Επικεφαλίδα",
"list": "Λίστα",
"code": "Κώδικας",
"link": "Σύνδεσμος",
- "boldPlaceholder": "έντονα",
- "italicPlaceholder": "πλάγια",
- "codePlaceholder": "κώδικας",
- "linkPlaceholder": "σύνδεσμος",
"insertImage": "Εισαγωγή εικόνας",
- "attachment": "Συνημμένο"
+ "attachment": "Συνημμένο",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Απάντηση στον/στην {{name}}…",
@@ -4987,6 +4985,21 @@
"confirmPlaceholder": "Πληκτρολογήστε τον ξανά",
"mismatch": "Οι κωδικοί δεν ταιριάζουν",
"signOutOthers": "Αποσύνδεση άλλων συσκευών"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 1ae6ccf29..f2cb19bfd 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -4514,7 +4514,6 @@
"linkCopied": "Link copied",
"more": "More",
"editTitle": "Edit title",
- "editDescription": "Edit description",
"addDescription": "Add a description…"
}
},
@@ -4564,23 +4563,22 @@
"labelsAndParentFailed": "Task created, but some labels and the parent link couldn't be saved."
},
"editor": {
- "description": "Description",
"placeholder": "Add a description… Markdown works.",
- "write": "Write",
- "preview": "Preview",
- "nothingToPreview": "Nothing to preview",
"bold": "Bold",
"italic": "Italic",
"heading": "Heading",
"list": "List",
"code": "Code",
"link": "Link",
- "boldPlaceholder": "bold",
- "italicPlaceholder": "italic",
- "codePlaceholder": "code",
- "linkPlaceholder": "link",
"insertImage": "Insert image",
- "attachment": "Attachment"
+ "attachment": "Attachment",
+ "checklist": "Checklist",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "linkUrl": "URL",
+ "applyLink": "Apply",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Reply to {{name}}…",
@@ -4969,6 +4967,21 @@
"title": "Sign out?",
"message": "You can sign in again at any time."
},
+ "deleteAccount": {
+ "sectionTitle": "Danger zone",
+ "title": "Delete account",
+ "description": "Permanently delete your account and its data.",
+ "modalTitle": "Delete your account?",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "confirmLabel": "Type {{email}} to confirm",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "confirm": "Delete account",
+ "success": "Your account was deleted",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "wrongPassword": "That password is not correct.",
+ "noPassword": "This account has no password. Leave the field empty."
+ },
"photoMenu": {
"choose": "Choose photo",
"remove": "Remove photo"
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index f6cc73bee..f192f1e60 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -4591,7 +4591,6 @@
"linkCopied": "Enlace copiado",
"more": "Más",
"editTitle": "Editar título",
- "editDescription": "Editar descripción",
"addDescription": "Añade una descripción…"
}
},
@@ -4642,23 +4641,22 @@
"parentFailed": "Tarea creada, pero no se ha podido vincular a la tarea principal."
},
"editor": {
- "description": "Descripción",
"placeholder": "Añade una descripción… Admite Markdown.",
- "write": "Escribir",
- "preview": "Vista previa",
- "nothingToPreview": "Nada que mostrar",
"bold": "Negrita",
"italic": "Cursiva",
"heading": "Encabezado",
"list": "Lista",
"code": "Código",
"link": "Enlace",
- "boldPlaceholder": "negrita",
- "italicPlaceholder": "cursiva",
- "codePlaceholder": "código",
- "linkPlaceholder": "enlace",
"insertImage": "Insertar imagen",
- "attachment": "Adjunto"
+ "attachment": "Adjunto",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Responder a {{name}}…",
@@ -5077,6 +5075,21 @@
"confirmPlaceholder": "Escríbela otra vez",
"mismatch": "Las contraseñas no coinciden",
"signOutOthers": "Cerrar sesión en otros dispositivos"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index cdd423a4a..1d9ad735a 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -4591,7 +4591,6 @@
"linkCopied": "Lien copié",
"more": "Plus",
"editTitle": "Modifier le titre",
- "editDescription": "Modifier la description",
"addDescription": "Ajouter une description…"
}
},
@@ -4642,23 +4641,22 @@
"parentFailed": "Tâche créée, mais elle n'a pas pu être liée à la tâche parente."
},
"editor": {
- "description": "Description",
"placeholder": "Ajoutez une description… Markdown est pris en charge.",
- "write": "Écrire",
- "preview": "Aperçu",
- "nothingToPreview": "Rien à afficher",
"bold": "Gras",
"italic": "Italique",
"heading": "Titre",
"list": "Liste",
"code": "Code",
"link": "Lien",
- "boldPlaceholder": "gras",
- "italicPlaceholder": "italique",
- "codePlaceholder": "code",
- "linkPlaceholder": "lien",
"insertImage": "Insérer une image",
- "attachment": "Pièce jointe"
+ "attachment": "Pièce jointe",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Répondre à {{name}}…",
@@ -5077,6 +5075,21 @@
"confirmPlaceholder": "Saisissez-le à nouveau",
"mismatch": "Les mots de passe ne correspondent pas",
"signOutOthers": "Déconnecter les autres appareils"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index d92a8c92e..2cf61737f 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -4514,7 +4514,6 @@
"linkCopied": "लिंक कॉपी हो गया",
"more": "और",
"editTitle": "शीर्षक संपादित करें",
- "editDescription": "विवरण संपादित करें",
"addDescription": "विवरण जोड़ें…"
}
},
@@ -4564,23 +4563,22 @@
"parentFailed": "कार्य बनाया गया, लेकिन उसे मूल कार्य से लिंक नहीं किया जा सका।"
},
"editor": {
- "description": "विवरण",
"placeholder": "विवरण जोड़ें… Markdown काम करता है।",
- "write": "लिखें",
- "preview": "पूर्वावलोकन",
- "nothingToPreview": "पूर्वावलोकन के लिए कुछ नहीं",
"bold": "बोल्ड",
"italic": "इटैलिक",
"heading": "शीर्षक",
"list": "सूची",
"code": "कोड",
"link": "लिंक",
- "boldPlaceholder": "बोल्ड",
- "italicPlaceholder": "इटैलिक",
- "codePlaceholder": "कोड",
- "linkPlaceholder": "लिंक",
"insertImage": "इमेज डालें",
- "attachment": "अटैचमेंट"
+ "attachment": "अटैचमेंट",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "{{name}} को जवाब दें…",
@@ -4987,6 +4985,21 @@
"confirmPlaceholder": "इसे फिर से लिखें",
"mismatch": "पासवर्ड मेल नहीं खाते",
"signOutOthers": "दूसरे डिवाइस से साइन आउट करें"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 0597b0e85..268bae94e 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -4437,7 +4437,6 @@
"linkCopied": "Tautan disalin",
"more": "Lainnya",
"editTitle": "Edit judul",
- "editDescription": "Edit deskripsi",
"addDescription": "Tambahkan deskripsi…"
}
},
@@ -4486,23 +4485,22 @@
"parentFailed": "Tugas dibuat, tetapi tidak dapat ditautkan ke tugas induk."
},
"editor": {
- "description": "Deskripsi",
"placeholder": "Tambahkan deskripsi… Mendukung Markdown.",
- "write": "Tulis",
- "preview": "Pratinjau",
- "nothingToPreview": "Tidak ada yang bisa dipratinjau",
"bold": "Tebal",
"italic": "Miring",
"heading": "Judul",
"list": "Daftar",
"code": "Kode",
"link": "Tautan",
- "boldPlaceholder": "tebal",
- "italicPlaceholder": "miring",
- "codePlaceholder": "kode",
- "linkPlaceholder": "tautan",
"insertImage": "Sisipkan gambar",
- "attachment": "Lampiran"
+ "attachment": "Lampiran",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Balas {{name}}…",
@@ -4897,6 +4895,21 @@
"confirmPlaceholder": "Ketik sekali lagi",
"mismatch": "Kata sandi tidak cocok",
"signOutOthers": "Keluar dari perangkat lain"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index 960cf7fda..ab8c7c73d 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -4591,7 +4591,6 @@
"linkCopied": "Link copiato",
"more": "Altro",
"editTitle": "Modifica titolo",
- "editDescription": "Modifica descrizione",
"addDescription": "Aggiungi una descrizione…"
}
},
@@ -4642,23 +4641,22 @@
"parentFailed": "Attività creata, ma non è stato possibile collegarla all'attività principale."
},
"editor": {
- "description": "Descrizione",
"placeholder": "Aggiungi una descrizione… Supporta Markdown.",
- "write": "Scrivi",
- "preview": "Anteprima",
- "nothingToPreview": "Niente da mostrare",
"bold": "Grassetto",
"italic": "Corsivo",
"heading": "Titolo",
"list": "Elenco",
"code": "Codice",
"link": "Link",
- "boldPlaceholder": "grassetto",
- "italicPlaceholder": "corsivo",
- "codePlaceholder": "codice",
- "linkPlaceholder": "link",
"insertImage": "Inserisci immagine",
- "attachment": "Allegato"
+ "attachment": "Allegato",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Rispondi a {{name}}…",
@@ -5077,6 +5075,21 @@
"confirmPlaceholder": "Scrivila di nuovo",
"mismatch": "Le password non corrispondono",
"signOutOthers": "Esci dagli altri dispositivi"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index a5787bbe3..e7fe29597 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -4291,6 +4291,21 @@
"passwordChanged": "パスワードを変更しました",
"photoRemoved": "写真を削除しました",
"photoUpdated": "写真を更新しました"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4370,21 +4385,20 @@
"editor": {
"attachment": "添付ファイル",
"bold": "太字",
- "boldPlaceholder": "太字",
"code": "コード",
- "codePlaceholder": "コード",
- "description": "説明",
"heading": "見出し",
"insertImage": "画像を挿入",
"italic": "斜体",
- "italicPlaceholder": "斜体",
"link": "リンク",
- "linkPlaceholder": "リンク",
"list": "リスト",
- "nothingToPreview": "プレビューする内容がありません",
"placeholder": "説明を追加… Markdown を使えます。",
- "preview": "プレビュー",
- "write": "入力"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "この API キーは拒否されました。",
@@ -4905,7 +4919,6 @@
"screen": {
"addDescription": "説明を追加…",
"copyLink": "リンクをコピー",
- "editDescription": "説明を編集",
"editTitle": "タイトルを編集",
"linkCopied": "リンクをコピーしました",
"more": "その他"
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index ae2ac9b13..03d160d9f 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -4291,6 +4291,21 @@
"passwordChanged": "비밀번호가 변경되었습니다",
"photoRemoved": "사진이 제거되었습니다",
"photoUpdated": "사진이 업데이트되었습니다"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4370,21 +4385,20 @@
"editor": {
"attachment": "첨부 파일",
"bold": "굵게",
- "boldPlaceholder": "굵게",
"code": "코드",
- "codePlaceholder": "코드",
- "description": "설명",
"heading": "제목",
"insertImage": "이미지 삽입",
"italic": "기울임꼴",
- "italicPlaceholder": "기울임꼴",
"link": "링크",
- "linkPlaceholder": "링크",
"list": "목록",
- "nothingToPreview": "미리 볼 내용이 없습니다",
"placeholder": "설명 추가… Markdown을 사용할 수 있습니다.",
- "preview": "미리보기",
- "write": "작성"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "API 키가 거부되었습니다.",
@@ -4905,7 +4919,6 @@
"screen": {
"addDescription": "설명 추가…",
"copyLink": "링크 복사",
- "editDescription": "설명 편집",
"editTitle": "제목 편집",
"linkCopied": "링크가 복사되었습니다",
"more": "더 보기"
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index 00b0d4322..7bafeffbb 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -4514,7 +4514,6 @@
"linkCopied": "Врската е копирана",
"more": "Повеќе",
"editTitle": "Уреди наслов",
- "editDescription": "Уреди опис",
"addDescription": "Додај опис…"
}
},
@@ -4564,23 +4563,22 @@
"parentFailed": "Задачата е создадена, но не можеше да се поврзе со надредената задача."
},
"editor": {
- "description": "Опис",
"placeholder": "Додај опис… Работи Markdown.",
- "write": "Пишувај",
- "preview": "Преглед",
- "nothingToPreview": "Нема што да се прегледа",
"bold": "Задебелено",
"italic": "Курзив",
"heading": "Наслов",
"list": "Листа",
"code": "Код",
"link": "Врска",
- "boldPlaceholder": "задебелено",
- "italicPlaceholder": "курзив",
- "codePlaceholder": "код",
- "linkPlaceholder": "врска",
"insertImage": "Вметни слика",
- "attachment": "Прилог"
+ "attachment": "Прилог",
+ "checklist": "Листа за проверка",
+ "numberedList": "Нумерирана листа",
+ "quote": "Цитат",
+ "linkUrl": "URL",
+ "applyLink": "Примени",
+ "removeLink": "Отстрани линк",
+ "hideKeyboard": "Сокриј тастатура"
},
"composer": {
"reply": "Одговори на {{name}}…",
@@ -4969,6 +4967,21 @@
"title": "Да се одјавиш?",
"message": "Можеш повторно да се најавиш во секое време."
},
+ "deleteAccount": {
+ "sectionTitle": "Опасна зона",
+ "title": "Избриши сметка",
+ "description": "Трајно избриши ја сметката и нејзините податоци.",
+ "modalTitle": "Да се избрише сметката?",
+ "modalDescription": "Ова трајно ја брише сметката и не може да се врати. Работните простори во кои си единствен член се бришат заедно со неа. На други места, твоите задачи остануваат без доделен корисник, а коментарите се отстрануваат.",
+ "confirmLabel": "Внеси {{email}} за потврда",
+ "password": "Лозинка",
+ "passwordHint": "Остави празно ако се најавуваш без лозинка.",
+ "confirm": "Избриши сметка",
+ "success": "Сметката е избришана",
+ "sessionTooOld": "За твоја безбедност, внеси ја лозинката или одјави се и најави се повторно пред да ја избришеш сметката.",
+ "wrongPassword": "Лозинката не е точна.",
+ "noPassword": "Оваа сметка нема лозинка. Остави го полето празно."
+ },
"photoMenu": {
"choose": "Избери слика",
"remove": "Отстрани слика"
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index c2c5b86c8..80890d1f9 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -4368,6 +4368,21 @@
"passwordChanged": "Wachtwoord gewijzigd",
"photoRemoved": "Foto verwijderd",
"photoUpdated": "Foto bijgewerkt"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4450,21 +4465,20 @@
"editor": {
"attachment": "Bijlage",
"bold": "Vet",
- "boldPlaceholder": "vet",
"code": "Code",
- "codePlaceholder": "code",
- "description": "Beschrijving",
"heading": "Koptekst",
"insertImage": "Afbeelding invoegen",
"italic": "Cursief",
- "italicPlaceholder": "cursief",
"link": "Link",
- "linkPlaceholder": "link",
"list": "Lijst",
- "nothingToPreview": "Niets om te bekijken",
"placeholder": "Beschrijving toevoegen… Markdown wordt ondersteund.",
- "preview": "Voorbeeld",
- "write": "Schrijven"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "Die API-sleutel is geweigerd.",
@@ -4989,7 +5003,6 @@
"screen": {
"addDescription": "Beschrijving toevoegen…",
"copyLink": "Link kopiëren",
- "editDescription": "Beschrijving bewerken",
"editTitle": "Titel bewerken",
"linkCopied": "Link gekopieerd",
"more": "Meer"
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 0765ecb5e..ba02a46b3 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -4668,7 +4668,6 @@
"linkCopied": "Skopiowano link",
"more": "Więcej",
"editTitle": "Edytuj tytuł",
- "editDescription": "Edytuj opis",
"addDescription": "Dodaj opis…"
}
},
@@ -4720,23 +4719,22 @@
"parentFailed": "Zadanie zostało utworzone, ale nie udało się powiązać go z zadaniem nadrzędnym."
},
"editor": {
- "description": "Opis",
"placeholder": "Dodaj opis… Działa Markdown.",
- "write": "Edycja",
- "preview": "Podgląd",
- "nothingToPreview": "Brak treści do podglądu",
"bold": "Pogrubienie",
"italic": "Kursywa",
"heading": "Nagłówek",
"list": "Lista",
"code": "Kod",
"link": "Link",
- "boldPlaceholder": "pogrubienie",
- "italicPlaceholder": "kursywa",
- "codePlaceholder": "kod",
- "linkPlaceholder": "link",
"insertImage": "Wstaw obraz",
- "attachment": "Załącznik"
+ "attachment": "Załącznik",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Odpowiedz: {{name}}…",
@@ -5167,6 +5165,21 @@
"confirmPlaceholder": "Wpisz je ponownie",
"mismatch": "Hasła nie są zgodne",
"signOutOthers": "Wyloguj inne urządzenia"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index de80738f4..488088f76 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -4445,6 +4445,21 @@
"passwordChanged": "Senha alterada",
"photoRemoved": "Foto removida",
"photoUpdated": "Foto atualizada"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4530,21 +4545,20 @@
"editor": {
"attachment": "Anexo",
"bold": "Negrito",
- "boldPlaceholder": "negrito",
"code": "Código",
- "codePlaceholder": "código",
- "description": "Descrição",
"heading": "Título",
"insertImage": "Inserir imagem",
"italic": "Itálico",
- "italicPlaceholder": "itálico",
"link": "Link",
- "linkPlaceholder": "link",
"list": "Lista",
- "nothingToPreview": "Nada para visualizar",
"placeholder": "Adicione uma descrição… Você pode usar Markdown.",
- "preview": "Prévia",
- "write": "Escrever"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "Essa chave de API foi rejeitada.",
@@ -5073,7 +5087,6 @@
"screen": {
"addDescription": "Adicionar uma descrição…",
"copyLink": "Copiar link",
- "editDescription": "Editar descrição",
"editTitle": "Editar título",
"linkCopied": "Link copiado",
"more": "Mais"
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 6ec7aba70..1f2dcfb7c 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -4720,7 +4720,6 @@
"linkCopied": "Ссылка скопирована",
"more": "Ещё",
"editTitle": "Изменить название",
- "editDescription": "Изменить описание",
"addDescription": "Добавьте описание…"
}
},
@@ -4772,23 +4771,22 @@
"parentFailed": "Задача создана, но её не удалось связать с родительской задачей."
},
"editor": {
- "description": "Описание",
"placeholder": "Добавьте описание… Поддерживается Markdown.",
- "write": "Текст",
- "preview": "Просмотр",
- "nothingToPreview": "Нечего показать",
"bold": "Жирный",
"italic": "Курсив",
"heading": "Заголовок",
"list": "Список",
"code": "Код",
"link": "Ссылка",
- "boldPlaceholder": "жирный",
- "italicPlaceholder": "курсив",
- "codePlaceholder": "код",
- "linkPlaceholder": "ссылка",
"insertImage": "Вставить изображение",
- "attachment": "Вложение"
+ "attachment": "Вложение",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Ответить {{name}}…",
@@ -5219,6 +5217,21 @@
"confirmPlaceholder": "Введите ещё раз",
"mismatch": "Пароли не совпадают",
"signOutOthers": "Выйти на других устройствах"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index a0ed99948..8a5d72ba2 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -4368,6 +4368,21 @@
"passwordChanged": "Parola değiştirildi",
"photoRemoved": "Fotoğraf kaldırıldı",
"photoUpdated": "Fotoğraf güncellendi"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4450,21 +4465,20 @@
"editor": {
"attachment": "Ek",
"bold": "Kalın",
- "boldPlaceholder": "kalın",
"code": "Kod",
- "codePlaceholder": "kod",
- "description": "Açıklama",
"heading": "Başlık",
"insertImage": "Görsel ekle",
"italic": "İtalik",
- "italicPlaceholder": "italik",
"link": "Bağlantı",
- "linkPlaceholder": "bağlantı",
"list": "Liste",
- "nothingToPreview": "Önizlenecek bir şey yok",
"placeholder": "Açıklama ekleyin… Markdown desteklenir.",
- "preview": "Önizleme",
- "write": "Yaz"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "Bu API anahtarı reddedildi.",
@@ -4989,7 +5003,6 @@
"screen": {
"addDescription": "Açıklama ekle…",
"copyLink": "Bağlantıyı kopyala",
- "editDescription": "Açıklamayı düzenle",
"editTitle": "Başlığı düzenle",
"linkCopied": "Bağlantı kopyalandı",
"more": "Daha fazla"
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index 6223a37b3..18b1f90a3 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -4668,7 +4668,6 @@
"linkCopied": "Посилання скопійовано",
"more": "Більше",
"editTitle": "Редагувати назву",
- "editDescription": "Редагувати опис",
"addDescription": "Додайте опис…"
}
},
@@ -4720,23 +4719,22 @@
"parentFailed": "Завдання створено, але його не вдалося пов’язати з батьківським завданням."
},
"editor": {
- "description": "Опис",
"placeholder": "Додайте опис… Підтримується Markdown.",
- "write": "Текст",
- "preview": "Перегляд",
- "nothingToPreview": "Нічого переглядати",
"bold": "Жирний",
"italic": "Курсив",
"heading": "Заголовок",
"list": "Список",
"code": "Код",
"link": "Посилання",
- "boldPlaceholder": "жирний",
- "italicPlaceholder": "курсив",
- "codePlaceholder": "код",
- "linkPlaceholder": "посилання",
"insertImage": "Вставити зображення",
- "attachment": "Вкладення"
+ "attachment": "Вкладення",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Відповісти {{name}}…",
@@ -5167,6 +5165,21 @@
"confirmPlaceholder": "Введіть ще раз",
"mismatch": "Паролі не збігаються",
"signOutOthers": "Вийти на інших пристроях"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index c62434db1..f052bfd3e 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -4437,7 +4437,6 @@
"linkCopied": "Đã sao chép liên kết",
"more": "Thêm",
"editTitle": "Sửa tiêu đề",
- "editDescription": "Sửa mô tả",
"addDescription": "Thêm mô tả…"
}
},
@@ -4486,23 +4485,22 @@
"parentFailed": "Đã tạo công việc, nhưng không thể liên kết với công việc cha."
},
"editor": {
- "description": "Mô tả",
"placeholder": "Thêm mô tả… Hỗ trợ Markdown.",
- "write": "Viết",
- "preview": "Xem trước",
- "nothingToPreview": "Không có gì để xem trước",
"bold": "In đậm",
"italic": "In nghiêng",
"heading": "Tiêu đề",
"list": "Danh sách",
"code": "Mã",
"link": "Liên kết",
- "boldPlaceholder": "in đậm",
- "italicPlaceholder": "in nghiêng",
- "codePlaceholder": "mã",
- "linkPlaceholder": "liên kết",
"insertImage": "Chèn hình ảnh",
- "attachment": "Tệp đính kèm"
+ "attachment": "Tệp đính kèm",
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"composer": {
"reply": "Trả lời {{name}}…",
@@ -4897,6 +4895,21 @@
"confirmPlaceholder": "Nhập lại",
"mismatch": "Mật khẩu không khớp",
"signOutOthers": "Đăng xuất khỏi các thiết bị khác"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"notificationSettings": {
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index f82ddf954..edb96b8d7 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -4291,6 +4291,21 @@
"passwordChanged": "密码已修改",
"photoRemoved": "照片已移除",
"photoUpdated": "照片已更新"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4370,21 +4385,20 @@
"editor": {
"attachment": "附件",
"bold": "粗体",
- "boldPlaceholder": "粗体",
"code": "代码",
- "codePlaceholder": "代码",
- "description": "描述",
"heading": "标题",
"insertImage": "插入图片",
"italic": "斜体",
- "italicPlaceholder": "斜体",
"link": "链接",
- "linkPlaceholder": "链接",
"list": "列表",
- "nothingToPreview": "没有可预览的内容",
"placeholder": "添加描述…支持 Markdown。",
- "preview": "预览",
- "write": "编写"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "此 API 密钥被拒绝。",
@@ -4905,7 +4919,6 @@
"screen": {
"addDescription": "添加描述…",
"copyLink": "复制链接",
- "editDescription": "编辑描述",
"editTitle": "编辑标题",
"linkCopied": "链接已复制",
"more": "更多"
diff --git a/i18n/zh-TW.json b/i18n/zh-TW.json
index 35c6f6ebd..bc3d8cdf9 100644
--- a/i18n/zh-TW.json
+++ b/i18n/zh-TW.json
@@ -4291,6 +4291,21 @@
"passwordChanged": "已變更密碼",
"photoRemoved": "已移除照片",
"photoUpdated": "已更新照片"
+ },
+ "deleteAccount": {
+ "confirm": "Delete account",
+ "confirmLabel": "Type {{email}} to confirm",
+ "description": "Permanently delete your account and its data.",
+ "modalDescription": "This permanently deletes your account and cannot be undone. Workspaces only you belong to are deleted with it. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
+ "modalTitle": "Delete your account?",
+ "noPassword": "This account has no password. Leave the field empty.",
+ "password": "Password",
+ "passwordHint": "Leave empty if you sign in without a password.",
+ "sectionTitle": "Danger zone",
+ "sessionTooOld": "For your security, enter your password, or sign out and sign in again before deleting your account.",
+ "success": "Your account was deleted",
+ "title": "Delete account",
+ "wrongPassword": "That password is not correct."
}
},
"activity": {
@@ -4370,21 +4385,20 @@
"editor": {
"attachment": "附件",
"bold": "粗體",
- "boldPlaceholder": "粗體",
"code": "程式碼",
- "codePlaceholder": "程式碼",
- "description": "說明",
"heading": "標題",
"insertImage": "插入圖片",
"italic": "斜體",
- "italicPlaceholder": "斜體",
"link": "連結",
- "linkPlaceholder": "連結",
"list": "清單",
- "nothingToPreview": "沒有可預覽的內容",
"placeholder": "新增說明…支援 Markdown。",
- "preview": "預覽",
- "write": "撰寫"
+ "applyLink": "Apply",
+ "checklist": "Checklist",
+ "linkUrl": "URL",
+ "numberedList": "Numbered list",
+ "quote": "Quote",
+ "removeLink": "Remove link",
+ "hideKeyboard": "Hide keyboard"
},
"errors": {
"apiKeyRejected": "此 API 金鑰遭到拒絕。",
@@ -4905,7 +4919,6 @@
"screen": {
"addDescription": "新增說明…",
"copyLink": "複製連結",
- "editDescription": "編輯說明",
"editTitle": "編輯標題",
"linkCopied": "已複製連結",
"more": "更多"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index fd0bc2741..5118ad276 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -412,15 +412,30 @@ importers:
'@expo-google-fonts/geist-mono':
specifier: ^0.4.3
version: 0.4.3
+ '@expo/metro-runtime':
+ specifier: ~58.0.16
+ '@kaneo/editor':
+ specifier: workspace:*
+ version: link:../../packages/editor
'@react-native-async-storage/async-storage':
specifier: 2.2.0
'@tanstack/react-query':
specifier: ^5.105.0
version: 5.105.0(@types/[email protected])([email protected])
+ '@tiptap/core':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected])
+ '@tiptap/pm':
+ specifier: ^3.32.0
+ version: 3.32.0
+ '@tiptap/react':
+ specifier: ^3.32.0
expo:
specifier: ~58.0.19
expo-background-task:
specifier: ~58.0.11
@@ -444,7 +459,7 @@ importers:
version: 58.0.7([email protected])
expo-image:
specifier: ~58.0.17
expo-image-manipulator:
specifier: ~58.0.15
@@ -459,7 +474,7 @@ importers:
expo-router:
specifier: ~58.0.26
- version: 58.0.26(6dd5cf57e4ae2387176db467a3fcdc47)
+ version: 58.0.26(2973a342953057c7c8b7d5b4afb4edfb)
expo-secure-store:
specifier: ~58.0.2
version: 58.0.2([email protected])
@@ -471,7 +486,7 @@ importers:
expo-system-ui:
specifier: ~58.0.6
expo-task-manager:
specifier: ~58.0.12
@@ -490,9 +505,12 @@ importers:
react:
specifier: 19.3.0
version: 19.3.0
+ react-dom:
+ specifier: 19.3.0
+ version: 19.3.0([email protected])
react-i18next:
specifier: ^17.1.9
react-native:
specifier: 0.88.0
@@ -504,7 +522,7 @@ importers:
react-native-purchases:
specifier: ^10.16.0
react-native-reanimated:
specifier: 4.7.1
@@ -517,6 +535,9 @@ importers:
react-native-svg:
specifier: 15.16.0
+ react-native-web:
+ specifier: ^0.21.4
react-native-worklets:
specifier: 0.13.0
@@ -895,6 +916,9 @@ importers:
'@babel/core':
specifier: ^8.0.9
version: 8.0.9
+ '@kaneo/editor':
+ specifier: workspace:*
+ version: link:../../packages/editor
'@kaneo/libs':
specifier: workspace:*
version: link:../../packages/libs
@@ -983,6 +1007,64 @@ importers:
specifier: 'catalog:'
+ packages/editor:
+ dependencies:
+ '@tiptap/core':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected])
+ '@tiptap/extension-hard-break':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))
+ '@tiptap/extension-image':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))
+ '@tiptap/extension-placeholder':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extension-table':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ '@tiptap/extension-table-cell':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extension-table-header':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extension-table-row':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extension-task-item':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/extension-task-list':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected]))
+ '@tiptap/markdown':
+ specifier: ^3.32.0
+ version: 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ '@tiptap/pm':
+ specifier: ^3.32.0
+ version: 3.32.0
+ '@tiptap/starter-kit':
+ specifier: ^3.32.0
+ version: 3.32.0
+ devDependencies:
+ '@kaneo/typescript-config':
+ specifier: workspace:*
+ version: link:../typescript-config
+ jsdom:
+ specifier: ^30.1.3
+ version: 30.1.3(@noble/[email protected])
+ typescript:
+ specifier: ^7.0.2
+ version: 7.0.2
+ vite:
+ specifier: 'catalog:'
+ vite-plus:
+ specifier: 'catalog:'
+
packages/email:
dependencies:
'@types/node':
@@ -2417,6 +2499,17 @@ packages:
expo:
optional: true
+ resolution: {integrity: sha512-0aXQIWgTBvtzlzzqS7+oDx+DeGyX961Xxr53HzWWiyxNM9PkK7QXVV2gVeuvAYL0RIKUL1hNC0ZCz7sSkYyfww==}
+ peerDependencies:
+ '@expo/dom-webview': ^58.0.2
+ expo: '*'
+ react: '*'
+ react-native: '*'
+ peerDependenciesMeta:
+ expo:
+ optional: true
+
resolution: {integrity: sha512-T2i8chQ5PsF6zgS10AixIteBlPu8oMAcqoD9MPk6CBQvcAdM4bE/x9VuDxuqKcAvFg+bRZMq1JfGAjJcRSmKkQ==}
peerDependencies:
@@ -2428,10 +2521,10 @@ packages:
resolution: {integrity: sha512-Y2w8qKklLffZie28In4WF6f6e8nIJOhU0mZ5UaQdCiITVQm2a5teNdIDudEPkBsh8ItlvyHZt9n42PN2onRbkQ==}
- resolution: {integrity: sha512-csALn54hZUkHFM3FofWlU5MQcJB62deCt+JtHOhQogRT+k/VTtTuhLQCrCUOtO2MAUsyhrcRRa6Nh79e1bkvfg==}
+ resolution: {integrity: sha512-gE9Vx3NuqWCXcKnk4/fbJdfpkf5ABpdk+76QlzJFZ31R0ke85C7C48xKSXc4fxl+kFY0lAQYICz26107NVroNg==}
peerDependencies:
- '@expo/log-box': ^58.0.13
+ '@expo/log-box': ^58.0.14
expo: '*'
react: '*'
react-dom: '*'
@@ -4601,6 +4694,9 @@ packages:
resolution: {integrity: sha512-iPV2HNXlPs7xQDBJJGIjkH0x2psZwJeRIEpfSqxgqLaO5eEfE2Ccicfz2OBHBcIC5jKGGa4IoI/e26zMNDuTMQ==}
engines: {node: ^22.13.0 || ^24.3.0 || >= 26.0.0}
+ '@react-native/[email protected]':
+ resolution: {integrity: sha512-qoMMXddVKVhZ8PA1AbUCk83trpd6N+1nF2A6k1i6LsQObyS92fELuk8kU/lQs6M7BsMHwqyLCpQJ1uFgNvIQXg==}
+
'@react-native/[email protected]':
resolution: {integrity: sha512-eZCu3tGAQCfvMCPQJVY4dmoMX8ZZYBvqIGHX7lwOYyzNK+Dl8e5ky7ZoXub1Rq75oSrQXNNmSP2CDjNNXXZpFQ==}
@@ -6908,6 +7004,9 @@ packages:
resolution: {integrity: sha512-T17ADjdttrVToyzLpLq9Xb9xzcMwpQ/M3Qs9szhh0MVNTbv6NWQ9OFYa2qlzPYXFMn+uoDlnW1IpIv6cAvFtyA==}
engines: {node: '>=18.0'}
+ resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==}
+
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
engines: {node: '>= 8'}
@@ -6920,6 +7019,9 @@ packages:
resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-fJAcud6B3rRu+KHYk+Bwf+WFL2MDCJJ1XG9x137tJQ0xYxor7XziQtuGFbWNdqrvF4Tk26O3H73nfVqXt/fW1A==}
+
resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==}
@@ -7872,6 +7974,12 @@ packages:
resolution: {integrity: sha512-tGQtaoYisPDriJBN0mT5yZSyNETnJGA1gTYxaVRAE5KUO3LI9kPUc9WIu8JXcxaIci+faIKlzXqXyPgrmubtBQ==}
+ resolution: {integrity: sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==}
+
+ resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==}
+
resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}
engines: {node: '>=12.0.0'}
@@ -8226,6 +8334,9 @@ packages:
engines: {node: '>=18'}
hasBin: true
+ resolution: {integrity: sha512-WDC/ui2VVRrz3jOVi+XtjqkDjiVjTtFaAGiW37k6b+ohyQ5wYDOGkvCZa8+H0nx3gyvv0+BST9xuOgIyGQ00gw==}
+
resolution: {integrity: sha512-8Y/LLAm5fqZc2ckQxtTWbu75ndjNLzF7mcYl6rhc4g+WBopIsG3YhdYqF5qhJy64tlYhlU2KSSnEgW3gGHLqwg==}
@@ -8288,6 +8399,9 @@ packages:
resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==}
+ resolution: {integrity: sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==}
+
resolution: {integrity: sha512-3AcfdW1sNG0FmSA5hHMBXG7jNW5CdcdKs8ln8JOmn6S2SRkoXoJx+2UwC+ZvjflfnOdHJx0SfQ9/YjlxVYLtGQ==}
peerDependencies:
@@ -8931,6 +9045,9 @@ packages:
resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==}
+ resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==}
+
resolution: {integrity: sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==}
@@ -9307,6 +9424,15 @@ packages:
resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
+ resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==}
+ engines: {node: 4.x || >=6.0.0}
+ peerDependencies:
+ encoding: ^0.1.0
+ peerDependenciesMeta:
+ encoding:
+ optional: true
+
resolution: {integrity: sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==}
engines: {node: '>= 6.13.0'}
@@ -9869,6 +9995,9 @@ packages:
resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==}
engines: {node: '>=0.4.0'}
+ resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==}
+
resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==}
@@ -10006,6 +10135,11 @@ packages:
resolution: {integrity: sha512-ePrwPfxAnB+7hgnEr8vpKxL9cmnp7F322t8oqcPshbIQQhDKgFDW4tjhF2wjVbdXF9O/nyuy3sQWd9JGpiLPvA==}
+ resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==}
+ peerDependencies:
+ react: ^19.3.0
+
resolution: {integrity: sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==}
peerDependencies:
@@ -10136,6 +10270,12 @@ packages:
react: '*'
react-native: '*'
+ resolution: {integrity: sha512-77B6KlalB4osNIck91TNFixPkYPsTbuNEvw8P7IV+4v4/5wZSBRKZnw0Zhx6YjuauDTz71gc8IW+fVhcBMjr5A==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+
resolution: {integrity: sha512-1OrhAeAKaZF4XrBa4YbPQbKzNOpjh52HDlId8e6ete1OCHNdAlrQHzG4gznJ225EAj3dgQXHViJvK51M9B52jQ==}
peerDependencies:
@@ -10465,6 +10605,9 @@ packages:
resolution: {integrity: sha512-5/r/lTwbJ3zQ+qwdUFZYeRNqda7P5HD8zQKqlSjdGt1/S0cjLAphHusj4Y58ahDtWn/g32xrIS58/ikOvwl0Lw==}
+ resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==}
+
resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
@@ -10775,6 +10918,9 @@ packages:
babel-plugin-macros:
optional: true
+ resolution: {integrity: sha512-3ZUifmCDCQanjeej1f6kyl/BeP/Vae5EYkQ9iJfUm/QwZvlgnZzyflqAsAWYURdtea8Vkvswu2GrC57h3qffcA==}
+
resolution: {integrity: sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==}
@@ -10929,6 +11075,9 @@ packages:
resolution: {integrity: sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==}
engines: {node: '>=16'}
+ resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}
+
resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==}
engines: {node: '>=18'}
@@ -11013,6 +11162,10 @@ packages:
engines: {node: '>=16.20.0'}
hasBin: true
+ resolution: {integrity: sha512-LbBDqdIC5s8iROCUjMbW1f5dJQTEFB1+KO9ogbvlb3nm9n4YHa5p4KTvFPWvh2Hs8gZMBuiB1/8+pdfe/tDPug==}
+ hasBin: true
+
resolution: {integrity: sha512-U3PppEkleoTnIfi8BozMx3yju3qc/L6SwqWo2Sw+54PX+PX0q9I+r1Um5HCmqD7n9VDX5/v3vQH/AjA6deDdtw==}
@@ -11310,6 +11463,9 @@ packages:
resolution: {integrity: sha512-RiMReJrTAiA+mBjGONMnjVDP2u3p9R1vkcGz6gDIrOMT3oGuYwX2WRMYI9ipkphSuE5XKEhydbhNEJh4NY9mlw==}
+ resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==}
+
resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==}
engines: {node: '>=12'}
@@ -11339,6 +11495,9 @@ packages:
resolution: {integrity: sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==}
engines: {node: ^22.14.0 || >=24.0.0}
+ resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==}
+
resolution: {integrity: sha512-VGkKJ564kzt6Ms1dbgPP/yuIoQCrsFAnRbptpC5wOEsDaNsbCB2bnfnaA8i/vRs5tjUSEOtIuvl9/MyVsvQZCg==}
@@ -13221,7 +13380,7 @@ snapshots:
'@expo-google-fonts/[email protected]': {}
dependencies:
2g: 1.0.1([email protected])
'@expo/code-signing-certificates': 0.0.7
@@ -13243,7 +13402,7 @@ snapshots:
'@expo/plist': 0.10.1
'@expo/prebuild-config': 58.0.16([email protected])([email protected])
'@expo/require-utils': 58.0.4([email protected])([email protected])
'@expo/schema-utils': 58.0.2
'@expo/spawn-async': 1.8.0
'@expo/ws-tunnel': 2.0.1([email protected])
@@ -13261,7 +13420,7 @@ snapshots:
compression: 1.8.2([email protected])
connect: 3.7.0([email protected])
dnssd-advertise: 1.1.6
expo-server: 58.0.6
fetch-nodeshim: 0.4.10
getenv: 2.0.0
@@ -13288,7 +13447,7 @@ snapshots:
ws: 8.21.3
zod: 3.25.76(patch_hash=961e904f64170e793e7ee7ea99c70d9df6319e1807c59dfc2817051a075cacdd)
optionalDependencies:
- expo-router: 58.0.26(6dd5cf57e4ae2387176db467a3fcdc47)
+ expo-router: 58.0.26(2973a342953057c7c8b7d5b4afb4edfb)
transitivePeerDependencies:
- '@expo/dom-webview'
@@ -13356,13 +13515,13 @@ snapshots:
dependencies:
chalk: 4.1.2
optionalDependencies:
react: 19.3.0
dependencies:
react: 19.3.0
@@ -13434,7 +13593,18 @@ snapshots:
stacktrace-parser: 0.1.11
optionalDependencies:
+
+ dependencies:
+ '@expo/log-box-utils': 58.0.2
+ anser: 1.4.10
+ react: 19.3.0
+ stacktrace-parser: 0.1.11
+ optionalDependencies:
dependencies:
@@ -13467,7 +13637,7 @@ snapshots:
postcss: 8.5.32
resolve-from: 5.0.0
optionalDependencies:
transitivePeerDependencies:
- bufferutil
- supports-color
@@ -13486,18 +13656,18 @@ snapshots:
- supports-color
- typescript
dependencies:
anser: 1.4.10
pretty-format: 29.7.0
react: 19.3.0
stacktrace-parser: 0.1.11
whatwg-fetch: 3.6.20
optionalDependencies:
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
dependencies:
@@ -13579,18 +13749,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.4.3([email protected])
expo-server: 58.0.6
react: 19.3.0
optionalDependencies:
- expo-router: 58.0.26(6dd5cf57e4ae2387176db467a3fcdc47)
- react-dom: 19.3.1([email protected])
+ expo-router: 58.0.26(2973a342953057c7c8b7d5b4afb4edfb)
+ react-dom: 19.3.0([email protected])
transitivePeerDependencies:
- supports-color
@@ -14668,15 +14838,15 @@ snapshots:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.3.0(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.5.0(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])
react: 19.3.0
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
@@ -15034,11 +15204,11 @@ snapshots:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])
react: 19.3.0
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
@@ -15061,11 +15231,11 @@ snapshots:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
dependencies:
'@radix-ui/react-slot': 1.5.0(@types/[email protected])([email protected])
react: 19.3.0
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
@@ -15106,21 +15276,21 @@ snapshots:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.2.0
'@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.3.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.2.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.5(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.3.0(@types/[email protected])([email protected])
'@radix-ui/react-use-is-hydrated': 0.1.3(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])
react: 19.3.0
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
@@ -15253,18 +15423,18 @@ snapshots:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.2.0
'@radix-ui/react-context': 1.3.0(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.2.0(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.2.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.3.0(@types/[email protected])([email protected])
react: 19.3.0
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/[email protected])
@@ -15742,6 +15912,8 @@ snapshots:
- utf-8-validate
optional: true
+ '@react-native/[email protected]': {}
+
'@react-native/[email protected]': {}
@@ -16705,6 +16877,23 @@ snapshots:
prosemirror-transform: 1.12.4
prosemirror-view: 1.42.8
+ dependencies:
+ '@tiptap/core': 3.32.0(@tiptap/[email protected])
+ '@tiptap/pm': 3.32.0
+ '@types/react': 19.3.0
+ '@types/react-dom': 19.3.0(@types/[email protected])
+ '@types/use-sync-external-store': 0.0.6
+ fast-equals: 5.4.1
+ react: 19.3.0
+ react-dom: 19.3.0([email protected])
+ use-sync-external-store: 1.7.0([email protected])
+ optionalDependencies:
+ '@tiptap/extension-bubble-menu': 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ '@tiptap/extension-floating-menu': 3.32.0(@floating-ui/[email protected])(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
+ transitivePeerDependencies:
+ - '@floating-ui/dom'
+
dependencies:
'@tiptap/core': 3.32.0(@tiptap/[email protected])
@@ -16715,7 +16904,7 @@ snapshots:
fast-equals: 5.4.1
react: 19.3.1
react-dom: 19.3.1([email protected])
- use-sync-external-store: 1.6.0([email protected])
+ use-sync-external-store: 1.7.0([email protected])
optionalDependencies:
'@tiptap/extension-bubble-menu': 3.32.0(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
'@tiptap/extension-floating-menu': 3.32.0(@floating-ui/[email protected])(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
@@ -17527,7 +17716,7 @@ snapshots:
react-refresh: 0.14.2
optionalDependencies:
'@babel/runtime': 7.29.7
transitivePeerDependencies:
- '@babel/core'
- supports-color
@@ -18093,6 +18282,12 @@ snapshots:
+ dependencies:
+ node-fetch: 2.7.0
+ transitivePeerDependencies:
+ - encoding
+
dependencies:
path-key: 3.1.1
@@ -18105,6 +18300,10 @@ snapshots:
+ dependencies:
+ hyphenate-style-name: 1.1.0
+
dependencies:
boolbase: 1.0.0
@@ -18729,12 +18928,12 @@ snapshots:
dependencies:
dependencies:
'@expo/image-utils': 0.12.5([email protected])([email protected])
react: 19.3.0
@@ -18744,7 +18943,7 @@ snapshots:
dependencies:
transitivePeerDependencies:
- react-native
@@ -18752,13 +18951,13 @@ snapshots:
dependencies:
'@expo/schema-utils': 58.0.2
resolve-from: 5.0.0
semver: 7.8.5
dependencies:
react: 19.3.0
@@ -18766,7 +18965,7 @@ snapshots:
dependencies:
'@expo/env': 2.5.3([email protected])
'@expo/require-utils': 58.0.4([email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -18774,56 +18973,58 @@ snapshots:
dependencies:
dependencies:
react: 19.3.0
dependencies:
react: 19.3.0
dependencies:
dependencies:
dependencies:
expo-image-loader: 58.0.3([email protected])
react: 19.3.0
dependencies:
expo-image-loader: 58.0.3([email protected])
dependencies:
react: 19.3.0
sf-symbols-typescript: 2.2.0
+ optionalDependencies:
dependencies:
react: 19.3.0
dependencies:
invariant: 2.2.4
react: 19.3.0
@@ -18874,7 +19075,7 @@ snapshots:
'@expo/image-utils': 0.12.5([email protected])([email protected])
abort-controller: 3.0.0
badgin: 1.2.3
expo-application: 58.1.2([email protected])
react: 19.3.0
@@ -18883,17 +19084,17 @@ snapshots:
- supports-color
- typescript
- [email protected](6dd5cf57e4ae2387176db467a3fcdc47):
+ [email protected](2973a342953057c7c8b7d5b4afb4edfb):
dependencies:
'@expo/schema-utils': 58.0.2
'@radix-ui/react-slot': 1.5.0(@types/[email protected])([email protected])
'@react-native/normalize-colors': 0.88.0
client-only: 0.0.1
@@ -18911,9 +19112,10 @@ snapshots:
sf-symbols-typescript: 2.2.0
standard-navigation: 0.0.5
optionalDependencies:
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
transitivePeerDependencies:
- '@types/react'
@@ -18921,7 +19123,7 @@ snapshots:
dependencies:
@@ -18929,7 +19131,7 @@ snapshots:
dependencies:
'@expo/config-plugins': 58.0.10([email protected])([email protected])
'@expo/image-utils': 0.12.5([email protected])([email protected])
xml2js: 0.6.0
transitivePeerDependencies:
- supports-color
@@ -18937,34 +19139,36 @@ snapshots:
dependencies:
react: 19.3.0
dependencies:
'@react-native/normalize-colors': 0.88.0
debug: 4.4.3([email protected])
+ optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
unimodules-app-loader: 58.0.2
dependencies:
dependencies:
'@babel/runtime': 7.29.7
'@expo/config': 58.0.8([email protected])([email protected])
'@expo/config-plugins': 58.0.10([email protected])([email protected])
@@ -18991,8 +19195,9 @@ snapshots:
react-refresh: 0.14.2
whatwg-url-minimum: 0.2.0
optionalDependencies:
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
transitivePeerDependencies:
- '@babel/core'
- bufferutil
@@ -19080,6 +19285,20 @@ snapshots:
dependencies:
bser: 2.1.2
+
+ dependencies:
+ cross-fetch: 3.2.0
+ fbjs-css-vars: 1.0.2
+ loose-envify: 1.4.0
+ object-assign: 4.1.1
+ promise: 7.3.1
+ setimmediate: 1.0.5
+ ua-parser-js: 1.0.41
+ transitivePeerDependencies:
+ - encoding
+
optionalDependencies:
picomatch: 4.0.7
@@ -19456,6 +19675,8 @@ snapshots:
+
dependencies:
'@babel/runtime': 7.29.7
@@ -19504,6 +19725,10 @@ snapshots:
+ dependencies:
+ css-in-js-utils: 3.1.0
+
dependencies:
react: 19.3.1
@@ -20094,6 +20319,8 @@ snapshots:
+
optional: true
@@ -20702,6 +20929,10 @@ snapshots:
optional: true
+ dependencies:
+ whatwg-url: 5.0.0
+
[email protected](patch_hash=7af5fa910c9692d7af8fa33df2f5a3d74505f4e7c46a012d0e0137903d01215c): {}
@@ -21262,6 +21493,10 @@ snapshots:
+ dependencies:
+ asap: 2.0.6
+
dependencies:
asap: 2.0.6
@@ -21490,10 +21725,16 @@ snapshots:
- bufferutil
- utf-8-validate
+ dependencies:
+ react: 19.3.0
+ scheduler: 0.28.0
+
dependencies:
react: 19.3.0
scheduler: 0.28.0
+ optional: true
dependencies:
@@ -21543,7 +21784,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.3.0
dependencies:
'@babel/runtime': 7.29.7
html-parse-stringify: 4.0.1
@@ -21551,7 +21792,7 @@ snapshots:
react: 19.3.0
use-sync-external-store: 1.6.0([email protected])
optionalDependencies:
- react-dom: 19.3.1([email protected])
+ react-dom: 19.3.0([email protected])
typescript: 7.0.2
@@ -21627,12 +21868,14 @@ snapshots:
react-native-fit-image: 1.5.5
dependencies:
'@revenuecat/purchases-js-hybrid-mappings': 19.17.0
'@revenuecat/purchases-typescript-internal': 19.17.0
react: 19.3.0
+ optionalDependencies:
dependencies:
@@ -21661,6 +21904,21 @@ snapshots:
react: 19.3.0
+ dependencies:
+ '@babel/runtime': 7.29.7
+ '@react-native/normalize-colors': 0.74.89
+ fbjs: 3.0.5
+ inline-style-prefixer: 7.0.1
+ memoize-one: 6.0.0
+ nullthrows: 1.1.1
+ postcss-value-parser: 4.2.0
+ react: 19.3.0
+ react-dom: 19.3.0([email protected])
+ styleq: 0.1.3
+ transitivePeerDependencies:
+ - encoding
+
dependencies:
'@babel/core': 7.29.7([email protected])
@@ -22159,6 +22417,8 @@ snapshots:
+
@@ -22562,6 +22822,8 @@ snapshots:
optionalDependencies:
'@babel/core': 8.0.9
+
@@ -22725,6 +22987,8 @@ snapshots:
dependencies:
tldts: 7.4.10
+
dependencies:
punycode: 2.3.1
@@ -22814,6 +23078,8 @@ snapshots:
'@typescript/typescript-win32-arm64': 7.0.2
'@typescript/typescript-win32-x64': 7.0.2
+
@@ -22939,6 +23205,10 @@ snapshots:
dependencies:
react: 19.3.1
+ dependencies:
+ react: 19.3.0
+
dependencies:
react: 19.3.1
@@ -23085,6 +23355,8 @@ snapshots:
+
optional: true
@@ -23112,6 +23384,11 @@ snapshots:
transitivePeerDependencies:
- '@noble/hashes'
+ dependencies:
+ tr46: 0.0.3
+ webidl-conversions: 3.0.1
+
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index d8fd2dd01..27975d433 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -106,3 +106,5 @@ minimumReleaseAgeExclude:
+ - "@expo/[email protected]"
+ - "@expo/[email protected]"