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
new paradigm: fix some regressions (#1037)
Caleb Taylor140f46ee590d
diff --git a/js/app/packages/app/component/Soup.tsx b/js/app/packages/app/component/Soup.tsxindex 5e5d32dd6c..59b9ef07fc 100644--- a/js/app/packages/app/component/Soup.tsx+++ b/js/app/packages/app/component/Soup.tsx@@ -256,6 +256,7 @@ function EntityTypeIconFilter() {config.handler();return true;},+ registrationType: 'add',}));diff --git a/js/app/packages/app/component/SoupContext.tsx b/js/app/packages/app/component/SoupContext.tsxindex 390adc8f8c..f4dad57d70 100644--- a/js/app/packages/app/component/SoupContext.tsx+++ b/js/app/packages/app/component/SoupContext.tsx@@ -436,7 +436,6 @@ export function createNavigationEntityListShortcut({actionRegistry.register('mark_as_done',async (multiSelectEntities) => {- console.log(selectedView());const handler =VIEWCONFIG_DEFAULTS[selectedView() as DefaultView]?.hotkeyOptions?.e;@@ -515,7 +514,6 @@ export function createNavigationEntityListShortcut({setViewDataStore(selectedView(), 'multiSelectEntities', []);- console.log('marked as done');toast.success('Marked as done');}diff --git a/js/app/packages/app/component/UnifiedListView.tsx b/js/app/packages/app/component/UnifiedListView.tsxindex 2315b8cfcf..c8124d8c54 100644--- a/js/app/packages/app/component/UnifiedListView.tsx+++ b/js/app/packages/app/component/UnifiedListView.tsx@@ -334,9 +334,8 @@ export function UnifiedListView(props: UnifiedListViewProps) {createEffect(on(filterKey,- (_current, prev) => {+ () => {if (isTouchDevice()) return;- if (prev === undefined) return; // Skip initial runbatch(() => {setViewDataStore(selectedView(), 'selectedEntity', undefined);diff --git a/js/app/packages/app/component/split-layout/components/SplitToolbar.tsx b/js/app/packages/app/component/split-layout/components/SplitToolbar.tsxindex 2540951ee0..7a32ffabd1 100644--- a/js/app/packages/app/component/split-layout/components/SplitToolbar.tsx+++ b/js/app/packages/app/component/split-layout/components/SplitToolbar.tsx@@ -42,29 +42,28 @@ export function SplitToolbar(props: { ref: Setter<HTMLDivElement | null> }) {// The preview panel renders blocks directly without using SplitContainer,// so this only affects the main unified list toolbarreturn (- <Show when={!preview()}>+ <div+ class="relative w-full flex items-center justify-between shrink-0"+ classList={{+ 'h-10 px-1 border-b border-edge-muted/50': hasContent(),+ hidden: preview(),+ }}+ data-split-toolbar+ ref={props.ref}+ ><div- class="relative w-full flex items-center justify-between shrink-0"- classList={{- 'h-10 px-1 border-b border-edge-muted/50': hasContent(),+ class="flex h-full items-center flex-1"+ ref={(ref) => {+ panel.layoutRefs.toolbarLeft = ref;}}- data-split-toolbar- ref={props.ref}- >- <div- class="flex h-full items-center flex-1"- ref={(ref) => {- panel.layoutRefs.toolbarLeft = ref;- }}- />- <div- class="flex h-full items-center"- ref={(ref) => {- panel.layoutRefs.toolbarRight = ref;- }}- />- </div>- </Show>+ />+ <div+ class="flex h-full items-center"+ ref={(ref) => {+ panel.layoutRefs.toolbarRight = ref;+ }}+ />+ </div>);}diff --git a/js/app/packages/block-project/component/Block.tsx b/js/app/packages/block-project/component/Block.tsxindex 62a45b3fe0..695f242d22 100644--- a/js/app/packages/block-project/component/Block.tsx+++ b/js/app/packages/block-project/component/Block.tsx@@ -106,7 +106,7 @@ const Block: Component = () => {if (!isRenderedFromPreview) {registerHotkey({- hotkey: ['p'],+ hotkey: ['space'],scopeId: splitPanelContext.splitHotkeyScope,description: 'Toggle Preview',hotkeyToken: TOKENS.unifiedList.togglePreview,diff --git a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsxindex c3a5941aca..8cf63aa5cf 100644--- a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx+++ b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx@@ -1048,6 +1048,7 @@ export function EntityWithEverything(class="min-h-10 min-w-[50px] flex flex-row items-center gap-2 col-2 @max-md/uList:col-auto @max-md/uList:w-full @max-md/uList:min-h-0 @max-md/uList:items-start"classList={{grow: props.contentPlacement === 'bottom-row',+ 'opacity-70': props.fadeIfRead && !props.unreadIndicatorActive,}}>{/* When the left checkbox column is hidden in narrow split containers, we still want