Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(cmd-k): seed typed query into fresh search view (#4235)

gbirmanb51a9262aa94
diff --git a/js/app/packages/app/component/command/CommandMenu.tsx b/js/app/packages/app/component/command/CommandMenu.tsx
index 2e23dfcfaa..17b1c4895f 100644
--- a/js/app/packages/app/component/command/CommandMenu.tsx
+++ b/js/app/packages/app/component/command/CommandMenu.tsx
@@ -315,6 +315,9 @@ export function CommandMenuInner(props: {
{
type: 'component',
id: 'search',
+ // Opening search into an existing split otherwise drops these params
+ // and the field mounts empty. Entry state still wins on back/forward.
+ preserveParams: true,
params: {
initialQuery: item.query,
initialFilters: filters,