Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style: reformat edit composer and todo overlay test

Steven Enamakel66d3b59ab7e3
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 41c9e66735..9303f6ffeb 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1504,9 +1504,7 @@ const EditComposer: FC = () => {
const { t } = useT();
const discardedReplies = useAuiState(selectDiscardedReplies);
return (
- <MessagePrimitive.Root
- data-slot="aui_edit-composer-wrapper"
- className="flex flex-col px-2">
+ <MessagePrimitive.Root data-slot="aui_edit-composer-wrapper" className="flex flex-col px-2">
<ComposerPrimitive.Root
data-slot="edit-message"
className="bg-background border-border/60 ms-auto flex w-full flex-col gap-3 rounded-2xl border p-3.5">
diff --git a/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx b/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx
index 801e5a1e5b..0ceddf96ce 100644
--- a/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx
+++ b/app/src/pages/__tests__/Conversations.auiComposerSurfaces.test.tsx
@@ -295,10 +295,17 @@ describe('assistant-ui chat surface — composer-adjacent cards', () => {
it('places live plan cards in an overlay above the composer rather than normal chat flow', async () => {
const store = await renderChat();
- await act(async () => store.dispatch(setThreadTodos({ threadId: THREAD_ID, todos: [
- { content: 'Inspect the current UI', status: 'completed' },
- { content: 'Verify overlay geometry', status: 'in_progress' },
- ] })));
+ await act(async () =>
+ store.dispatch(
+ setThreadTodos({
+ threadId: THREAD_ID,
+ todos: [
+ { content: 'Inspect the current UI', status: 'completed' },
+ { content: 'Verify overlay geometry', status: 'in_progress' },
+ ],
+ })
+ )
+ );
const plan = await screen.findByTestId('todo-checklist');
const overlay = plan.closest('[data-slot="composer-overlays"]');
expect(overlay).toHaveClass('absolute', 'bottom-full');