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
chg(soup): arrowup & arrowdown shouldn't navigate you outside of soup (#912)
teof044b00b9091
diff --git a/js/app/packages/app/component/SoupContext.tsx b/js/app/packages/app/component/SoupContext.tsxindex 7ed256b4bc..934b1baca5 100644--- a/js/app/packages/app/component/SoupContext.tsx+++ b/js/app/packages/app/component/SoupContext.tsx@@ -1120,20 +1120,32 @@ export function createNavigationEntityListShortcut({runWithInputFocused: true,});+ function stepDown() {+ playSound('down');+ navigateThroughList({ axis: 'end', mode: 'step' });+ return true;+ }+registerEntityHotkey({- hotkey: ['j', 'arrowdown'],+ hotkey: ['j'],scopeId: splitHotkeyScope,description: 'Down',hotkeyToken: TOKENS.entity.step.end,- keyDownHandler: () => {- playSound('down');- navigateThroughList({ axis: 'end', mode: 'step' });- return true;- },+ keyDownHandler: stepDown,canExecuteKeyDownHandler: () => canAccessEntityList(),hide: true,});+ registerEntityHotkey({+ hotkey: ['arrowdown'],+ scopeId: splitHotkeyScope,+ description: 'Down',+ hotkeyToken: TOKENS.entity.step.end,+ keyDownHandler: stepDown,+ canExecuteKeyDownHandler: () => isViewingList(),+ hide: true,+ });+registerEntityHotkey({hotkey: ['shift+arrowdown', 'shift+j'],scopeId: splitHotkeyScope,@@ -1148,20 +1160,32 @@ export function createNavigationEntityListShortcut({hide: true,});+ function stepUp() {+ playSound('up');+ navigateThroughList({ axis: 'start', mode: 'step' });+ return true;+ }+registerEntityHotkey({- hotkey: ['k', 'arrowup'],+ hotkey: ['k'],scopeId: splitHotkeyScope,hotkeyToken: TOKENS.entity.step.start,description: 'Up',- keyDownHandler: () => {- playSound('up');- navigateThroughList({ axis: 'start', mode: 'step' });- return true;- },+ keyDownHandler: stepUp,canExecuteKeyDownHandler: () => canAccessEntityList(),hide: true,});+ registerEntityHotkey({+ hotkey: ['arrowup'],+ scopeId: splitHotkeyScope,+ hotkeyToken: TOKENS.entity.step.start,+ description: 'Up',+ keyDownHandler: stepUp,+ canExecuteKeyDownHandler: () => isViewingList(),+ hide: true,+ });+registerEntityHotkey({hotkey: ['shift+arrowup', 'shift+k'],scopeId: splitHotkeyScope,