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
chore(new-channels): item size (#2160)
teofae6e6e48f4e
diff --git a/js/app/packages/channel/Channel/ThreadList.tsx b/js/app/packages/channel/Channel/ThreadList.tsxindex 5233e55364..8c50bc3412 100644--- a/js/app/packages/channel/Channel/ThreadList.tsx+++ b/js/app/packages/channel/Channel/ThreadList.tsx@@ -6,6 +6,9 @@ import {type ScrollDirection,} from '@core/util/scroll-intent';+const BASE_ITEM_SIZE = 62;+const BASE_BUFFER_SIZE = BASE_ITEM_SIZE * 10;+type ScrollAlignment = ScrollToIndexOpts['align'];export type ThreadListScrollTarget =@@ -295,6 +298,8 @@ export function ThreadList(props: ThreadListProps) {scrollOnMount(ref);}}scrollRef={scrollRef}+ itemSize={BASE_ITEM_SIZE}+ bufferSize={BASE_BUFFER_SIZE}data={props.keys()}onScroll={handleScroll}shift={props.shift?.() ?? false}