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(ui): update command k for glass world (#6400)

Seamus892cd7c7392d
diff --git a/apps/web/src/features/command/CommandMenu.tsx b/apps/web/src/features/command/CommandMenu.tsx
index 06762121d4..9fc698ee70 100644
--- a/apps/web/src/features/command/CommandMenu.tsx
+++ b/apps/web/src/features/command/CommandMenu.tsx
@@ -5,7 +5,6 @@ import { getSearchSplit } from '@app/features/next-soup/soup-view/search-control
import { useAnalytics } from '@app/lib/analytics/analytics-context';
import { globalSplitManager } from '@app/signal/splitLayout';
import { useSplitLayout } from '@components/app/split-layout/layout';
-import { TabsInset } from '@core/component/TabsInset';
import { itemToBlockName } from '@core/constant/allBlocks';
import { USE_MACRO_PR_SUMMARY_BLOCK } from '@core/constant/featureFlags';
import { getActiveCommandsFromScope } from '@core/hotkey/getCommands';
@@ -31,6 +30,7 @@ import {
createCommandListController,
Dialog,
Hotkey,
+ Tabs,
} from '@ui';
import {
createEffect,
@@ -594,15 +594,14 @@ export function CommandMenuInner(props: {
<Show when={isEntityActionMode() || !isInCommandScope()}>
<CommandMenuShell.Toolbar
class={cn(
- 'pl-2.5 pr-1.5 pt-2 border-0',
+ 'pl-2.5 pr-1.5 pt-2 border-0 bg-transparent',
isEntityActionMode() && 'gap-1.5'
)}
>
<Show
when={isEntityActionMode()}
fallback={
- <TabsInset
- depth={1}
+ <Tabs
list={categoryTabs}
value={CommandState.categoryFilter()}
onChange={(value) => {
@@ -645,7 +644,7 @@ export function CommandMenuInner(props: {
</div>
</CommandMenuShell.Body>
- <CommandMenuShell.Footer>
+ <CommandMenuShell.Footer class="bg-transparent">
<span class="flex items-center gap-1">
<div class="flex gap-1">
<div class="flex border border-edge-muted text-xxs rounded-md items-center px-1.5 py-px font-normal">
diff --git a/docs/AGENT_GUIDE/navigation.md b/docs/AGENT_GUIDE/navigation.md
index 05a9f591bb..38d59d2f68 100644
--- a/docs/AGENT_GUIDE/navigation.md
+++ b/docs/AGENT_GUIDE/navigation.md
@@ -159,10 +159,10 @@ the static highlight.
## Command menu (Ctrl+K)
-Opens a dialog with a focused `Search...` textbox and category radios
+Opens a dialog with a focused `Search...` textbox and bubble-style category radios
(All / Command / Agents / Files / Tasks / Channels / People). Type a name, press Enter to open
the top hit. Also exposes commands: `Create`, `Change theme`, `MCP setup`. Keys: Tab cycles
-category, Esc closes.
+category, Esc closes. The category strip and footer have transparent backgrounds.
## Keyboard model (from the in-app guide; verified partially)