Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix[tasks]: also hide cancelled tasks from default tabs (#2168)
Peter Chinman075ee95b3305
diff --git a/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts b/js/app/packages/app/component/app-sidebar/soup-filter-presets.tsindex 9ac4e342fa..c556687e45 100644--- a/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts+++ b/js/app/packages/app/component/app-sidebar/soup-filter-presets.ts@@ -233,7 +233,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {owners: [ctx.userId],},},- clientFilters: { and: ['task', 'assigned-to', 'task-not-completed'] },+ clientFilters: { and: ['task', 'assigned-to', 'active-task'] },};},'created-by-me': (ctx) => {@@ -246,7 +246,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {owners: [ctx.userId],},},- clientFilters: { and: ['task', 'task-not-completed'] },+ clientFilters: { and: ['task', 'active-task'] },};},all: () => ({diff --git a/js/app/packages/app/component/next-soup/filters/configs.ts b/js/app/packages/app/component/next-soup/filters/configs.tsindex e20bde3ad4..c9b7c079a2 100644--- a/js/app/packages/app/component/next-soup/filters/configs.ts+++ b/js/app/packages/app/component/next-soup/filters/configs.ts@@ -401,9 +401,10 @@ export const createSoupFilters = (predicate: (entity) => !taskFilter(entity),},{- id: 'task-not-completed',- label: 'Not Completed',- predicate: (entity) => taskFilter(entity) && !isCompleted(entity),+ id: 'active-task',+ label: 'Task active',+ predicate: (entity) =>+ taskFilter(entity) && !isCompleted(entity) && !isCanceled(entity),},...TASK_STATUS_FILTERS,...TASK_PRIORITY_FILTERS,