Skip to content

fix(studio): show the user's answers to questions and plans in the chat - #20

Merged
jm-rivera merged 2 commits into
devfrom
fix/studio-chat-answers
Oct 20, 2026
Merged

jm-rivera merged 2 commits into
devfrom
fix/studio-chat-answers

Conversation

@jm-rivera

Copy link
Copy Markdown
Contributor

Ported from https://github.com/ONEcampaign/dfo-website/pull/192

When Studio asks a question or proposes a plan, the user's reply now stays in the chat:

  • a chosen option shows as "You chose: ";
  • a typed answer shows as typed;
  • a plan amendment shows as written.

Each appears once, before the reply it led to, and is saved with the conversation, so it is there
after a reload and when the conversation is reopened. Approving, rejecting or skipping adds nothing.

An answer belongs to the turn it answers: it does not number a new turn (cards and feedback stay on
their reply) and does not use a guest prompt. A Chat + Canvas share records how many user messages it
held, so its "beyond this point" line stays above answers given after the share.

A chosen option ("You chose: <option>"), a typed answer and a plan
amendment now enter the transcript as user messages, before the reply
they lead to, and are saved with the conversation. Answers do not count
as new turns or guest prompts, and a Chat + Canvas share line stays
above answers given after the share.
@jm-rivera
jm-rivera marked this pull request as ready for review October 20, 2026 15:21
@jm-rivera
jm-rivera merged commit 28f54e6 into dev Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants