[GH-ISSUE #4083] [Feature]: Gate Game-mode Storyboards behind a master enable toggle (collapse the section when off) #2209

Closed
opened 2026-10-21 05:46:17 +07:00 by bsakaguchi · 1 comment
Owner

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:

  • "Automatic Storyboard Illustrations" toggle (8452-8466)
  • "Automatic Storyboard Animations" toggle (8467-8481)
  • "Use NovelAI Character Prompts" toggle (8482-8494)
  • Keyframes per turn (8495+), Storyboard Planners, Final Generation Prompts, etc.

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

  • Introduce a new metadata flag, e.g. gameStoryboardsEnabled, in the shared types alongside the other storyboard flags (shared/src/types/chat.ts:560-576, shared/src/types/game.ts:203-205).
  • Wrap the card body (everything after the master toggle, ~8448-8770) in {gameStoryboardsEnabled && ( … )}.
  • When the master toggle is turned off, also force the downstream auto-generation flags off (gameStoryboardAutoIllustrationsEnabled / gameStoryboardAutoGenerationEnabled) so storyboards don't keep generating while the section is collapsed — consistent with how the auto-illustrations toggle already cascades to gameStoryboardAutoGenerationEnabled (8463).
  • Decide the default for existing chats (recommend defaulting on if either auto flag is currently true, so behavior isn't silently disabled on upgrade).

Manual verification (for the implementer — leave unchecked)

  • Storyboards card shows only the master toggle + description when disabled
  • Enabling the toggle reveals the full control set; disabling collapses it again
  • Disabling the master toggle stops storyboard auto-generation
  • Existing chats with storyboards already in use are not silently disabled after upgrade
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`](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8441-L8771). It always renders every control: - "Automatic Storyboard Illustrations" toggle ([8452-8466](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8452-L8466)) - "Automatic Storyboard Animations" toggle ([8467-8481](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8467-L8481)) - "Use NovelAI Character Prompts" toggle ([8482-8494](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8482-L8494)) - Keyframes per turn ([8495+](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8495)), Storyboard Planners, Final Generation Prompts, etc. 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](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8196)) with the body wrapped in `{metadata.enableSpriteGeneration && ( … )}` ([8201](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8201)). ## Implementation notes - Introduce a new metadata flag, e.g. `gameStoryboardsEnabled`, in the shared types alongside the other storyboard flags ([shared/src/types/chat.ts:560-576](packages/shared/src/types/chat.ts#L560-L576), [shared/src/types/game.ts:203-205](packages/shared/src/types/game.ts#L203-L205)). - Wrap the card body (everything after the master toggle, ~8448-8770) in `{gameStoryboardsEnabled && ( … )}`. - When the master toggle is turned **off**, also force the downstream auto-generation flags off (`gameStoryboardAutoIllustrationsEnabled` / `gameStoryboardAutoGenerationEnabled`) so storyboards don't keep generating while the section is collapsed — consistent with how the auto-illustrations toggle already cascades to `gameStoryboardAutoGenerationEnabled` ([8463](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8463)). - Decide the default for existing chats (recommend defaulting **on** if either auto flag is currently true, so behavior isn't silently disabled on upgrade). ## Manual verification (for the implementer — leave unchecked) - [ ] Storyboards card shows only the master toggle + description when disabled - [ ] Enabling the toggle reveals the full control set; disabling collapses it again - [ ] Disabling the master toggle stops storyboard auto-generation - [ ] Existing chats with storyboards already in use are not silently disabled after upgrade
Author
Owner

@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.

<!-- gh-comment-id:5077604429 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2209
No description provided.