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(command): remove "Loading results" text from the command menu (#7247)

teo5afcee4c8836
diff --git a/apps/web/src/features/command/CommandMenu.tsx b/apps/web/src/features/command/CommandMenu.tsx
index a3d0405325..97250d313c 100644
--- a/apps/web/src/features/command/CommandMenu.tsx
+++ b/apps/web/src/features/command/CommandMenu.tsx
@@ -682,11 +682,6 @@ export function CommandMenuInner(props: {
</Show>
<CommandMenuShell.Body>
- <Show when={isLoadingEntities() && filteredItems().length > 0}>
- <div role="status" class="px-4 py-2 text-xs text-ink-muted">
- Loading results…
- </div>
- </Show>
<div
class="overflow-hidden transition-[height] duration-60 ease-out p-2"
style={{ height: `${resultsHeight()}px` }}
@@ -695,9 +690,7 @@ export function CommandMenuInner(props: {
when={filteredItems().length > 0}
fallback={
<CommandMenuEmptyState>
- <Show when={isLoadingEntities()} fallback="No results found">
- <span role="status">Loading results…</span>
- </Show>
+ <Show when={!isLoadingEntities()}>No results found</Show>
</CommandMenuEmptyState>
}
>
diff --git a/docs/AGENT_GUIDE/navigation.md b/docs/AGENT_GUIDE/navigation.md
index a758d98e62..078168bcce 100644
--- a/docs/AGENT_GUIDE/navigation.md
+++ b/docs/AGENT_GUIDE/navigation.md
@@ -498,10 +498,11 @@ the cache or reopening the menu with unchanged data does not reorder the results
Pending or failed Quick Access history, recently-viewed, and cached-channel lookups
must not hide the app shell. Verify a cold lookup with Cmd/Ctrl+K: navigation stays
-mounted and usable while the optional source loads or fails. When no entity rows
-are available yet, the menu shows **Loading results…** while keeping commands
-usable; a settled empty category shows **No results found**. Background history
-or channel refetches alone must not switch settled empty results back to loading,
+mounted and usable while the optional source loads or fails. The menu shows no
+loading text: while entity rows are still loading, an empty list stays blank and
+commands remain usable; a settled empty category shows **No results found**.
+Background history or channel refetches alone must not blank a settled empty
+category back to its loading state,
including when the active category does not use that source. Cache-update bursts
must let in-flight history, channel, and menu-search reads publish their results,
then catch up with one coalesced refresh. Verify with cache reads slower than the