mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #650] [MERGED] Fix CYOA choices live update #4711
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4711
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/650
Author: @cha1latte
Created: 5/10/2026
Status: ✅ Merged
Merged: 5/10/2026
Merged by: @cha1latte
Base:
main← Head:fix/issue-649-cyoa-live-choices📝 Commits (3)
1f873b1Fix CYOA choices live update38b1452Clear empty CYOA reroll results9e1f1baPreserve CYOA choices while messages load📊 Changes
5 files changed (+62 additions, -15 deletions)
View changed files
➕
docs/pr-evidence/issue-649-after.png(+0 -0)➕
docs/pr-evidence/issue-649-before.png(+0 -0)📝
packages/client/src/components/chat/CyoaChoices.tsx(+54 -10)📝
packages/client/src/hooks/use-generate.ts(+2 -2)📝
packages/client/src/stores/agent.store.ts(+6 -3)📄 Description
Linked issue
Closes #649
Why this change
What changed
CyoaChoicesremount instead of clearing them from stale message props.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
extra.cyoaChoices, but the UI displayed no choices.pnpm check, which passed (impeccable:check, lint, shared/server/client build).Docs and release impact
No docs, release metadata, schema, storage, dependency, or version files changed.
UI evidence (if applicable)
Before, the same post-stream remount sequence had no visible choices:
After, choices appear live without refresh:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.