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(search): keep tab in search, hint @mention in placeholder (#2730)

gbirmanf2fca5aeae85
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
index aa77ea682c..5a88079038 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/soup-view-search-bar.tsx
@@ -64,6 +64,10 @@ export const SoupSearchbar = (props: SoupSearchbarProps) => {
editor.controls.blur();
props.onDismiss?.();
return true;
+ })
+ .onTab((e) => {
+ e.preventDefault();
+ return true;
});
// Sync search text + mention filters only when the mention menu is closed.
@@ -120,7 +124,7 @@ export const SoupSearchbar = (props: SoupSearchbarProps) => {
>
<MarkdownShell
config={editor}
- placeholder="Search"
+ placeholder="Search, @mention contacts"
autofocus={props.autoFocus}
class="!min-h-0 !overflow-visible"
/>