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): selection not updated optimistically after mark as done (#2943)
dev-rb5bc9a14d6beb
diff --git a/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts b/js/app/packages/app/component/next-soup/actions/make-mark-done-action.tsindex 393dfa7d54..b5667e4791 100644--- a/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts+++ b/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts@@ -167,14 +167,14 @@ export const makeMarkDoneAction = (options: MakeMarkDoneOptions) => {? () => soup.focus.set(focusedIdBeforeMarkDone): undefined;- await execute(entities, restoreFocus);-soup.selection.clear();if (nextEntity) {soup.focus.set(nextEntity.id);onNavigate?.(nextEntity);}++ await execute(entities, restoreFocus);};return { canExecute, execute, executeWithSoup };