⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(mobile): set parent tasks, keep moved tasks in order, and localize the photo prompt
Tincdf5df477d1d
diff --git a/apps/mobile/README.md b/apps/mobile/README.mdindex f7d063a6e..aed74b484 100644--- a/apps/mobile/README.md+++ b/apps/mobile/README.md@@ -11,7 +11,7 @@ The Kaneo app for Android and iOS, built with Expo and React Native. Works with- **Boards**: swipe between columns, or use the list view. Show the backlog and archived tasks. Filter by text, assignee, priority, label or overdue. Long-press a card to move it, change its priority or assignee, or send it to the top or bottom of its column.- **Columns**: add, rename, reorder, mark as done, delete.- **Tasks**: create with every field (including custom fields), edit the title, Markdown description (with preview and image upload), status, priority, assignee, start and due dates, and labels (you can create labels inline). Duplicate, move to another project, share, copy the link, delete.-- **Subtasks and relations**: add subtasks, check them off, link related or blocking tasks.+- **Subtasks and relations**: add subtasks, check them off, set or change the parent task, link related or blocking tasks.- **Links**: attach URLs; synced integration links are shown read-only.- **Custom fields**: text, number, date, checkbox, dropdown, multi-select. Define them in project settings.- **Time tracking**: start/stop a timer, log time manually, edit your entries.diff --git a/apps/mobile/app.json b/apps/mobile/app.jsonindex 0ec4a5d7a..bcb1428f2 100644--- a/apps/mobile/app.json+++ b/apps/mobile/app.json@@ -18,7 +18,8 @@"infoPlist": {"NSAppTransportSecurity": {"NSAllowsArbitraryLoads": true- }+ },+ "CFBundleAllowMixedLocalizations": true}},"android": {@@ -67,6 +68,7 @@"expo-font","./plugins/with-gradle-memory","./plugins/with-release-signing",+ "./plugins/with-permission-locales",["expo-build-properties",{diff --git a/apps/mobile/plugins/with-permission-locales.js b/apps/mobile/plugins/with-permission-locales.jsnew file mode 100644index 000000000..e5256b775--- /dev/null+++ b/apps/mobile/plugins/with-permission-locales.js@@ -0,0 +1,29 @@+const fs = require("node:fs");+const path = require("node:path");++const CATALOG = path.join(__dirname, "../../../i18n");+// iOS matches InfoPlist.strings by language, except Chinese, which it matches by script.+const LPROJ = { "zh-CN": "zh-Hans", "zh-TW": "zh-Hant" };++/**+ * iOS shows permission prompts with the text from Info.plist, which can't come from i18next at+ * runtime. This copies `mobile.permissions` from the shared catalog into per-language+ * InfoPlist.strings, so the photo prompt matches the app's language. The English text in app.json+ * stays the fallback for languages without a catalog.+ */+module.exports = function withPermissionLocales(config) {+ const locales = { ...config.locales };+ for (const file of fs.readdirSync(CATALOG)) {+ if (!/^[a-z]{2}-[A-Z]{2}\.json$/.test(file)) continue;+ const locale = file.slice(0, -".json".length);+ const { permissions } = JSON.parse(+ fs.readFileSync(path.join(CATALOG, file), "utf8"),+ ).mobile;+ const lang = LPROJ[locale] ?? locale.split("-")[0];+ locales[lang] = {+ ...locales[lang],+ ios: { NSPhotoLibraryUsageDescription: permissions.photos },+ };+ }+ return { ...config, locales };+};diff --git a/apps/mobile/src/app/(app)/board/[projectId].tsx b/apps/mobile/src/app/(app)/board/[projectId].tsxindex c12154abb..57eae9b60 100644--- a/apps/mobile/src/app/(app)/board/[projectId].tsx+++ b/apps/mobile/src/app/(app)/board/[projectId].tsx@@ -37,6 +37,7 @@ import { Txt } from "@/components/text";import { IconButton, Touch } from "@/components/ui";import {emptyFilters,+ endPosition,filterCount,lanes as buildLanes,type BoardFilters,@@ -671,12 +672,20 @@ export default function BoardScreen() {if (!quick) return;const task = quick.task;const target = lanes.find((l) => l.status === status);- void run(() => api.updateStatus(task.id, status), {- success: t("mobile:board.movedTask", {- ticket: ticketId(slug, task.number),- status: target?.name ?? status,- }),- });+ const data = board.data;+ if (!data) return;+ void run(+ () =>+ api.reorderTasks(projectId, [+ { id: task.id, position: endPosition(data, status), status },+ ]),+ {+ success: t("mobile:board.movedTask", {+ ticket: ticketId(slug, task.number),+ status: target?.name ?? status,+ }),+ },+ );}}onAssign={(userId) => {if (quick) void run(() => api.updateAssignee(quick.task.id, userId));diff --git a/apps/mobile/src/app/(app)/task/[taskId].tsx b/apps/mobile/src/app/(app)/task/[taskId].tsxindex 8797b379a..5884513f9 100644--- a/apps/mobile/src/app/(app)/task/[taskId].tsx+++ b/apps/mobile/src/app/(app)/task/[taskId].tsx@@ -274,6 +274,7 @@ export default function TaskScreen() {/><RelationstaskId={task.id}+ projectId={task.projectId}relations={ex.relations}workspaceId={workspaceId}onOpen={(id) =>diff --git a/apps/mobile/src/app/sign-in.tsx b/apps/mobile/src/app/sign-in.tsxindex 533a0fd5a..74cc31d1e 100644--- a/apps/mobile/src/app/sign-in.tsx+++ b/apps/mobile/src/app/sign-in.tsx@@ -37,6 +37,7 @@ import {} from "@/lib/api/client";import type { DeviceCodeResponse, InstanceConfig } from "@/lib/api/types";import * as auth from "@/lib/auth";+import { reachableDeviceLink } from "@/lib/device-link";import { i18n } from "@/lib/i18n";import { usePrefs } from "@/lib/session";import { font, useColors } from "@/theme";@@ -723,7 +724,11 @@ function DeviceStep({};}, [serverUrl]);- const link = device?.verification_uri_complete ?? device?.verification_uri;+ const verification =+ device?.verification_uri_complete ?? device?.verification_uri;+ const link = verification+ ? reachableDeviceLink(verification, serverUrl)+ : undefined;const openBrowser = async (link: string) => {// Tells the approval page to send the user back here when they're done.diff --git a/apps/mobile/src/features/board/model.test.ts b/apps/mobile/src/features/board/model.test.tsindex 7a7378e5f..44ab58ac2 100644--- a/apps/mobile/src/features/board/model.test.ts+++ b/apps/mobile/src/features/board/model.test.ts@@ -1,6 +1,13 @@import { describe, expect, it } from "vite-plus/test";import type { BoardData, BoardTask } from "@/lib/api/types";-import { emptyFilters, filterCount, lanes, matches, UNASSIGNED } from "./model";+import {+ emptyFilters,+ endPosition,+ filterCount,+ lanes,+ matches,+ UNASSIGNED,+} from "./model";function task(overrides: Partial<BoardTask> = {}): BoardTask {return {@@ -92,3 +99,30 @@ describe("lanes", () => {expect(done.isFinal).toBe(true);});});++describe("endPosition", () => {+ const data: BoardData = {+ id: "p1",+ name: "Kaneo",+ slug: "kan",+ workspaceId: "w1",+ columns: [+ {+ id: "c1",+ slug: "to-do",+ name: "To do",+ tasks: [task({ position: 7 }), task({ id: "t2", position: 3 })],+ },+ { id: "c2", slug: "done", name: "Done", tasks: [] },+ ],+ plannedTasks: [task({ id: "t3", status: "planned", position: null })],+ archivedTasks: [],+ };++ it("places a moved task after every task in the destination", () => {+ expect(endPosition(data, "to-do")).toBe(8);+ expect(endPosition(data, "done")).toBe(0);+ expect(endPosition(data, "planned")).toBe(1);+ expect(endPosition(data, "archived")).toBe(0);+ });+});diff --git a/apps/mobile/src/features/board/model.ts b/apps/mobile/src/features/board/model.tsindex 3d79c6581..f6dcd0743 100644--- a/apps/mobile/src/features/board/model.ts+++ b/apps/mobile/src/features/board/model.ts@@ -104,3 +104,17 @@ export function lanes(});return out;}++/**+ * A position after every task in `status`. The status endpoint keeps a moved task's old position,+ * which can drop it anywhere in the new column, so moves go through reorder with this instead.+ */+export function endPosition(data: BoardData, status: string): number {+ const tasks =+ status === STATUS_PLANNED+ ? data.plannedTasks+ : status === STATUS_ARCHIVED+ ? data.archivedTasks+ : (data.columns.find((col) => col.slug === status)?.tasks ?? []);+ return tasks.reduce((max, t) => Math.max(max, (t.position ?? 0) + 1), 0);+}diff --git a/apps/mobile/src/features/task/relation-link.test.ts b/apps/mobile/src/features/task/relation-link.test.tsnew file mode 100644index 000000000..5a1b4bcf3--- /dev/null+++ b/apps/mobile/src/features/task/relation-link.test.ts@@ -0,0 +1,82 @@+import { describe, expect, it } from "vite-plus/test";+import type { SearchResult, TaskRelation } from "@/lib/api/types";+import { linkCandidates, parentRelation, relationLink } from "./relation-link";++const relations: TaskRelation[] = [+ {+ id: "r1",+ sourceTaskId: "parent",+ targetTaskId: "t1",+ relationType: "subtask",+ },+ {+ id: "r2",+ sourceTaskId: "t1",+ targetTaskId: "child",+ relationType: "subtask",+ },+ {+ id: "r3",+ sourceTaskId: "t1",+ targetTaskId: "other",+ relationType: "related",+ },+];++function result(id: string, projectId = "p1"): SearchResult {+ return { id, type: "task", title: id, projectId };+}++describe("parentRelation", () => {+ it("finds the link that names the task's parent", () => {+ expect(parentRelation("t1", relations)?.id).toBe("r1");+ expect(parentRelation("child", relations)?.id).toBe("r2");+ expect(parentRelation("other", relations)).toBeUndefined();+ });+});++describe("relationLink", () => {+ it("links related and blocking tasks from this task", () => {+ expect(relationLink("blocks", "t1", "x", relations)).toEqual({+ sourceTaskId: "t1",+ targetTaskId: "x",+ relationType: "blocks",+ });+ });++ it("makes the picked task the parent and replaces the old parent", () => {+ expect(relationLink("parent", "t1", "x", relations)).toEqual({+ sourceTaskId: "x",+ targetTaskId: "t1",+ relationType: "subtask",+ replaces: "r1",+ });+ expect(relationLink("parent", "other", "x", relations).replaces).toBe(+ undefined,+ );+ });+});++describe("linkCandidates", () => {+ const results = [+ result("t1"),+ result("parent"),+ result("child"),+ result("other"),+ result("elsewhere", "p2"),+ ];++ it("offers every other task for plain links", () => {+ expect(+ linkCandidates(results, "related", "t1", "p1", relations).map(+ (r) => r.id,+ ),+ ).toEqual(["parent", "child", "other", "elsewhere"]);+ });++ it("offers only same-project tasks that don't make a loop as parents", () => {+ expect(+ linkCandidates(results, "parent", "t1", "p1", relations).map((r) => r.id),+ ).toEqual(["other"]);+ });+});diff --git a/apps/mobile/src/features/task/relation-link.ts b/apps/mobile/src/features/task/relation-link.tsnew file mode 100644index 000000000..17406c586--- /dev/null+++ b/apps/mobile/src/features/task/relation-link.ts@@ -0,0 +1,53 @@+import type { SearchResult, TaskRelation } from "@/lib/api/types";++export type LinkKind = "related" | "blocks" | "parent";++/** The relation that links a task as its parent: the parent is the source of a `subtask` link. */+export function parentRelation(taskId: string, relations: TaskRelation[]) {+ return relations.find(+ (r) => r.relationType === "subtask" && r.targetTaskId === taskId,+ );+}++/**+ * The relation to create when picking `pickedId`. A task has one parent, like on the web, so a new+ * parent also names the old parent link to remove afterwards.+ */+export function relationLink(+ kind: LinkKind,+ taskId: string,+ pickedId: string,+ relations: TaskRelation[],+) {+ if (kind !== "parent")+ return { sourceTaskId: taskId, targetTaskId: pickedId, relationType: kind };+ return {+ sourceTaskId: pickedId,+ targetTaskId: taskId,+ relationType: "subtask",+ replaces: parentRelation(taskId, relations)?.id,+ };+}++/**+ * Search results that can be linked. Parents come from the task's own project, as on the web, and+ * can't be the current parent or one of its subtasks, which would make a loop.+ */+export function linkCandidates(+ results: SearchResult[],+ kind: LinkKind,+ taskId: string,+ projectId: string | undefined,+ relations: TaskRelation[],+) {+ const others = results.filter((r) => r.id !== taskId);+ if (kind !== "parent") return others;+ const excluded = new Set(+ relations+ .filter((r) => r.relationType === "subtask")+ .map((r) =>+ r.sourceTaskId === taskId ? r.targetTaskId : r.sourceTaskId,+ ),+ );+ return others.filter((r) => r.projectId === projectId && !excluded.has(r.id));+}diff --git a/apps/mobile/src/features/task/sections.tsx b/apps/mobile/src/features/task/sections.tsxindex d94fe548d..0bce37b5b 100644--- a/apps/mobile/src/features/task/sections.tsx+++ b/apps/mobile/src/features/task/sections.tsx@@ -54,6 +54,12 @@ import {import { qk, useAction } from "@/lib/query";import { font, useColors } from "@/theme";+import {+ linkCandidates,+ parentRelation,+ relationLink,+ type LinkKind,+} from "./relation-link";import { entrySeconds, type TaskExtras } from "./use-task";export function SectionTitle({@@ -120,30 +126,9 @@ function stringList(value: Json | undefined | null): string[] {// --- Custom fields ----// Like the web card row: the first values as text, then a muted "+N".+// Like the web card row: values as plain text; multi-select shows the first few, then a muted "+N".const VISIBLE_OPTIONS = 2;-function FieldChip({ label }: { label: string }) {- const c = useColors();- return (- <View- style={{- maxWidth: "100%",- paddingHorizontal: 8,- height: 24,- justifyContent: "center",- borderRadius: 6,- backgroundColor: c.fill,- alignSelf: "flex-start",- }}- >- <Txt variant="meta" weight="medium" numberOfLines={1}>- {label}- </Txt>- </View>- );-}-export function CustomFields({taskId,extras,@@ -185,17 +170,14 @@ export function CustomFields({</Txt>) : null;} else if (value) {- display =- f.type === "dropdown" ? (- <FieldChip label={value} />- ) : (- <Txt- variant={f.type === "number" ? "monoMd" : "bodySm"}- numberOfLines={3}- >- {f.type === "date" ? formatDate(value) : value}- </Txt>- );+ display = (+ <Txt+ variant={f.type === "number" ? "monoMd" : "bodySm"}+ numberOfLines={3}+ >+ {f.type === "date" ? formatDate(value) : value}+ </Txt>+ );}return (<Touch@@ -296,9 +278,9 @@ export function Subtasks({r.targetTask,).map((r) => r.targetTask!);- const parent = relations.find(- (r) => r.relationType === "subtask" && r.targetTaskId === taskId,- )?.sourceTask;+ const parentLink = parentRelation(taskId, relations);+ const parent = parentLink?.sourceTask;+ const [removingParent, setRemovingParent] = useState(false);const done = subtasks.filter((s) => s.isCompleted).length;const setDone = (sub: RelatedTask, isDone: boolean) =>@@ -340,6 +322,13 @@ export function Subtasks({{parent.title}</Txt></View>+ <IconButton+ label={t("mobile:taskDetail.relations.remove")}+ size={28}+ onPress={() => setRemovingParent(true)}+ >+ <X size={14} color={c.faint} />+ </IconButton></Touch>) : null}{subtasks.map((s) => (@@ -375,6 +364,16 @@ export function Subtasks({{t("mobile:taskDetail.subtasks.empty")}</Txt>) : null}+ <ConfirmDialog+ visible={removingParent}+ title={t("mobile:taskDetail.relations.removeTitle")}+ message={t("mobile:taskDetail.relations.removeMessage")}+ confirmLabel={t("mobile:taskDetail.relations.removeConfirm")}+ onClose={() => setRemovingParent(false)}+ onConfirm={() =>+ parentLink && run(() => api.deleteRelation(parentLink.id))+ }+ /></View>);}@@ -383,11 +382,13 @@ export function Subtasks({export function Relations({taskId,+ projectId,relations,workspaceId,onOpen,}: {taskId: string;+ projectId: string;relations: TaskRelation[];workspaceId?: string | null;onOpen: (id: string) => void;@@ -468,6 +469,8 @@ export function Relations({visible={adding}onClose={() => setAdding(false)}taskId={taskId}+ projectId={projectId}+ relations={relations}workspaceId={workspaceId}/><ConfirmDialog@@ -482,29 +485,26 @@ export function Relations({);}-function AddRelationSheet({- visible,- onClose,- taskId,- workspaceId,-}: {- visible: boolean;+type AddRelationProps = {onClose: () => void;taskId: string;+ projectId: string;+ relations: TaskRelation[];workspaceId?: string | null;-}) {+};++function AddRelationSheet({+ visible,+ ...props+}: AddRelationProps & { visible: boolean }) {const { t } = useTranslation(["mobile"]);return (<Sheetvisible={visible}- onClose={onClose}+ onClose={props.onClose}title={t("mobile:taskDetail.relations.link")}>- <AddRelationBody- onClose={onClose}- taskId={taskId}- workspaceId={workspaceId}- />+ <AddRelationBody {...props} /></Sheet>);}@@ -512,17 +512,15 @@ function AddRelationSheet({function AddRelationBody({onClose,taskId,+ projectId,+ relations,workspaceId,-}: {- onClose: () => void;- taskId: string;- workspaceId?: string | null;-}) {+}: AddRelationProps) {const { t } = useTranslation(["mobile"]);const { run } = useAction();const [query, setQuery] = useState("");const [debounced, setDebounced] = useState("");- const [type, setType] = useState<"related" | "blocks">("related");+ const [type, setType] = useState<LinkKind>("related");useEffect(() => {const timer = setTimeout(() => setDebounced(query.trim()), 300);return () => clearTimeout(timer);@@ -533,21 +531,28 @@ function AddRelationBody({enabled: !!debounced && !!workspaceId,});const results: SearchResult[] = debounced- ? (search.data?.results ?? []).filter((x) => x.id !== taskId)+ ? linkCandidates(+ search.data?.results ?? [],+ type,+ taskId,+ projectId,+ relations,+ ): [];+ const labels: Record<LinkKind, string> = {+ related: t("mobile:taskDetail.relations.relatedTo"),+ blocks: t("mobile:taskDetail.relations.blocks"),+ parent: t("mobile:taskDetail.subtasks.parent"),+ };return (<><View style={{ paddingHorizontal: 20, gap: 10, paddingBottom: 8 }}><View style={{ flexDirection: "row", gap: 6 }}>- {(["related", "blocks"] as const).map((kind) => (+ {(["related", "blocks", "parent"] as const).map((kind) => (<Buttonkey={kind}- label={- kind === "related"- ? t("mobile:taskDetail.relations.relatedTo")- : t("mobile:taskDetail.relations.blocks")- }+ label={labels[kind]}kind={type === kind ? "primary" : "secondary"}size="sm"grow@@ -567,7 +572,15 @@ function AddRelationBody({<Touchkey={r.id}onPress={() => {- void run(() => api.createRelation(taskId, r.id, type));+ const link = relationLink(type, taskId, r.id, relations);+ void run(async () => {+ await api.createRelation(+ link.sourceTaskId,+ link.targetTaskId,+ link.relationType,+ );+ if (link.replaces) await api.deleteRelation(link.replaces);+ });onClose();}}style={{diff --git a/apps/mobile/src/lib/device-link.test.ts b/apps/mobile/src/lib/device-link.test.tsnew file mode 100644index 000000000..649c93069--- /dev/null+++ b/apps/mobile/src/lib/device-link.test.ts@@ -0,0 +1,33 @@+import { describe, expect, it } from "vite-plus/test";+import { reachableDeviceLink } from "./device-link";++describe("reachableDeviceLink", () => {+ it("points a localhost link at the server the app connected to", () => {+ expect(+ reachableDeviceLink(+ "http://localhost/device?user_code=ABCD",+ "http://192.168.1.20:1337",+ ),+ ).toBe("http://192.168.1.20:1337/device?user_code=ABCD");+ expect(+ reachableDeviceLink(+ "http://127.0.0.1:5173/device",+ "https://kaneo.example.com",+ ),+ ).toBe("https://kaneo.example.com/device");+ expect(+ reachableDeviceLink("http://[::1]:5173/device", "http://10.0.0.2"),+ ).toBe("http://10.0.0.2/device");+ });++ it("keeps links that are already reachable", () => {+ const link = "https://cloud.kaneo.app/device?user_code=ABCD";+ expect(reachableDeviceLink(link, "https://cloud.kaneo.app")).toBe(link);+ expect(reachableDeviceLink(link, "http://localhost:1337")).toBe(link);+ });++ it("keeps a localhost link when the app also talks to localhost", () => {+ const link = "http://localhost:5173/device";+ expect(reachableDeviceLink(link, "http://localhost:1337")).toBe(link);+ });+});diff --git a/apps/mobile/src/lib/device-link.ts b/apps/mobile/src/lib/device-link.tsnew file mode 100644index 000000000..f9d1a0590--- /dev/null+++ b/apps/mobile/src/lib/device-link.ts@@ -0,0 +1,33 @@+const ORIGIN = /^https?:\/\/[^/?#]*/i;++function hostOf(origin: string) {+ const authority = origin.replace(/^https?:\/\//i, "").replace(/^[^@]*@/, "");+ const host = authority.startsWith("[")+ ? authority.slice(0, authority.indexOf("]") + 1)+ : authority.split(":")[0];+ return (host ?? "").toLowerCase();+}++function isLoopback(host: string) {+ return (+ host === "localhost" ||+ host.endsWith(".localhost") ||+ host.startsWith("127.") ||+ host === "[::1]" ||+ host === "0.0.0.0"+ );+}++/**+ * The API builds the approval link from its configured web URL, which some deployments leave at+ * `http://localhost`. On a phone that opens the phone itself, so such links are pointed at the+ * server the app connected to, keeping the path and query.+ */+export function reachableDeviceLink(link: string, serverUrl: string): string {+ const linkOrigin = link.match(ORIGIN)?.[0];+ const serverOrigin = serverUrl.match(ORIGIN)?.[0];+ if (!linkOrigin || !serverOrigin) return link;+ if (!isLoopback(hostOf(linkOrigin)) || isLoopback(hostOf(serverOrigin)))+ return link;+ return serverOrigin + link.slice(linkOrigin.length);+}diff --git a/i18n/az-AZ.json b/i18n/az-AZ.jsonindex f45096660..491a232ba 100644--- a/i18n/az-AZ.json+++ b/i18n/az-AZ.json@@ -4511,7 +4511,7 @@"taskTitle": "Tapşırıq başlığı","labelsAndParentFailed": "Tapşırıq yaradıldı, lakin bəzi etiketlər və əsas tapşırıqla əlaqə yadda saxlanıla bilmədi.","labelsFailed": "Tapşırıq yaradıldı, lakin bəzi etiketlər əlavə edilə bilmədi.",- "parentFailed": "Tapşırıq yaradıldı, lakin əsas tapşırıqla əlaqələndirilə bilmədi. Əsas tapşırığı veb tətbiqindən təyin edin."+ "parentFailed": "Tapşırıq yaradıldı, lakin əsas tapşırıqla əlaqələndirilə bilmədi."},"time": {"durationHoursMinutes": "{{hours}} saat {{minutes}} dəq",@@ -4597,6 +4597,9 @@"members": "Üzvlər","settings": "İş sahəsi ayarları","title": "İş sahələri"+ },+ "permissions": {+ "photos": "Kaneo şəkillərinizdən tapşırıqlara və şərhlərə şəkil əlavə etmək, həmçinin profil şəkliniz üçün istifadə edir."}}}diff --git a/i18n/de-DE.json b/i18n/de-DE.jsonindex 555164bc4..9d7a8ff0c 100644--- a/i18n/de-DE.json+++ b/i18n/de-DE.json@@ -4015,7 +4015,7 @@"noLabels": "In diesem Workspace gibt es noch keine Labels.","labelsAndParentFailed": "Aufgabe erstellt, aber einige Labels und die Verknüpfung zur übergeordneten Aufgabe konnten nicht gespeichert werden.","labelsFailed": "Aufgabe erstellt, aber einige Labels konnten nicht hinzugefügt werden.",- "parentFailed": "Aufgabe erstellt, aber sie konnte nicht mit der übergeordneten Aufgabe verknüpft werden. Lege die übergeordnete Aufgabe im Web fest."+ "parentFailed": "Aufgabe erstellt, aber sie konnte nicht mit der übergeordneten Aufgabe verknüpft werden."},"editor": {"description": "Beschreibung",@@ -4597,6 +4597,9 @@"toast": {"deleted": "Label gelöscht"}+ },+ "permissions": {+ "photos": "Kaneo verwendet deine Fotos, um Bilder an Aufgaben und Kommentare anzuhängen, und für dein Profilbild."}}}diff --git a/i18n/el-GR.json b/i18n/el-GR.jsonindex da17e9d97..b62bd24ab 100644--- a/i18n/el-GR.json+++ b/i18n/el-GR.json@@ -4015,7 +4015,7 @@"noLabels": "Δεν υπάρχουν ετικέτες σε αυτόν τον χώρο εργασίας ακόμα.","labelsAndParentFailed": "Η εργασία δημιουργήθηκε, αλλά δεν ήταν δυνατή η αποθήκευση ορισμένων ετικετών και της σύνδεσης με τη γονική εργασία.","labelsFailed": "Η εργασία δημιουργήθηκε, αλλά δεν ήταν δυνατή η προσθήκη ορισμένων ετικετών.",- "parentFailed": "Η εργασία δημιουργήθηκε, αλλά δεν ήταν δυνατή η σύνδεσή της με τη γονική εργασία. Ορίστε τη γονική εργασία από την εφαρμογή ιστού."+ "parentFailed": "Η εργασία δημιουργήθηκε, αλλά δεν ήταν δυνατή η σύνδεσή της με τη γονική εργασία."},"editor": {"description": "Περιγραφή",@@ -4597,6 +4597,9 @@"toast": {"deleted": "Η ετικέτα διαγράφηκε"}+ },+ "permissions": {+ "photos": "Το Kaneo χρησιμοποιεί τις φωτογραφίες σας για να επισυνάπτει εικόνες σε εργασίες και σχόλια, καθώς και για τη φωτογραφία προφίλ σας."}}}diff --git a/i18n/en-US.json b/i18n/en-US.jsonindex 2ac1c28e0..22e73a4f0 100644--- a/i18n/en-US.json+++ b/i18n/en-US.json@@ -4014,7 +4014,7 @@"taskTitle": "Task title","noLabels": "No labels in this workspace yet.","labelsFailed": "Task created, but some labels couldn't be added.",- "parentFailed": "Task created, but it couldn't be linked to the parent. Set the parent from the web app.",+ "parentFailed": "Task created, but it couldn't be linked to the parent.","labelsAndParentFailed": "Task created, but some labels and the parent link couldn't be saved."},"editor": {@@ -4597,6 +4597,9 @@"toast": {"deleted": "Label deleted"}+ },+ "permissions": {+ "photos": "Kaneo uses your photos to attach images to tasks and comments, and for your profile photo."}}}diff --git a/i18n/es-ES.json b/i18n/es-ES.jsonindex 43c121b95..a925fca3d 100644--- a/i18n/es-ES.json+++ b/i18n/es-ES.json@@ -4078,7 +4078,7 @@"noLabels": "Aún no hay etiquetas en este espacio de trabajo.","labelsAndParentFailed": "Tarea creada, pero no se han podido guardar algunas etiquetas ni el vínculo con la tarea principal.","labelsFailed": "Tarea creada, pero no se han podido añadir algunas etiquetas.",- "parentFailed": "Tarea creada, pero no se ha podido vincular a la tarea principal. Establece la tarea principal desde la web."+ "parentFailed": "Tarea creada, pero no se ha podido vincular a la tarea principal."},"editor": {"description": "Descripción",@@ -4674,6 +4674,9 @@"toast": {"deleted": "Etiqueta eliminada"}+ },+ "permissions": {+ "photos": "Kaneo usa tus fotos para adjuntar imágenes a tareas y comentarios, y para tu foto de perfil."}}}diff --git a/i18n/fr-FR.json b/i18n/fr-FR.jsonindex 740dbf5cd..d97e9e5ec 100644--- a/i18n/fr-FR.json+++ b/i18n/fr-FR.json@@ -4078,7 +4078,7 @@"noLabels": "Aucun label dans cet espace de travail pour l'instant.","labelsAndParentFailed": "Tâche créée, mais certains labels et le lien vers la tâche parente n'ont pas pu être enregistrés.","labelsFailed": "Tâche créée, mais certains labels n'ont pas pu être ajoutés.",- "parentFailed": "Tâche créée, mais elle n'a pas pu être liée à la tâche parente. Définissez la tâche parente sur le web."+ "parentFailed": "Tâche créée, mais elle n'a pas pu être liée à la tâche parente."},"editor": {"description": "Description",@@ -4674,6 +4674,9 @@"toast": {"deleted": "Label supprimé"}+ },+ "permissions": {+ "photos": "Kaneo utilise vos photos pour joindre des images aux tâches et aux commentaires, et pour votre photo de profil."}}}diff --git a/i18n/hi-IN.json b/i18n/hi-IN.jsonindex c16a490d8..40e42bfdd 100644--- a/i18n/hi-IN.json+++ b/i18n/hi-IN.json@@ -4015,7 +4015,7 @@"noLabels": "इस वर्कस्पेस में अभी कोई लेबल नहीं।","labelsAndParentFailed": "कार्य बनाया गया, लेकिन कुछ लेबल और मूल कार्य का लिंक सहेजा नहीं जा सका।","labelsFailed": "कार्य बनाया गया, लेकिन कुछ लेबल नहीं जोड़े जा सके।",- "parentFailed": "कार्य बनाया गया, लेकिन उसे मूल कार्य से लिंक नहीं किया जा सका। वेब ऐप से मूल कार्य सेट करें।"+ "parentFailed": "कार्य बनाया गया, लेकिन उसे मूल कार्य से लिंक नहीं किया जा सका।"},"editor": {"description": "विवरण",@@ -4597,6 +4597,9 @@"toast": {"deleted": "लेबल हटा दिया गया"}+ },+ "permissions": {+ "photos": "Kaneo आपकी फ़ोटो का उपयोग कार्यों और टिप्पणियों में चित्र जोड़ने और आपकी प्रोफ़ाइल फ़ोटो के लिए करता है।"}}}diff --git a/i18n/id-ID.json b/i18n/id-ID.jsonindex ae7cd220b..6229f80dd 100644--- a/i18n/id-ID.json+++ b/i18n/id-ID.json@@ -3952,7 +3952,7 @@"noLabels": "Belum ada label di ruang kerja ini.","labelsAndParentFailed": "Tugas dibuat, tetapi beberapa label dan tautan ke tugas induk tidak dapat disimpan.","labelsFailed": "Tugas dibuat, tetapi beberapa label tidak dapat ditambahkan.",- "parentFailed": "Tugas dibuat, tetapi tidak dapat ditautkan ke tugas induk. Atur tugas induk dari aplikasi web."+ "parentFailed": "Tugas dibuat, tetapi tidak dapat ditautkan ke tugas induk."},"editor": {"description": "Deskripsi",@@ -4520,6 +4520,9 @@"toast": {"deleted": "Label dihapus"}+ },+ "permissions": {+ "photos": "Kaneo menggunakan foto Anda untuk melampirkan gambar ke tugas dan komentar, serta untuk foto profil Anda."}}}diff --git a/i18n/it-IT.json b/i18n/it-IT.jsonindex 686bcd89b..1a4b5d1cf 100644--- a/i18n/it-IT.json+++ b/i18n/it-IT.json@@ -4003,7 +4003,7 @@"notePlaceholder": "Su cosa hai lavorato?"},"activity": {- "title": "Attività",+ "title": "Cronologia","comment": "Commenta","edit": "Modifica","editComment": "Modifica commento",@@ -4078,7 +4078,7 @@"noLabels": "Ancora nessuna etichetta in questo workspace.","labelsAndParentFailed": "Attività creata, ma non è stato possibile salvare alcune etichette e il collegamento all'attività principale.","labelsFailed": "Attività creata, ma non è stato possibile aggiungere alcune etichette.",- "parentFailed": "Attività creata, ma non è stato possibile collegarla all'attività principale. Imposta l'attività principale dal web."+ "parentFailed": "Attività creata, ma non è stato possibile collegarla all'attività principale."},"editor": {"description": "Descrizione",@@ -4284,9 +4284,9 @@}},"activity": {- "title": "Attività",+ "title": "Cronologia","subtitle": "Tutto ciò che succede in {{workspace}}",- "empty": "Nessuna attività recente",+ "empty": "Nessun evento recente","someone": "Qualcuno","commentedOn": "ha commentato {{target}}"},@@ -4317,7 +4317,7 @@"home": "Home","tasks": "Le mie attività","inbox": "Notifiche",- "activity": "Attività",+ "activity": "Cronologia","inboxUnread": "Notifiche, {{count}} non lette"},"workspaceSwitcher": {@@ -4674,6 +4674,9 @@"toast": {"deleted": "Etichetta eliminata"}+ },+ "permissions": {+ "photos": "Kaneo usa le tue foto per allegare immagini ad attività e commenti e per la tua foto profilo."}}}diff --git a/i18n/ja-JP.json b/i18n/ja-JP.jsonindex 4cb214523..33858c154 100644--- a/i18n/ja-JP.json+++ b/i18n/ja-JP.json@@ -4441,7 +4441,7 @@"taskTitle": "タスク名","labelsAndParentFailed": "タスクを作成しましたが、一部のラベルと親タスクへのリンクを保存できませんでした。","labelsFailed": "タスクを作成しましたが、一部のラベルを追加できませんでした。",- "parentFailed": "タスクを作成しましたが、親タスクにリンクできませんでした。ウェブアプリから親タスクを設定してください。"+ "parentFailed": "タスクを作成しましたが、親タスクにリンクできませんでした。"},"time": {"durationHoursMinutes": "{{hours}}時間 {{minutes}}分",@@ -4520,6 +4520,9 @@"members": "メンバー","settings": "ワークスペース設定","title": "ワークスペース"+ },+ "permissions": {+ "photos": "Kaneo は、タスクやコメントへの画像の添付と、プロフィール写真のために写真を使用します。"}}}diff --git a/i18n/ko-KR.json b/i18n/ko-KR.jsonindex b480e92b8..0c2b55ccf 100644--- a/i18n/ko-KR.json+++ b/i18n/ko-KR.json@@ -4441,7 +4441,7 @@"taskTitle": "작업 제목","labelsAndParentFailed": "작업이 생성되었지만 일부 라벨과 상위 작업 연결을 저장하지 못했습니다.","labelsFailed": "작업이 생성되었지만 일부 라벨을 추가하지 못했습니다.",- "parentFailed": "작업이 생성되었지만 상위 작업에 연결하지 못했습니다. 웹 앱에서 상위 작업을 설정하세요."+ "parentFailed": "작업이 생성되었지만 상위 작업에 연결하지 못했습니다."},"time": {"durationHoursMinutes": "{{hours}}시간 {{minutes}}분",@@ -4520,6 +4520,9 @@"members": "멤버","settings": "워크스페이스 설정","title": "워크스페이스"+ },+ "permissions": {+ "photos": "Kaneo는 작업과 댓글에 이미지를 첨부하고 프로필 사진을 설정하기 위해 사진을 사용합니다."}}}diff --git a/i18n/mk-MK.json b/i18n/mk-MK.jsonindex 88c2a2171..87d0ee040 100644--- a/i18n/mk-MK.json+++ b/i18n/mk-MK.json@@ -4015,7 +4015,7 @@"noLabels": "Сè уште нема етикети во овој работен простор.","labelsAndParentFailed": "Задачата е создадена, но некои етикети и врската со надредената задача не можеа да се зачуваат.","labelsFailed": "Задачата е создадена, но некои етикети не можеа да се додадат.",- "parentFailed": "Задачата е создадена, но не можеше да се поврзе со надредената задача. Постави ја надредената задача на веб."+ "parentFailed": "Задачата е создадена, но не можеше да се поврзе со надредената задача."},"editor": {"description": "Опис",@@ -4597,6 +4597,9 @@"toast": {"deleted": "Етикетата е избришана"}+ },+ "permissions": {+ "photos": "Kaneo ги користи вашите фотографии за прикачување слики на задачи и коментари и за вашата профилна фотографија."}}}diff --git a/i18n/nl-NL.json b/i18n/nl-NL.jsonindex faca0d9f0..4fbef8285 100644--- a/i18n/nl-NL.json+++ b/i18n/nl-NL.json@@ -4511,7 +4511,7 @@"taskTitle": "Taaknaam","labelsAndParentFailed": "Taak aangemaakt, maar sommige labels en de koppeling met de bovenliggende taak konden niet worden opgeslagen.","labelsFailed": "Taak aangemaakt, maar sommige labels konden niet worden toegevoegd.",- "parentFailed": "Taak aangemaakt, maar deze kon niet aan de bovenliggende taak worden gekoppeld. Stel de bovenliggende taak in via het web."+ "parentFailed": "Taak aangemaakt, maar deze kon niet aan de bovenliggende taak worden gekoppeld."},"time": {"durationHoursMinutes": "{{hours}} u {{minutes}} min",@@ -4597,6 +4597,9 @@"members": "Leden","settings": "Werkruimte-instellingen","title": "Werkruimtes"+ },+ "permissions": {+ "photos": "Kaneo gebruikt je foto's om afbeeldingen aan taken en opmerkingen toe te voegen, en voor je profielfoto."}}}diff --git a/i18n/pl-PL.json b/i18n/pl-PL.jsonindex 9db1d3032..53c882e24 100644--- a/i18n/pl-PL.json+++ b/i18n/pl-PL.json@@ -4141,7 +4141,7 @@"noLabels": "W tym obszarze roboczym nie ma jeszcze etykiet.","labelsAndParentFailed": "Zadanie zostało utworzone, ale nie udało się zapisać niektórych etykiet ani powiązania z zadaniem nadrzędnym.","labelsFailed": "Zadanie zostało utworzone, ale nie udało się dodać niektórych etykiet.",- "parentFailed": "Zadanie zostało utworzone, ale nie udało się powiązać go z zadaniem nadrzędnym. Ustaw zadanie nadrzędne w wersji webowej."+ "parentFailed": "Zadanie zostało utworzone, ale nie udało się powiązać go z zadaniem nadrzędnym."},"editor": {"description": "Opis",@@ -4751,6 +4751,9 @@"toast": {"deleted": "Usunięto etykietę"}+ },+ "permissions": {+ "photos": "Kaneo używa Twoich zdjęć, aby dołączać obrazy do zadań i komentarzy oraz jako zdjęcie profilowe."}}}diff --git a/i18n/pt-BR.json b/i18n/pt-BR.jsonindex 8e000a347..3c3e6d32f 100644--- a/i18n/pt-BR.json+++ b/i18n/pt-BR.json@@ -4581,7 +4581,7 @@"taskTitle": "Título da tarefa","labelsAndParentFailed": "Tarefa criada, mas não foi possível salvar algumas etiquetas e o vínculo com a tarefa principal.","labelsFailed": "Tarefa criada, mas não foi possível adicionar algumas etiquetas.",- "parentFailed": "Tarefa criada, mas não foi possível vinculá-la à tarefa principal. Defina a tarefa principal na versão web."+ "parentFailed": "Tarefa criada, mas não foi possível vinculá-la à tarefa principal."},"time": {"durationHoursMinutes": "{{hours}}h {{minutes}}min",@@ -4674,6 +4674,9 @@"members": "Membros","settings": "Configurações do espaço de trabalho","title": "Espaços de trabalho"+ },+ "permissions": {+ "photos": "O Kaneo usa suas fotos para anexar imagens a tarefas e comentários e para sua foto de perfil."}}}diff --git a/i18n/ru-RU.json b/i18n/ru-RU.jsonindex 7513e490a..85757527d 100644--- a/i18n/ru-RU.json+++ b/i18n/ru-RU.json@@ -4193,7 +4193,7 @@"noLabels": "В этой рабочей области пока нет меток.","labelsAndParentFailed": "Задача создана, но не удалось сохранить некоторые метки и связь с родительской задачей.","labelsFailed": "Задача создана, но некоторые метки не удалось добавить.",- "parentFailed": "Задача создана, но её не удалось связать с родительской задачей. Задайте родительскую задачу в веб-версии."+ "parentFailed": "Задача создана, но её не удалось связать с родительской задачей."},"editor": {"description": "Описание",@@ -4803,6 +4803,9 @@"toast": {"deleted": "Метка удалена"}+ },+ "permissions": {+ "photos": "Kaneo использует ваши фото, чтобы прикреплять изображения к задачам и комментариям, а также для фото профиля."}}}diff --git a/i18n/schema.json b/i18n/schema.jsonindex aa81fe1a6..39b444ac6 100644--- a/i18n/schema.json+++ b/i18n/schema.json@@ -18712,6 +18712,16 @@"form","toast"]+ },+ "permissions": {+ "type": "object",+ "additionalProperties": false,+ "properties": {+ "photos": {+ "type": "string"+ }+ },+ "required": ["photos"]}},"required": [@@ -18745,7 +18755,8 @@"notificationSettings","workspaceSettings","members",- "labels"+ "labels",+ "permissions"]}},diff --git a/i18n/tr-TR.json b/i18n/tr-TR.jsonindex ad178e7d9..35ddd7200 100644--- a/i18n/tr-TR.json+++ b/i18n/tr-TR.json@@ -4511,7 +4511,7 @@"taskTitle": "Talep başlığı","labelsAndParentFailed": "Talep oluşturuldu, ancak bazı etiketler ve üst talep bağlantısı kaydedilemedi.","labelsFailed": "Talep oluşturuldu, ancak bazı etiketler eklenemedi.",- "parentFailed": "Talep oluşturuldu, ancak üst talebe bağlanamadı. Üst talebi web uygulamasından belirleyin."+ "parentFailed": "Talep oluşturuldu, ancak üst talebe bağlanamadı."},"time": {"durationHoursMinutes": "{{hours}} sa {{minutes}} dk",@@ -4597,6 +4597,9 @@"members": "Üyeler","settings": "Çalışma alanı ayarları","title": "Çalışma alanları"+ },+ "permissions": {+ "photos": "Kaneo, taleplere ve yorumlara görsel eklemek ve profil fotoğrafınız için fotoğraflarınızı kullanır."}}}diff --git a/i18n/uk-UA.json b/i18n/uk-UA.jsonindex acb376249..9a7972a0f 100644--- a/i18n/uk-UA.json+++ b/i18n/uk-UA.json@@ -4141,7 +4141,7 @@"noLabels": "У цьому робочому просторі поки немає міток.","labelsAndParentFailed": "Завдання створено, але не вдалося зберегти деякі мітки та зв’язок із батьківським завданням.","labelsFailed": "Завдання створено, але деякі мітки не вдалося додати.",- "parentFailed": "Завдання створено, але його не вдалося пов’язати з батьківським завданням. Задайте батьківське завдання у вебверсії."+ "parentFailed": "Завдання створено, але його не вдалося пов’язати з батьківським завданням."},"editor": {"description": "Опис",@@ -4751,6 +4751,9 @@"toast": {"deleted": "Мітку видалено"}+ },+ "permissions": {+ "photos": "Kaneo використовує ваші фото, щоб додавати зображення до завдань і коментарів, а також для фото профілю."}}}diff --git a/i18n/vi-VN.json b/i18n/vi-VN.jsonindex 134cbded4..e76b19ea8 100644--- a/i18n/vi-VN.json+++ b/i18n/vi-VN.json@@ -3952,7 +3952,7 @@"noLabels": "Không gian làm việc này chưa có nhãn nào.","labelsAndParentFailed": "Đã tạo công việc, nhưng không thể lưu một số nhãn và liên kết với công việc cha.","labelsFailed": "Đã tạo công việc, nhưng không thể thêm một số nhãn.",- "parentFailed": "Đã tạo công việc, nhưng không thể liên kết với công việc cha. Hãy đặt công việc cha từ ứng dụng web."+ "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ả",@@ -4520,6 +4520,9 @@"toast": {"deleted": "Đã xóa nhãn"}+ },+ "permissions": {+ "photos": "Kaneo dùng ảnh của bạn để đính kèm hình ảnh vào công việc và bình luận, cũng như làm ảnh hồ sơ."}}}diff --git a/i18n/zh-CN.json b/i18n/zh-CN.jsonindex 92488514b..fc2aaeac4 100644--- a/i18n/zh-CN.json+++ b/i18n/zh-CN.json@@ -4441,7 +4441,7 @@"taskTitle": "任务标题","labelsAndParentFailed": "任务已创建,但部分标签和父任务关联未能保存。","labelsFailed": "任务已创建,但部分标签未能添加。",- "parentFailed": "任务已创建,但未能关联到父任务。请在网页应用中设置父任务。"+ "parentFailed": "任务已创建,但未能关联到父任务。"},"time": {"durationHoursMinutes": "{{hours}}小时 {{minutes}}分",@@ -4520,6 +4520,9 @@"members": "成员","settings": "工作区设置","title": "工作区"+ },+ "permissions": {+ "photos": "Kaneo 使用你的照片为任务和评论添加图片,以及设置你的头像。"}}}diff --git a/i18n/zh-TW.json b/i18n/zh-TW.jsonindex 17f5fadd3..de6adc37d 100644--- a/i18n/zh-TW.json+++ b/i18n/zh-TW.json@@ -4441,7 +4441,7 @@"taskTitle": "任務標題","labelsAndParentFailed": "已建立任務,但無法儲存部分標籤和上層任務的連結。","labelsFailed": "已建立任務,但無法新增部分標籤。",- "parentFailed": "已建立任務,但無法連結至上層任務。請從網頁應用程式設定上層任務。"+ "parentFailed": "已建立任務,但無法連結至上層任務。"},"time": {"durationHoursMinutes": "{{hours}}小時 {{minutes}}分",@@ -4520,6 +4520,9 @@"members": "成員","settings": "工作區設定","title": "工作區"+ },+ "permissions": {+ "photos": "Kaneo 會使用你的照片,為任務和留言附加圖片,以及設定你的個人頭像。"}}}