Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(search): calls filter no longer filters out calls (#2961)

gbirman19b3a0e66aeb
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
index daefeb9cea..409ea6219d 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
@@ -461,7 +461,6 @@ export const INDEX_OPTIONS: {
label: 'Email',
icon: () => <EntityIcon targetType="email" size="xs" theme="monochrome" />,
queryFilters: defineQueryFilters({
- exclude: { threadId: [NIL_UUID] },
include: { emailImportance: true },
}),
},
@@ -469,9 +468,7 @@ export const INDEX_OPTIONS: {
value: 'calls',
label: 'Calls',
icon: () => <EntityIcon targetType="call" size="xs" theme="monochrome" />,
- queryFilters: defineQueryFilters({
- exclude: { callChannelId: [NIL_UUID] },
- }),
+ queryFilters: defineQueryFilters({}, { skipTargets: ['callf'] }),
},
{
value: 'folders',
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
index b883bbb420..9dd78101ef 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
@@ -175,7 +175,7 @@ type PersistedSoupViewState = {
assigneeFilter: string[];
};
-const PERSISTED_STATE_VERSION = 4;
+const PERSISTED_STATE_VERSION = 5;
const listStateCache = new Map<
string,