New ui/src/chat/ChatSuggestions.vue renders the suggestion strip inside ChatComposer.vue above the field, so it is reachable without scrolling to the top, including in the collapsed bar; hidden below the md breakpoint when the bar is collapsed (phone), wrapping when expanded.
Clicking a suggestion calls sendMessage({ textOverride: prompt }), which sends immediately while idle (queueing only happens under isSending) and leaves the composer empty.
New ui/src/chat/suggestions.ts keys prompt sets off the route name, the same page identity the page tag uses: task-detail (names the open task via params.id), tasks, events, workflows, schedules, settings (meta.settings / settings-* / /settings paths), plus a default set.
ChatEmptyState.vue keeps its logo and drops the fixed prompt list; the dead prompt re-emit in ChatTranscript.vue is removed.
New ui/test/chat-suggestions.test.ts covers the route-to-prompt-set mapping.
Verified: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check all pass. Browser check against a vite dev server with a stub API on a scratch port: suggestions render beside the composer on /, /tasks, /tasks/42 (task #42 named), /workflows, /org/schedules, /settings/models; above the field; click on a suggestion sends it (prompt appears as a sent message in the transcript, composer stays empty); at 390px the collapsed bar hides the strip while the field and Send stay in the viewport, and expanded it wraps.
Closes #1905 and #1906.
What changed:
- New ui/src/chat/ChatSuggestions.vue renders the suggestion strip inside ChatComposer.vue above the field, so it is reachable without scrolling to the top, including in the collapsed bar; hidden below the md breakpoint when the bar is collapsed (phone), wrapping when expanded.
- Clicking a suggestion calls sendMessage({ textOverride: prompt }), which sends immediately while idle (queueing only happens under isSending) and leaves the composer empty.
- New ui/src/chat/suggestions.ts keys prompt sets off the route name, the same page identity the page tag uses: task-detail (names the open task via params.id), tasks, events, workflows, schedules, settings (meta.settings / settings-* / /settings paths), plus a default set.
- ChatEmptyState.vue keeps its logo and drops the fixed prompt list; the dead prompt re-emit in ChatTranscript.vue is removed.
- New ui/test/chat-suggestions.test.ts covers the route-to-prompt-set mapping.
Verified: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check all pass. Browser check against a vite dev server with a stub API on a scratch port: suggestions render beside the composer on /, /tasks, /tasks/42 (task #42 named), /workflows, /org/schedules, /settings/models; above the field; click on a suggestion sends it (prompt appears as a sent message in the transcript, composer stays empty); at 390px the collapsed bar hides the strip while the field and Send stay in the viewport, and expanded it wraps.
The suggestion strip moves out of the empty transcript into the composer,
above the field, so prompts stay reachable without scrolling to the top and
show in the collapsed bar where there is room (hidden below the md breakpoint
in the collapsed bar, wrapping when expanded on a phone). Clicking a prompt
calls sendMessage({ textOverride }), which sends at once while no turn runs
instead of filling the composer. Prompt sets are keyed off the current route
name, the same identity the page tag uses: task detail (naming the open task),
tasks, events, workflows, schedules, settings, and a default set. The empty
transcript keeps its logo and no longer owns the fixed prompt list; the dead
prompt re-emit in ChatTranscript is removed.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #1905 and #1906.
What changed:
Verified: pnpm test (107 pass), pnpm run typecheck, pnpm run build, task check all pass. Browser check against a vite dev server with a stub API on a scratch port: suggestions render beside the composer on /, /tasks, /tasks/42 (task #42 named), /workflows, /org/schedules, /settings/models; above the field; click on a suggestion sends it (prompt appears as a sent message in the transcript, composer stays empty); at 390px the collapsed bar hides the strip while the field and Send stay in the viewport, and expanded it wraps.
The suggestion strip moves out of the empty transcript into the composer, above the field, so prompts stay reachable without scrolling to the top and show in the collapsed bar where there is room (hidden below the md breakpoint in the collapsed bar, wrapping when expanded on a phone). Clicking a prompt calls sendMessage({ textOverride }), which sends at once while no turn runs instead of filling the composer. Prompt sets are keyed off the current route name, the same identity the page tag uses: task detail (naming the open task), tasks, events, workflows, schedules, settings, and a default set. The empty transcript keeps its logo and no longer owns the fixed prompt list; the dead prompt re-emit in ChatTranscript is removed.