Chat: suggested prompts should follow the page the operator is on #1905

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

The suggested chats are a fixed list. They should change with the page context the chat already sends with every message (the page tag shown above the composer), so on a task page Archie suggests task-related prompts, on the events page event-related ones, and so on.

The suggested chats are a fixed list. They should change with the page context the chat already sends with every message (the page tag shown above the composer), so on a task page Archie suggests task-related prompts, on the events page event-related ones, and so on.
Author
Owner

Suggested prompts now follow the page: the strip lives beside the composer (ChatComposer/ChatSuggestions) and the prompt set is keyed off the current route name, the same identity the page tag uses (task-detail names the open task, plus tasks, events, workflows, schedules, settings, default). Files: ui/src/chat/suggestions.ts, ui/src/chat/ChatSuggestions.vue, ui/src/chat/ChatComposer.vue, ui/src/chat/ChatEmptyState.vue, ui/src/chat/ChatTranscript.vue, ui/test/chat-suggestions.test.ts. Ran: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check (all pass); browser check on a vite dev server with a stub API confirmed the sets change per route (/ , /tasks, /tasks/42, /workflows, /org/schedules, /settings/models). PR: #1911

Suggested prompts now follow the page: the strip lives beside the composer (ChatComposer/ChatSuggestions) and the prompt set is keyed off the current route name, the same identity the page tag uses (task-detail names the open task, plus tasks, events, workflows, schedules, settings, default). Files: ui/src/chat/suggestions.ts, ui/src/chat/ChatSuggestions.vue, ui/src/chat/ChatComposer.vue, ui/src/chat/ChatEmptyState.vue, ui/src/chat/ChatTranscript.vue, ui/test/chat-suggestions.test.ts. Ran: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check (all pass); browser check on a vite dev server with a stub API confirmed the sets change per route (/ , /tasks, /tasks/42, /workflows, /org/schedules, /settings/models). 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:26:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1905