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(web): match custom-field filters before opening tasks (#2063)

Markus Sagen25b4572d2d73
diff --git a/apps/web/src/components/project/task-filters/active-filters-bar.test.tsx b/apps/web/src/components/project/task-filters/active-filters-bar.test.tsx
index 92c11c426..7417fb5f8 100644
--- a/apps/web/src/components/project/task-filters/active-filters-bar.test.tsx
+++ b/apps/web/src/components/project/task-filters/active-filters-bar.test.tsx
@@ -75,3 +75,45 @@ it("shows the negative operator for an excluded subject", () => {
);
expect(screen.getByRole("button", { name: "is none of" })).toBeVisible();
});
+
+it("announces pending custom-field values without losing the selected filter", () => {
+ render(
+ <ActiveFiltersBar
+ subjects={[subject({ id: "customField:size", selected: ["high"] })]}
+ onClear={vi.fn()}
+ customFieldValues={{
+ hasData: false,
+ isLoading: true,
+ isError: false,
+ retry: vi.fn(),
+ }}
+ />,
+ );
+ expect(screen.getByRole("status")).toHaveTextContent(
+ "tasks:filterBar.customFieldsLoading",
+ );
+ expect(screen.getByRole("button", { name: "High" })).toBeVisible();
+});
+
+it.each([false, true])(
+ "explains failed custom-field requests and retries with cached data=%s",
+ (hasData) => {
+ const retry = vi.fn();
+ render(
+ <ActiveFiltersBar
+ subjects={[subject({ selected: ["high"] })]}
+ onClear={vi.fn()}
+ customFieldValues={{ hasData, isLoading: false, isError: true, retry }}
+ />,
+ );
+ expect(screen.getByRole("alert")).toHaveTextContent(
+ hasData
+ ? "tasks:filterBar.customFieldsRefreshError"
+ : "tasks:filterBar.customFieldsUnavailable",
+ );
+ fireEvent.click(
+ screen.getByRole("button", { name: "common:error.tryAgain" }),
+ );
+ expect(retry).toHaveBeenCalledOnce();
+ },
+);
diff --git a/apps/web/src/components/project/task-filters/active-filters-bar.tsx b/apps/web/src/components/project/task-filters/active-filters-bar.tsx
index c49179b52..9268d2fc2 100644
--- a/apps/web/src/components/project/task-filters/active-filters-bar.tsx
+++ b/apps/web/src/components/project/task-filters/active-filters-bar.tsx
@@ -7,9 +7,19 @@ import type { FilterSubject } from "./filter-subject";
type ActiveFiltersBarProps = {
subjects: FilterSubject[];
onClear: () => void;
+ customFieldValues?: {
+ hasData: boolean;
+ isLoading: boolean;
+ isError: boolean;
+ retry: () => unknown;
+ };
};
-export function ActiveFiltersBar({ subjects, onClear }: ActiveFiltersBarProps) {
+export function ActiveFiltersBar({
+ subjects,
+ onClear,
+ customFieldValues,
+}: ActiveFiltersBarProps) {
const { t } = useTranslation();
const active = subjects.filter((subject) => subject.selected.length > 0);
if (active.length === 0) return null;
@@ -24,6 +34,25 @@ export function ActiveFiltersBar({ subjects, onClear }: ActiveFiltersBarProps) {
<ActiveFilterChip key={subject.id} subject={subject} />
))}
<AddFilterButton subjects={subjects} />
+ {customFieldValues?.isLoading && (
+ <p role="status" className="w-full text-sm text-muted-foreground">
+ {t("tasks:filterBar.customFieldsLoading")}
+ </p>
+ )}
+ {customFieldValues?.isError && (
+ <p role="alert" className="w-full text-sm text-destructive">
+ {customFieldValues.hasData
+ ? t("tasks:filterBar.customFieldsRefreshError")
+ : t("tasks:filterBar.customFieldsUnavailable")}{" "}
+ <button
+ type="button"
+ className="underline"
+ onClick={() => void customFieldValues.retry()}
+ >
+ {t("common:error.tryAgain")}
+ </button>
+ </p>
+ )}
</div>
<Button
variant="ghost"
diff --git a/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.test.tsx b/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.test.tsx
new file mode 100644
index 000000000..6e8aeae62
--- /dev/null
+++ b/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.test.tsx
@@ -0,0 +1,78 @@
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import { act, renderHook, waitFor } from "@testing-library/react";
+import type { ReactNode } from "react";
+import { describe, expect, it } from "vite-plus/test";
+import useGetCachedCustomFieldValues from "./use-get-all-custom-field-values-by-project";
+import type { CustomFieldValue } from "./use-get-custom-field-values-by-project";
+
+const fieldValue: CustomFieldValue = {
+ id: "value-1",
+ taskId: "unopened-task",
+ fieldId: "size",
+ value: "L",
+ fieldName: "Size",
+ fieldPosition: 0,
+ fieldType: "dropdown",
+ fieldOptions: ["S", "L"],
+};
+
+function setup() {
+ const client = new QueryClient({
+ defaultOptions: { queries: { retry: false, staleTime: Infinity } },
+ });
+ client.setQueryData(["custom-field-values", "project-1"], [fieldValue]);
+ const wrapper = ({ children }: { children: ReactNode }) => (
+ <QueryClientProvider client={client}>{children}</QueryClientProvider>
+ );
+ return { client, wrapper };
+}
+
+describe("project custom-field filter values", () => {
+ it("finds values without opening a task and ignores stale task-detail data", () => {
+ const { client, wrapper } = setup();
+ client.setQueryData(
+ ["custom-field-values", "unopened-task"],
+ [{ ...fieldValue, value: "S" }],
+ );
+ const { result } = renderHook(
+ () => useGetCachedCustomFieldValues("project-1"),
+ { wrapper },
+ );
+
+ expect(result.current.getValuesForTask("unopened-task")).toEqual([
+ fieldValue,
+ ]);
+ expect(result.current.getValuesForTask("missing-task")).toEqual([]);
+ });
+
+ it("refreshes filter values when the project query changes", async () => {
+ const { client, wrapper } = setup();
+ const { result } = renderHook(
+ () => useGetCachedCustomFieldValues("project-1"),
+ { wrapper },
+ );
+
+ act(() => {
+ client.setQueryData(
+ ["custom-field-values", "project-1"],
+ [{ ...fieldValue, value: "S" }],
+ );
+ });
+ await waitFor(() => {
+ expect(result.current.getValuesForTask("unopened-task")[0]?.value).toBe(
+ "S",
+ );
+ });
+ });
+
+ it("does not reuse values after switching to another project", () => {
+ const { client, wrapper } = setup();
+ client.setQueryData(["custom-field-values", "project-2"], []);
+ const { result, rerender } = renderHook(
+ ({ projectId }) => useGetCachedCustomFieldValues(projectId),
+ { wrapper, initialProps: { projectId: "project-1" } },
+ );
+ rerender({ projectId: "project-2" });
+ expect(result.current.getValuesForTask("unopened-task")).toEqual([]);
+ });
+});
diff --git a/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.ts b/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.ts
index da51126ae..d988f444e 100644
--- a/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.ts
+++ b/apps/web/src/hooks/queries/custom-field/use-get-all-custom-field-values-by-project.ts
@@ -1,21 +1,33 @@
-import { useQueryClient } from "@tanstack/react-query";
-import { useCallback } from "react";
+import { useCallback, useMemo } from "react";
+import useGetCustomFieldValuesByProject, {
+ type CustomFieldValue,
+} from "./use-get-custom-field-values-by-project";
-function useGetCachedCustomFieldValues() {
- const queryClient = useQueryClient();
+function useGetCachedCustomFieldValues(projectId?: string) {
+ const query = useGetCustomFieldValuesByProject(projectId ?? "");
+ const { data } = query;
+ const valuesByTask = useMemo(() => {
+ const grouped = new Map<string, CustomFieldValue[]>();
+ for (const value of data ?? []) {
+ const values = grouped.get(value.taskId) ?? [];
+ values.push(value);
+ grouped.set(value.taskId, values);
+ }
+ return grouped;
+ }, [data]);
const getValuesForTask = useCallback(
- (taskId: string) => {
- return (
- (queryClient.getQueryData(["custom-field-values", taskId]) as
- | Array<{ fieldId: string; value: string | null }>
- | undefined) ?? []
- );
- },
- [queryClient],
+ (taskId: string) => valuesByTask.get(taskId) ?? [],
+ [valuesByTask],
);
- return { getValuesForTask };
+ return {
+ getValuesForTask,
+ hasData: data !== undefined,
+ isLoading: query.isPending,
+ isError: query.isError,
+ retry: query.refetch,
+ };
}
export default useGetCachedCustomFieldValues;
diff --git a/apps/web/src/hooks/use-custom-field-filters.test.tsx b/apps/web/src/hooks/use-custom-field-filters.test.tsx
new file mode 100644
index 000000000..e4ecc4b01
--- /dev/null
+++ b/apps/web/src/hooks/use-custom-field-filters.test.tsx
@@ -0,0 +1,216 @@
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import { act, renderHook, waitFor } from "@testing-library/react";
+import type { ReactNode } from "react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { useTaskCardFields } from "@/components/custom-fields/use-task-card-fields";
+import getCustomFieldValuesByProject from "@/fetchers/custom-field/get-custom-field-values-by-project";
+import setCustomFieldValue from "@/fetchers/custom-field/set-custom-field-value";
+import type Task from "@/types/task";
+import useSetCustomFieldValue from "./mutations/custom-field/use-set-custom-field-value";
+import { useTaskFiltersWithLabelsSupport } from "./use-task-filters-with-labels-support";
+
+vi.mock("@/fetchers/custom-field/get-custom-field-values-by-project");
+vi.mock("@/fetchers/custom-field/set-custom-field-value");
+
+type ProjectValue = Awaited<
+ ReturnType<typeof getCustomFieldValuesByProject>
+>[number];
+
+const value: ProjectValue = {
+ id: "value-1",
+ taskId: "unopened-task",
+ fieldId: "size",
+ value: "L",
+ fieldName: "Size",
+ fieldPosition: 0,
+ fieldType: "dropdown",
+ fieldOptions: ["S", "L"],
+};
+const task: Task = {
+ id: value.taskId,
+ title: "Unopened task",
+ projectId: "project-1",
+ number: 1,
+ description: null,
+ status: "to-do",
+ priority: "high",
+ position: 0,
+ createdAt: "2026-10-01T00:00:00Z",
+ startDate: null,
+ dueDate: null,
+ userId: null,
+ assigneeId: null,
+ assigneeName: null,
+ labels: [],
+};
+
+function setup() {
+ const client = new QueryClient({
+ defaultOptions: { queries: { retry: false, staleTime: Infinity } },
+ });
+ const wrapper = ({ children }: { children: ReactNode }) => (
+ <QueryClientProvider client={client}>{children}</QueryClientProvider>
+ );
+ return { client, wrapper };
+}
+
+beforeEach(() => {
+ window.localStorage.clear();
+ vi.resetAllMocks();
+});
+afterEach(() => window.localStorage.clear());
+
+function saveFilter(negated = false) {
+ window.localStorage.setItem(
+ "kaneo:board-filters:project-1",
+ JSON.stringify({
+ customFields: { size: ["L"] },
+ priority: ["high"],
+ negated: negated ? ["customField:size"] : null,
+ }),
+ );
+}
+
+describe("custom-field filters with project queries", () => {
+ it("does not fetch project values when no custom-field filter is active", () => {
+ const { wrapper } = setup();
+ const { result } = renderHook(
+ () => useTaskFiltersWithLabelsSupport(null, "project-1"),
+ { wrapper },
+ );
+ expect(result.current.filterTasks([task])).toEqual([task]);
+ expect(result.current.customFieldValues.isLoading).toBe(false);
+ expect(getCustomFieldValuesByProject).not.toHaveBeenCalled();
+ });
+
+ it.each([false, true])(
+ "waits for values of unopened tasks with negation=%s and shares the card request",
+ async (negated) => {
+ saveFilter(negated);
+ const { client, wrapper } = setup();
+ let resolve!: (values: ProjectValue[]) => void;
+ const pending = new Promise<ProjectValue[]>((done) => {
+ resolve = done;
+ });
+ vi.mocked(getCustomFieldValuesByProject).mockReturnValue(pending);
+ const { result, rerender } = renderHook(
+ () => {
+ const filters = useTaskFiltersWithLabelsSupport(null, "project-1");
+ useTaskCardFields("project-1", task.id);
+ return filters;
+ },
+ { wrapper },
+ );
+
+ expect(result.current.customFieldValues.isLoading).toBe(true);
+ expect(result.current.filterTasks([task])).toEqual([task]);
+ expect(
+ result.current.filterTasks([{ ...task, priority: "low" }]),
+ ).toEqual([]);
+ expect(result.current.filters.customFields).toEqual({ size: ["L"] });
+ rerender();
+ expect(getCustomFieldValuesByProject).toHaveBeenCalledTimes(1);
+ expect(
+ client.getQueryData(["custom-field-values", task.id]),
+ ).toBeUndefined();
+
+ await act(async () => resolve([value]));
+ await waitFor(() => {
+ expect(result.current.customFieldValues.isLoading).toBe(false);
+ expect(result.current.filterTasks([task])).toHaveLength(
+ negated ? 0 : 1,
+ );
+ });
+ },
+ );
+
+ it("reports a failed initial request and reapplies saved filters after retry", async () => {
+ saveFilter();
+ const { wrapper } = setup();
+ vi.mocked(getCustomFieldValuesByProject).mockRejectedValueOnce(
+ new Error("offline"),
+ );
+ const { result } = renderHook(
+ () => useTaskFiltersWithLabelsSupport(null, "project-1"),
+ { wrapper },
+ );
+ await waitFor(() =>
+ expect(result.current.customFieldValues.isError).toBe(true),
+ );
+ expect(result.current.filterTasks([task])).toEqual([task]);
+ expect(result.current.filters.customFields).toEqual({ size: ["L"] });
+
+ vi.mocked(getCustomFieldValuesByProject).mockResolvedValue([]);
+ await act(async () => {
+ await result.current.customFieldValues.retry();
+ });
+ await waitFor(() => {
+ expect(result.current.customFieldValues.isError).toBe(false);
+ expect(result.current.filterTasks([task])).toEqual([]);
+ });
+ });
+
+ it("keeps cached matches on a failed refresh", async () => {
+ saveFilter();
+ const { client, wrapper } = setup();
+ client.setQueryData(["custom-field-values", "project-1"], [value]);
+ vi.mocked(getCustomFieldValuesByProject).mockRejectedValue(
+ new Error("offline"),
+ );
+ const { result } = renderHook(
+ () => useTaskFiltersWithLabelsSupport(null, "project-1"),
+ { wrapper },
+ );
+ await act(async () => {
+ await result.current.customFieldValues.retry();
+ });
+ await waitFor(() =>
+ expect(result.current.customFieldValues.isError).toBe(true),
+ );
+ expect(result.current.customFieldValues.hasData).toBe(true);
+ expect(result.current.filterTasks([task])).toEqual([task]);
+ });
+
+ it("refetches the shared project values after a value mutation and updates matches", async () => {
+ saveFilter();
+ const { client, wrapper } = setup();
+ client.setQueryData(["custom-field-values", "project-1"], [value]);
+ vi.mocked(getCustomFieldValuesByProject).mockResolvedValue([
+ { ...value, value: "S" },
+ ]);
+ vi.mocked(setCustomFieldValue).mockResolvedValue({
+ id: value.id,
+ taskId: task.id,
+ fieldId: "size",
+ value: "S",
+ });
+ const { result } = renderHook(
+ () => ({
+ filters: useTaskFiltersWithLabelsSupport(null, "project-1"),
+ mutation: useSetCustomFieldValue(),
+ }),
+ { wrapper },
+ );
+ expect(result.current.filters.filterTasks([task])).toEqual([task]);
+
+ await act(async () => {
+ await result.current.mutation.mutateAsync({
+ taskId: task.id,
+ fieldId: "size",
+ value: "S",
+ projectId: "project-1",
+ });
+ });
+ await waitFor(() =>
+ expect(result.current.filters.filterTasks([task])).toEqual([]),
+ );
+ expect(getCustomFieldValuesByProject).toHaveBeenCalledTimes(1);
+ });
+});
diff --git a/apps/web/src/hooks/use-task-filters-with-labels-support.ts b/apps/web/src/hooks/use-task-filters-with-labels-support.ts
index 3fae6925f..3230e2a85 100644
--- a/apps/web/src/hooks/use-task-filters-with-labels-support.ts
+++ b/apps/web/src/hooks/use-task-filters-with-labels-support.ts
@@ -84,8 +84,6 @@ export function useTaskFiltersWithLabelsSupport(
normalizeFilters,
DEFAULT_FILTERS,
);
- const { getValuesForTask } = useGetCachedCustomFieldValues();
-
const effectiveFilters = useMemo(
() =>
ignore.length === 0
@@ -96,6 +94,10 @@ export function useTaskFiltersWithLabelsSupport(
} as BoardFilters),
[filters, ignore],
);
+ const customFieldValues = useGetCachedCustomFieldValues(
+ effectiveFilters.customFields ? projectId : undefined,
+ );
+ const { getValuesForTask, hasData } = customFieldValues;
const createMatcher = useCallback(() => {
const context = {
@@ -106,13 +108,18 @@ export function useTaskFiltersWithLabelsSupport(
today: new Date(),
getCustomFieldValues: getValuesForTask,
};
- return (task: Task) => taskMatchesFilters(task, effectiveFilters, context);
+ // Missing query data is unknown, rather than an empty value on every task.
+ const readyFilters = !hasData
+ ? { ...effectiveFilters, customFields: null }
+ : effectiveFilters;
+ return (task: Task) => taskMatchesFilters(task, readyFilters, context);
}, [
effectiveFilters,
project?.slug,
textQuery,
weekStartsOn,
getValuesForTask,
+ hasData,
descriptionMatches,
]);
@@ -212,6 +219,11 @@ export function useTaskFiltersWithLabelsSupport(
};
return {
+ customFieldValues: {
+ ...customFieldValues,
+ isLoading: !!effectiveFilters.customFields && customFieldValues.isLoading,
+ isError: !!effectiveFilters.customFields && customFieldValues.isError,
+ },
filters: effectiveFilters,
setFilters,
updateFilter,
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
index 66a8b3bae..0d224521d 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
@@ -163,6 +163,7 @@ function RouteComponent() {
<ActiveFiltersBar
subjects={view.subjects}
onClear={filters.clearFilters}
+ customFieldValues={filters.customFieldValues}
/>
}
>
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
index 5d0d659d7..8a85a6644 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
@@ -167,6 +167,7 @@ function RouteComponent() {
<ActiveFiltersBar
subjects={view.subjects}
onClear={filters.clearFilters}
+ customFieldValues={filters.customFieldValues}
/>
}
>
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/calendar.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/calendar.tsx
index 118d2e2d0..62d5f8a1c 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/calendar.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/calendar.tsx
@@ -126,6 +126,7 @@ function RouteComponent() {
<ActiveFiltersBar
subjects={view.subjects}
onClear={view.filters.clearFilters}
+ customFieldValues={view.filters.customFieldValues}
/>
}
>
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt.tsx
index 69002d0ca..3cf29d2bc 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt.tsx
@@ -266,6 +266,7 @@ function RouteComponent() {
<ActiveFiltersBar
subjects={view.subjects}
onClear={view.filters.clearFilters}
+ customFieldValues={view.filters.customFieldValues}
/>
}
>
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 491a232ba..7ad915575 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Aktiv süzgəclər",
"removeFilter": "{{name}} süzgəcini sil",
- "noMatches": "Axtarışınıza və ya süzgəclərinizə uyğun tapşırıq yoxdur."
+ "noMatches": "Axtarışınıza və ya süzgəclərinizə uyğun tapşırıq yoxdur.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Süzgəc əlavə et…",
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index 9d7a8ff0c..51345999d 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Aktive Filter",
"removeFilter": "Filter {{name}} entfernen",
- "noMatches": "Keine Aufgaben passen zu deiner Suche oder deinen Filtern."
+ "noMatches": "Keine Aufgaben passen zu deiner Suche oder deinen Filtern.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Filter hinzufügen…",
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index b62bd24ab..855df6cac 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Ενεργά φίλτρα",
"removeFilter": "Αφαίρεση φίλτρου {{name}}",
- "noMatches": "Καμία εργασία δεν ταιριάζει με την αναζήτηση ή τα φίλτρα σας."
+ "noMatches": "Καμία εργασία δεν ταιριάζει με την αναζήτηση ή τα φίλτρα σας.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Προσθήκη φίλτρου…",
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 22e73a4f0..52ec466c9 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -3257,6 +3257,9 @@
},
"filterBar": {
"label": "Active filters",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
"removeFilter": "Remove {{name}} filter",
"noMatches": "No tasks match your search or filters."
},
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index a925fca3d..cae9a004f 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -3312,7 +3312,10 @@
"filterBar": {
"label": "Filtros activos",
"removeFilter": "Quitar filtro de {{name}}",
- "noMatches": "Ninguna tarea coincide con tu búsqueda o tus filtros."
+ "noMatches": "Ninguna tarea coincide con tu búsqueda o tus filtros.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Añadir filtro…",
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index 2e0f3aa6e..bcc794634 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -3312,7 +3312,10 @@
"filterBar": {
"label": "Filtres actifs",
"removeFilter": "Retirer le filtre {{name}}",
- "noMatches": "Aucune tâche ne correspond à votre recherche ou à vos filtres."
+ "noMatches": "Aucune tâche ne correspond à votre recherche ou à vos filtres.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Ajouter un filtre…",
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index 40e42bfdd..e658f366a 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "सक्रिय फ़िल्टर",
"removeFilter": "{{name}} फ़िल्टर हटाएँ",
- "noMatches": "आपकी खोज या फ़िल्टर से कोई कार्य मेल नहीं खाता।"
+ "noMatches": "आपकी खोज या फ़िल्टर से कोई कार्य मेल नहीं खाता।",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "फ़िल्टर जोड़ें…",
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 6229f80dd..e5bab6842 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "Filter aktif",
"removeFilter": "Hapus filter {{name}}",
- "noMatches": "Tidak ada tugas yang cocok dengan pencarian atau filter Anda."
+ "noMatches": "Tidak ada tugas yang cocok dengan pencarian atau filter Anda.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Tambah filter…",
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index 1a4b5d1cf..6c1f609a2 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -3312,7 +3312,10 @@
"filterBar": {
"label": "Filtri attivi",
"removeFilter": "Rimuovi filtro {{name}}",
- "noMatches": "Nessuna attività corrisponde alla tua ricerca o ai tuoi filtri."
+ "noMatches": "Nessuna attività corrisponde alla tua ricerca o ai tuoi filtri.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Aggiungi filtro…",
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index 33858c154..98ac1942a 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "適用中のフィルター",
"removeFilter": "{{name}} フィルターを削除",
- "noMatches": "検索またはフィルターに一致するタスクはありません。"
+ "noMatches": "検索またはフィルターに一致するタスクはありません。",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "フィルターを追加…",
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index 0c2b55ccf..12ec8b20e 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "적용된 필터",
"removeFilter": "{{name}} 필터 제거",
- "noMatches": "검색 또는 필터와 일치하는 작업이 없습니다."
+ "noMatches": "검색 또는 필터와 일치하는 작업이 없습니다.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "필터 추가…",
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index 87d0ee040..9150f99c3 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Активни филтри",
"removeFilter": "Отстрани го филтерот {{name}}",
- "noMatches": "Ниту една задача не одговара на пребарувањето или филтрите."
+ "noMatches": "Ниту една задача не одговара на пребарувањето или филтрите.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Додај филтер…",
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index 4fbef8285..e1bef7106 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Actieve filters",
"removeFilter": "Filter {{name}} verwijderen",
- "noMatches": "Geen taken komen overeen met je zoekopdracht of filters."
+ "noMatches": "Geen taken komen overeen met je zoekopdracht of filters.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Filter toevoegen…",
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 53c882e24..20125652d 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -3648,7 +3648,10 @@
"filterBar": {
"label": "Aktywne filtry",
"removeFilter": "Usuń filtr {{name}}",
- "noMatches": "Żadne zadanie nie pasuje do wyszukiwania ani filtrów."
+ "noMatches": "Żadne zadanie nie pasuje do wyszukiwania ani filtrów.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Dodaj filtr…",
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index 3c3e6d32f..1335309c7 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -3312,7 +3312,10 @@
"filterBar": {
"label": "Filtros ativos",
"removeFilter": "Remover filtro {{name}}",
- "noMatches": "Nenhuma tarefa corresponde à sua busca ou aos seus filtros."
+ "noMatches": "Nenhuma tarefa corresponde à sua busca ou aos seus filtros.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Adicionar filtro…",
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 85757527d..decc61d6c 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -3418,7 +3418,10 @@
"filterBar": {
"label": "Активные фильтры",
"removeFilter": "Убрать фильтр «{{name}}»",
- "noMatches": "Нет задач, подходящих под поиск или фильтры."
+ "noMatches": "Нет задач, подходящих под поиск или фильтры.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Добавить фильтр…",
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index 35ddd7200..13bc45d50 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -3258,7 +3258,10 @@
"filterBar": {
"label": "Etkin filtreler",
"removeFilter": "{{name}} filtresini kaldır",
- "noMatches": "Aramanızla veya filtrelerinizle eşleşen görev yok."
+ "noMatches": "Aramanızla veya filtrelerinizle eşleşen görev yok.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Filtre ekle…",
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index 9a7972a0f..91d333b91 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -3366,7 +3366,10 @@
"filterBar": {
"label": "Активні фільтри",
"removeFilter": "Прибрати фільтр «{{name}}»",
- "noMatches": "Немає завдань, що відповідають пошуку чи фільтрам."
+ "noMatches": "Немає завдань, що відповідають пошуку чи фільтрам.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Додати фільтр…",
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index e76b19ea8..a42fd5c5f 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "Bộ lọc đang áp dụng",
"removeFilter": "Xóa bộ lọc {{name}}",
- "noMatches": "Không có công việc nào khớp với tìm kiếm hoặc bộ lọc của bạn."
+ "noMatches": "Không có công việc nào khớp với tìm kiếm hoặc bộ lọc của bạn.",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "Thêm bộ lọc…",
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index fc2aaeac4..8e7e3229d 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "已应用的筛选",
"removeFilter": "移除“{{name}}”筛选",
- "noMatches": "没有任务符合你的搜索或筛选条件。"
+ "noMatches": "没有任务符合你的搜索或筛选条件。",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "添加筛选…",
diff --git a/i18n/zh-TW.json b/i18n/zh-TW.json
index de6adc37d..2da06bd3a 100644
--- a/i18n/zh-TW.json
+++ b/i18n/zh-TW.json
@@ -3204,7 +3204,10 @@
"filterBar": {
"label": "已套用的篩選",
"removeFilter": "移除「{{name}}」篩選",
- "noMatches": "沒有符合搜尋或篩選條件的任務。"
+ "noMatches": "沒有符合搜尋或篩選條件的任務。",
+ "customFieldsLoading": "Loading custom-field values. Results are shown without custom-field filters.",
+ "customFieldsRefreshError": "Custom-field values could not be refreshed. Results may be out of date.",
+ "customFieldsUnavailable": "Custom-field values could not be loaded. Results are shown without custom-field filters."
},
"filterMenu": {
"addFilter": "新增篩選…",