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
feat[soup-views]: hide completed tasks from assigned and created tabs (#2093)
Peter Chinmancdc6cc958d26
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 9fbb7e3f39..7dc73de2b6 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@@ -187,7 +187,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {owners: [ctx.userId],},},- clientFilters: { and: ['task', 'assigned-to'] },+ clientFilters: { and: ['task', 'assigned-to', 'task-not-completed'] },};},'created-by-me': (ctx) => {@@ -200,7 +200,7 @@ export const VIEW_TAB_PRESETS: Record<ListView, ViewTabConfig> = {owners: [ctx.userId],},},- clientFilters: { and: ['task'] },+ clientFilters: { and: ['task', 'task-not-completed'] },};},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 98bf445041..e9973784d6 100644--- a/js/app/packages/app/component/next-soup/filters/configs.ts+++ b/js/app/packages/app/component/next-soup/filters/configs.ts@@ -391,6 +391,11 @@ export const createSoupFilters = (label: 'Not Task',predicate: (entity) => !taskFilter(entity),},+ {+ id: 'task-not-completed',+ label: 'Not Completed',+ predicate: (entity) => taskFilter(entity) && !isCompleted(entity),+ },...TASK_STATUS_FILTERS,...TASK_PRIORITY_FILTERS,...DOCUMENT_CONTEXTUAL_FILTERS,