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(soup): don't show ask ai input when controller (#5517)

teoc63b2a66bdc4
diff --git a/apps/web/src/features/next-soup/soup-view/soup-view.tsx b/apps/web/src/features/next-soup/soup-view/soup-view.tsx
index bf99f6ebd8..43eb922404 100644
--- a/apps/web/src/features/next-soup/soup-view/soup-view.tsx
+++ b/apps/web/src/features/next-soup/soup-view/soup-view.tsx
@@ -692,13 +692,14 @@ export const SoupView = (props: SoupViewProps) => {
</Show>
</div>
<Suspense>
- {/* The board hides the AI bar: it floats over the bottom edge, where
- it would cover the board's horizontal scrollbar. */}
+ {/* The board and Preview Controller hide the AI bar: it floats over
+ content that is already constrained in both layouts. */}
<Show
when={
ENABLE_UNIFIED_LIST_AI_INPUT &&
!isMobile() &&
!isNewInboxEnabled() &&
+ !panel.handle.isControllerSplit() &&
!isBoardRendered() &&
!isComponentListView('search')
}