Chat: suggested prompts belong beside the composer and send on click #1906

Closed
opened 2026-11-12 12:27:07 +00:00 by sam · 1 comment
Owner

Suggested chats are fixed to the top of the conversation, so using one means moving the mouse to the top, clicking a suggestion, then clicking Send or pressing Enter. The suggestions should sit next to the composer, and clicking one should send it straight away.

Suggested chats are fixed to the top of the conversation, so using one means moving the mouse to the top, clicking a suggestion, then clicking Send or pressing Enter. The suggestions should sit next to the composer, and clicking one should send it straight away.
Author
Owner

Suggestions now sit beside the composer and send on click: ChatSuggestions renders above the field inside ChatComposer (also in the collapsed bar, hidden below md on phone, wrapping when expanded), and a click calls sendMessage({ textOverride: prompt }), which sends immediately while idle instead of filling the composer. The fixed list in the empty transcript is removed along with the dead prompt re-emit in ChatTranscript. Files: ui/src/chat/ChatSuggestions.vue, ui/src/chat/ChatComposer.vue, ui/src/chat/ChatEmptyState.vue, ui/src/chat/ChatTranscript.vue, ui/src/chat/suggestions.ts, ui/test/chat-suggestions.test.ts. Ran: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check (all pass); browser check confirmed a click sends the prompt (it appears as a sent message in the transcript, composer stays empty) and at 390px the collapsed bar hides the strip with controls undeformed. PR: #1911

Suggestions now sit beside the composer and send on click: ChatSuggestions renders above the field inside ChatComposer (also in the collapsed bar, hidden below md on phone, wrapping when expanded), and a click calls sendMessage({ textOverride: prompt }), which sends immediately while idle instead of filling the composer. The fixed list in the empty transcript is removed along with the dead prompt re-emit in ChatTranscript. Files: ui/src/chat/ChatSuggestions.vue, ui/src/chat/ChatComposer.vue, ui/src/chat/ChatEmptyState.vue, ui/src/chat/ChatTranscript.vue, ui/src/chat/suggestions.ts, ui/test/chat-suggestions.test.ts. Ran: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check (all pass); browser check confirmed a click sends the prompt (it appears as a sent message in the transcript, composer stays empty) and at 390px the collapsed bar hides the strip with controls undeformed. PR: https://git.catlow.cloud/sam/archie/pulls/1911
sam self-assigned this 2026-11-12 13:26:17 +00:00
sam closed this issue 2026-11-12 13:45:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1906