mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4083] [Feature]: Gate Game-mode Storyboards behind a master enable toggle (collapse the section when off) #2209
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#2209
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?
Originally created by @SpicyMarinara on GitHub (Jul 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4083
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Game mode, the Storyboards agent card shows all its controls unconditionally. It should be gated behind a single master "Enable Storyboards" toggle: when the toggle is off, the entire section collapses/hides so the card is just the toggle (and its description).
Current behavior
The Storyboards card is
ChatSettingsDrawer.tsx:8441-8771. It always renders every control:There is no single master enable flag today — only per-lane auto toggles (
gameStoryboardAutoIllustrationsEnabled,gameStoryboardAutoGenerationEnabled).Desired behavior
Add a master "Enable Storyboards" toggle at the top of the card. When off, collapse/hide all the controls below it (leaving just the toggle + card description). When on, show the full set as today.
This should mirror the existing Illustrator card pattern, which gates all its detail fields behind its master toggle:
enabled={!!metadata.enableSpriteGeneration}(8196) with the body wrapped in{metadata.enableSpriteGeneration && ( … )}(8201).Implementation notes
gameStoryboardsEnabled, in the shared types alongside the other storyboard flags (shared/src/types/chat.ts:560-576, shared/src/types/game.ts:203-205).{gameStoryboardsEnabled && ( … )}.gameStoryboardAutoIllustrationsEnabled/gameStoryboardAutoGenerationEnabled) so storyboards don't keep generating while the section is collapsed — consistent with how the auto-illustrations toggle already cascades togameStoryboardAutoGenerationEnabled(8463).Manual verification (for the implementer — leave unchecked)
@SpicyMarinara commented on GitHub (Jul 25, 2026):
I’m implementing this as part of the active open-issue sweep in #4077. No competing issue-linked branch or open PR was found before starting.