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.

chg(kommand): deprioritize commands in Kommand Menu, remove splitting (#481)

teo49f22fc94c34
diff --git a/js/app/packages/app/component/command/Konsole.tsx b/js/app/packages/app/component/command/Konsole.tsx
index 9da3709e05..36d75ab4b5 100644
--- a/js/app/packages/app/component/command/Konsole.tsx
+++ b/js/app/packages/app/component/command/Konsole.tsx
@@ -176,17 +176,9 @@ export function KommandMenuInner(props: {
});
const searchItems = createMemo(() => {
- let actionItems: CommandItemCard[] = [];
- const otherItems = freshSearch(allItems(), debouncedLocalQuery())
- .map((result) => result.item)
- .filter((item) => {
- if (item.type === 'command') {
- actionItems.push(item);
- return false;
- }
- return true;
- });
- return [...actionItems, ...otherItems];
+ return freshSearch(allItems(), debouncedLocalQuery()).map(
+ (result) => result.item
+ );
});
createModeListenerEffects();