Closed jchoi92k closed 9 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
itell-strapi-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 7, 2024 9:09pm |
closing as this is now fixed with an alternative
I don't have the necessary env vars for the newest strapi branch so I have not been able to test this. Needs to be verified if this works before merging
Currently, if the last chunk spawns a constructed response item, users can just proceed to writing the summary without having to answer it. Like so:
The suggested fix that involves minimal changes is to add a boolean, "finishedReading" state to the useQA context, and to add a button in the final chunk that needs to be clicked for user to switch this value to
true
and to enable summary. The "continue reading" button will serve this function if the final chunk has an accompanying constructed response item.