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(soup): can't preview entity in collapsed group (#3368)
dev-rbd1b8b57a6038
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view-context.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view-context.tsxindex 14f8734aab..fe8df91aa5 100644--- a/js/app/packages/app/component/next-soup/soup-view/soup-view-context.tsx+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view-context.tsx@@ -362,7 +362,6 @@ export const SoupViewContextProvider: FlowComponent<for (const apiGroup of groups) {const groupMeta = buildGroupMeta(apiGroup);- const isExpanded = soup.grouping.isExpanded(apiGroup.key);const query = groupQueries().find((q) => q.key === apiGroup.key);const groupEntities = query?.data() ?? [];@@ -383,10 +382,6 @@ export const SoupViewContextProvider: FlowComponent<}));- // We skip building rows for entities that are- // not visible because the group is collapsed- if (!isExpanded) continue;-// Entity rowsfor (const entity of groupEntities) {result.push(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.tsxindex 415be07a78..3a4fe17c28 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@@ -1154,7 +1154,11 @@ export const SoupViewList = (props: SoupViewListProps) => {{/* Load more row */}<Match- when={row.getIsLoadMore() && row.group}+ when={+ row.group?.isExpanded() &&+ row.getIsLoadMore() &&+ row.group+ }>{(group) => {const highlighted = () => row.isFocused();@@ -1207,7 +1211,9 @@ export const SoupViewList = (props: SoupViewListProps) => {</Match>{/* Entity row */}- <Match when={true}>+ <Match+ when={!row.group || row.group?.isExpanded()}+ ><SoupEntityContextMenuentity={row.original}>