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.

fix: scope project refreshes and preserve open board-card details

Tinac728c2dd917
diff --git a/apps/web/src/components/home/home-projects.tsx b/apps/web/src/components/home/home-projects.tsx
index 5b0e4778d..e0705f3ac 100644
--- a/apps/web/src/components/home/home-projects.tsx
+++ b/apps/web/src/components/home/home-projects.tsx
@@ -17,7 +17,7 @@ export function HomeProjects({ workspaceId }: HomeProjectsProps) {
data: projects,
isPending,
isError,
- } = useGetProjects({ workspaceId });
+ } = useGetProjects({ workspaceId }, true);
return (
<section className="flex flex-col gap-3">
diff --git a/apps/web/src/components/inbox/inbox-task.test.tsx b/apps/web/src/components/inbox/inbox-task.test.tsx
index d54fb5298..4d618243b 100644
--- a/apps/web/src/components/inbox/inbox-task.test.tsx
+++ b/apps/web/src/components/inbox/inbox-task.test.tsx
@@ -1,4 +1,4 @@
-import { cleanup, render, screen } from "@testing-library/react";
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
import {
afterEach,
beforeEach,
@@ -7,6 +7,7 @@ import {
it,
vi,
} from "vite-plus/test";
+import { HttpError } from "@/lib/http-error";
import { InboxTask } from "./inbox-task";
const queries = vi.hoisted(() => ({
@@ -76,10 +77,28 @@ describe("Inbox task preview", () => {
});
it("announces initial task failures", () => {
- queries.task.mockReturnValue({ isError: true });
+ const refetch = vi.fn();
+ queries.task.mockReturnValue({
+ isError: true,
+ error: new Error("Network unavailable"),
+ refetch,
+ });
+ render(<InboxTask taskId="task" />);
+ expect(screen.getByRole("alert")).toHaveTextContent(
+ "notifications:inbox.taskLoadError",
+ );
+ fireEvent.click(screen.getByText("common:error.tryAgain"));
+ expect(refetch).toHaveBeenCalledOnce();
+ });
+ it("reports an inaccessible or deleted task without a misleading network retry", () => {
+ queries.task.mockReturnValue({
+ isError: true,
+ error: new HttpError(404, "Not found"),
+ });
render(<InboxTask taskId="task" />);
expect(screen.getByRole("alert")).toHaveTextContent(
"notifications:inbox.taskUnavailable",
);
+ expect(screen.queryByText("common:error.tryAgain")).not.toBeInTheDocument();
});
});
diff --git a/apps/web/src/components/inbox/inbox-task.tsx b/apps/web/src/components/inbox/inbox-task.tsx
index 2f57c6674..381ce06b6 100644
--- a/apps/web/src/components/inbox/inbox-task.tsx
+++ b/apps/web/src/components/inbox/inbox-task.tsx
@@ -3,6 +3,8 @@ import Activity from "@/components/activity";
import CommentInput from "@/components/activity/comment-input";
import { isCommentActivity } from "@/components/activity/utils";
import { DueDateText } from "@/components/my-work/due-date-text";
+import { Button } from "@/components/ui/button";
+import { HttpError } from "@/lib/http-error";
import { Skeleton } from "@/components/ui/skeleton";
import { Timeline } from "@/components/ui/timeline";
import useGetActivitiesByTaskId from "@/hooks/queries/activity/use-get-activities-by-task-id";
@@ -23,7 +25,14 @@ const VISIBLE_ACTIVITIES = 6;
// without leaving the inbox.
export function InboxTask({ taskId }: InboxTaskProps) {
const { t } = useTranslation();
- const { data: task, isLoading } = useGetTask(taskId, true);
+ const {
+ data: task,
+ isLoading,
+ isError,
+ error,
+ isFetching,
+ refetch,
+ } = useGetTask(taskId, true);
const {
data: activities,
isPending: activityPending,
@@ -46,10 +55,28 @@ export function InboxTask({ taskId }: InboxTaskProps) {
}
if (!task) {
+ const unavailable =
+ !isError ||
+ (error instanceof HttpError && [400, 403, 404].includes(error.status));
return (
- <p role="alert" className="text-muted-foreground text-sm">
- {t("notifications:inbox.taskUnavailable")}
- </p>
+ <div className="flex flex-col items-start gap-3">
+ <p role="alert" className="text-muted-foreground text-sm">
+ {t(
+ unavailable
+ ? "notifications:inbox.taskUnavailable"
+ : "notifications:inbox.taskLoadError",
+ )}
+ </p>
+ {!unavailable && (
+ <Button
+ variant="outline"
+ disabled={isFetching}
+ onClick={() => void refetch()}
+ >
+ {t("common:error.tryAgain")}
+ </Button>
+ )}
+ </div>
);
}
diff --git a/apps/web/src/components/kanban-board/column/column-dropzone.tsx b/apps/web/src/components/kanban-board/column/column-dropzone.tsx
index 12a98b611..be601b5d3 100644
--- a/apps/web/src/components/kanban-board/column/column-dropzone.tsx
+++ b/apps/web/src/components/kanban-board/column/column-dropzone.tsx
@@ -55,7 +55,11 @@ export function ColumnDropzone({
}
transition={{ type: "spring", duration: 0.35, bounce: 0.15 }}
>
- <TaskCard task={task} disableDragDrop={disableDragDrop} />
+ <TaskCard
+ task={task}
+ disableDragDrop={disableDragDrop}
+ isFinalColumn={column.isFinal}
+ />
</motion.div>
))}
</AnimatePresence>
diff --git a/apps/web/src/components/kanban-board/index.tsx b/apps/web/src/components/kanban-board/index.tsx
index 434c86239..d7cdef6c2 100644
--- a/apps/web/src/components/kanban-board/index.tsx
+++ b/apps/web/src/components/kanban-board/index.tsx
@@ -58,6 +58,7 @@ function KanbanBoard({
const focusPrevious = useBulkSelectionStore((state) => state.focusPrevious);
const focusedTaskId = useBulkSelectionStore((state) => state.focusedTaskId);
const clearFocus = useBulkSelectionStore((state) => state.clearFocus);
+ const [activeIsFinal, setActiveIsFinal] = useState<boolean | undefined>();
const [activeId, setActiveId] = useState<UniqueIdentifier | null>(null);
const { t } = useTranslation();
const { mutate: reorder, isPending: isReordering } = useMutation({
@@ -182,6 +183,8 @@ function KanbanBoard({
const handleDragStart = (event: DragStartEvent) => {
setActiveId(event.active.id);
+ const isFinal = event.active.data?.current?.isFinalColumn;
+ setActiveIsFinal(typeof isFinal === "boolean" ? isFinal : undefined);
};
const handleDragEnd = (event: DragEndEvent) => {
@@ -305,7 +308,7 @@ function KanbanBoard({
{activeTask ? (
<div className="transform rotate-1 scale-[1.03] shadow-lg">
<div className="ring-2 ring-ring/35 rounded-lg">
- <TaskCard task={activeTask} />
+ <TaskCard task={activeTask} isFinalColumn={activeIsFinal} />
</div>
</div>
) : null}
diff --git a/apps/web/src/components/kanban-board/task-card.test.tsx b/apps/web/src/components/kanban-board/task-card.test.tsx
new file mode 100644
index 000000000..2d751999b
--- /dev/null
+++ b/apps/web/src/components/kanban-board/task-card.test.tsx
@@ -0,0 +1,91 @@
+import { cleanup, render, screen } from "@testing-library/react";
+import { afterEach, expect, it, vi } from "vite-plus/test";
+import type Task from "@/types/task";
+import TaskCard from "./task-card";
+
+vi.mock("@dnd-kit/sortable", () => ({
+ useSortable: () => ({
+ attributes: {},
+ listeners: {},
+ setNodeRef: vi.fn(),
+ transform: null,
+ }),
+}));
+vi.mock("@tanstack/react-router", () => ({ useNavigate: () => vi.fn() }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ i18n: { resolvedLanguage: "en-US" },
+ }),
+ initReactI18next: { type: "3rdParty", init: vi.fn() },
+}));
+vi.mock("@/store/project", () => ({
+ default: () => ({
+ project: {
+ id: "project",
+ slug: "PROJ",
+ columns: [
+ { id: "shared", slug: "shared", isFinal: true },
+ { id: "shared", slug: "shared", isFinal: false },
+ ],
+ },
+ }),
+}));
+vi.mock("@/store/user-preferences", () => ({
+ useUserPreferencesStore: () => ({
+ showLabels: true,
+ showPriority: true,
+ showDueDates: true,
+ showTaskNumbers: true,
+ showAssignees: true,
+ }),
+}));
+vi.mock("@/hooks/mutations/task/use-delete-task", () => ({
+ useDeleteTask: () => ({ mutateAsync: vi.fn() }),
+}));
+vi.mock("@/hooks/queries/workspace/use-active-workspace", () => ({
+ default: () => ({}),
+}));
+vi.mock(
+ "@/hooks/queries/workspace-users/use-get-active-workspace-users",
+ () => ({ useGetActiveWorkspaceUsers: () => ({}) }),
+);
+vi.mock(
+ "@/hooks/queries/custom-field/use-get-custom-field-values-by-project",
+ () => ({ default: () => ({ data: [] }) }),
+);
+vi.mock("@/components/task/task-progress-badges", () => ({
+ TaskProgressBadges: () => null,
+}));
+vi.mock("@/components/task/task-pull-requests", () => ({
+ TaskPullRequests: () => null,
+}));
+vi.mock("./task-card-context-menu/task-card-context-menu-content", () => ({
+ default: () => null,
+}));
+
+afterEach(cleanup);
+it("keeps details in the rendered open column despite a final column sharing its slug", () => {
+ const task: Task = {
+ id: "task",
+ title: "Open work",
+ status: "shared",
+ projectId: "project",
+ number: 1,
+ description: null,
+ priority: "high",
+ startDate: null,
+ dueDate: "2030-01-01T00:00:00Z",
+ position: 1,
+ createdAt: "2026-10-01T00:00:00Z",
+ userId: null,
+ assigneeId: null,
+ assigneeName: null,
+ labels: [{ id: "label", name: "Regression label", color: "red" }],
+ };
+ const view = render(<TaskCard task={task} isFinalColumn={false} />);
+ expect(screen.getByText("Regression label")).toBeVisible();
+ view.rerender(<TaskCard task={task} isFinalColumn />);
+ expect(screen.queryByText("Regression label")).not.toBeInTheDocument();
+ expect(screen.getByText("Open work")).toBeVisible();
+});
diff --git a/apps/web/src/components/kanban-board/task-card.tsx b/apps/web/src/components/kanban-board/task-card.tsx
index 14f855ebd..183c1437a 100644
--- a/apps/web/src/components/kanban-board/task-card.tsx
+++ b/apps/web/src/components/kanban-board/task-card.tsx
@@ -60,9 +60,14 @@ const dueDateTextColors: Record<DueDateStatus, string> = {
type TaskCardProps = {
task: Task;
disableDragDrop?: boolean;
+ isFinalColumn?: boolean;
};
-function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {
+function TaskCard({
+ task,
+ disableDragDrop = false,
+ isFinalColumn,
+}: TaskCardProps) {
const { t } = useTranslation();
const {
attributes,
@@ -71,9 +76,14 @@ function TaskCard({ task, disableDragDrop = false }: TaskCardProps) {
transform,
transition,
isDragging,
- } = useSortable({ id: task.id, disabled: disableDragDrop });
+ } = useSortable({
+ id: task.id,
+ disabled: disableDragDrop,
+ data: { isFinalColumn },
+ });
const { project } = useProjectStore();
- const taskIsCompleted = isTaskCompleted(task.status, project?.columns);
+ const taskIsCompleted =
+ isFinalColumn ?? isTaskCompleted(task.status, project?.columns);
const dueDateStatus = getDueDateStatus(task.dueDate, taskIsCompleted);
const isOverdue = dueDateStatus === "overdue";
const hasPriority = Boolean(task.priority) && task.priority !== "no-priority";
diff --git a/apps/web/src/components/nav-projects.tsx b/apps/web/src/components/nav-projects.tsx
index 080d35194..773071701 100644
--- a/apps/web/src/components/nav-projects.tsx
+++ b/apps/web/src/components/nav-projects.tsx
@@ -121,9 +121,12 @@ export function NavProjects() {
const { t } = useTranslation();
const { isMobile } = useSidebar();
const { data: workspace } = useActiveWorkspace();
- const { data: projects } = useGetProjects({
- workspaceId: workspace?.id || "",
- });
+ const { data: projects } = useGetProjects(
+ {
+ workspaceId: workspace?.id || "",
+ },
+ true,
+ );
const queryClient = useQueryClient();
const { mutateAsync: deleteProject } = useDeleteProject();
const reorderProjects = useReorderProjects();
diff --git a/apps/web/src/hooks/queries/personal-work-refresh.test.tsx b/apps/web/src/hooks/queries/personal-work-refresh.test.tsx
index f13763b68..ce93773e8 100644
--- a/apps/web/src/hooks/queries/personal-work-refresh.test.tsx
+++ b/apps/web/src/hooks/queries/personal-work-refresh.test.tsx
@@ -94,6 +94,42 @@ describe("personal work refresh", () => {
client.clear();
});
+ it("keeps project pickers cached and polls only for an opted-in observer", async () => {
+ vi.useFakeTimers();
+ focusManager.setFocused(true);
+ const client = new QueryClient({
+ defaultOptions: {
+ queries: {
+ retry: false,
+ staleTime: Infinity,
+ refetchOnMount: false,
+ refetchOnWindowFocus: false,
+ },
+ },
+ });
+ client.setQueryData(["projects", "workspace"], [{ id: "cached" }]);
+ mocks.projects.mockResolvedValue([{ id: "fresh" }]);
+ const wrapper = ({ children }: PropsWithChildren) => (
+ <QueryClientProvider client={client}>{children}</QueryClientProvider>
+ );
+ const { result, rerender } = renderHook(
+ ({ refresh }) => useGetProjects({ workspaceId: "workspace" }, refresh),
+ { wrapper, initialProps: { refresh: false } },
+ );
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(60_010);
+ });
+ expect(mocks.projects).not.toHaveBeenCalled();
+ expect(result.current.data).toEqual([{ id: "cached" }]);
+ rerender({ refresh: true });
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(30_010);
+ });
+ expect(mocks.projects).toHaveBeenCalledOnce();
+ expect(result.current.data).toEqual([{ id: "fresh" }]);
+ client.clear();
+ });
+
it("refreshes remote edits and comments without a project socket or notification", async () => {
vi.useFakeTimers();
focusManager.setFocused(true);
@@ -119,7 +155,7 @@ describe("personal work refresh", () => {
const activity = useGetWorkspaceActivities("workspace");
const task = useGetTask("task", true);
const comments = useGetActivitiesByTaskId("task", true);
- const projects = useGetProjects({ workspaceId: "workspace" });
+ const projects = useGetProjects({ workspaceId: "workspace" }, true);
return {
task: task.data,
comments: comments.data,
diff --git a/apps/web/src/hooks/queries/project/use-get-projects.ts b/apps/web/src/hooks/queries/project/use-get-projects.ts
index 1566b7327..6ca0191ad 100644
--- a/apps/web/src/hooks/queries/project/use-get-projects.ts
+++ b/apps/web/src/hooks/queries/project/use-get-projects.ts
@@ -1,15 +1,22 @@
import { useQuery } from "@tanstack/react-query";
import getProjects from "@/fetchers/project/get-projects";
-function useGetProjects({ workspaceId }: { workspaceId: string }) {
+function useGetProjects(
+ { workspaceId }: { workspaceId: string },
+ refreshWhileVisible = false,
+) {
return useQuery({
queryFn: () => getProjects({ workspaceId }),
queryKey: ["projects", workspaceId],
enabled: !!workspaceId,
// Home and the sidebar show statistics without a project socket.
- refetchInterval: 30_000,
- refetchOnWindowFocus: "always",
- refetchOnMount: "always",
+ ...(refreshWhileVisible
+ ? {
+ refetchInterval: 30_000,
+ refetchOnWindowFocus: "always" as const,
+ refetchOnMount: "always" as const,
+ }
+ : {}),
});
}
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 3c724811b..7a9005df1 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index f994134b2..cec3e49d2 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index f0604f866..93ea301d4 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index a594dfe98..a6ee95794 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -2054,7 +2054,8 @@
"back": "Inbox",
"openTask": "Open task",
"recentActivity": "Recent activity",
- "taskUnavailable": "This task is no longer available."
+ "taskUnavailable": "This task is no longer available.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index 8ca5379ff..2e55808b4 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -2065,7 +2065,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index a93676882..3c9033da0 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -2065,7 +2065,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index 89db72382..338f739b1 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 40603372a..28fb2c541 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -2043,7 +2043,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index 5ad433db8..bb58d1f6d 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -2065,7 +2065,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index 8f60ec745..693a02aed 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -2043,7 +2043,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index b5a25d448..d53973437 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -2043,7 +2043,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index 82cdc9e10..1e1cefa29 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index 0ef8db614..80f60345c 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 4877080ac..7140aa3da 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -619,7 +619,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"workspace": {
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index 64722ae62..009693f26 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -2065,7 +2065,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 1096d5a65..43a44adaa 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -2084,7 +2084,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/schema.json b/i18n/schema.json
index a1d12d588..d3370f103 100644
--- a/i18n/schema.json
+++ b/i18n/schema.json
@@ -8298,6 +8298,9 @@
},
"taskUnavailable": {
"type": "string"
+ },
+ "taskLoadError": {
+ "type": "string"
}
},
"required": [
@@ -8312,7 +8315,8 @@
"back",
"openTask",
"recentActivity",
- "taskUnavailable"
+ "taskUnavailable",
+ "taskLoadError"
]
}
},
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index f490ac39a..dc9ed57c1 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -2054,7 +2054,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index 78d567423..a6f346cf1 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -2076,7 +2076,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index 2066519c0..2a0bd251b 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -2043,7 +2043,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index 8d6c0fa92..7a49a5154 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -2043,7 +2043,8 @@
"taskUnavailable": "This task is no longer available.",
"today": "Today",
"unread": "Unread",
- "loadError": "Notifications couldn't be loaded."
+ "loadError": "Notifications couldn't be loaded.",
+ "taskLoadError": "This task couldn’t be loaded."
}
},
"activity": {