[GH-ISSUE #4082] [Issue]: Scene Videos (Game mode) — consolidate preset editors into Settings → Generations, add "Video generation settings" shortcut, equalize Storyboard Planner columns #2208

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/4082

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Restructure the Scene Videos agent settings in Game mode (Chat Settings → Agents) to match the pattern used for image generation: move all the "Edit … Presets" prompt editors out of the agent card and into the centralized Settings → Generations → Prompt Overrides editors, and replace them with a single "Video generation settings" shortcut. Also fix an uneven layout.

All the Scene Videos UI is in the Game-mode card at ChatSettingsDrawer.tsx:8383-8440. The generations-settings editors are in SettingsPanel.tsx and the server registry in prompt-overrides/registry.ts.

1. Remove "Edit Video Prompt Presets"; add a "Video generation settings" button at the top

  • Remove the "Edit Video Prompt Presets" library (ChatSettingsDrawer.tsx:8424-8435, a GameProviderPromptLibrary).
  • Add a "Video generation settings" button at the top of the Scene Videos card (just after :8388) that navigates to Settings → Generations, mirroring the existing "Image generation settings" button (:6108-6126) which calls openGenerationSettings (:1210-1213). A new locale key (e.g. videoGenerationSettings) is needed — there's currently only imageGenerationSettings.

2. Remove the Planner Presets editors; move them into Video Generation Prompt Overrides

  • Remove "Edit Illustration Planner Presets" and "Edit Animation Planner Presets" — these are the two GameStoryboardPromptLibrary instances at :8656-8663 (illustration) and :8684-8691 (animation).
  • Move their prompts into the Video Generation Prompt Overrides editor in Settings → Generations (SettingsPanel.tsx:5280-5286) as available options — i.e. register them in the server PROMPT_OVERRIDE_REGISTRY (registry.ts:35-54 / registry/game-assets.ts) and add their keys to VIDEO_PROMPT_TEMPLATE_KEYS (SettingsPanel.tsx:1547-1557) so they show up in the video overrides dropdown.

3. Make the two Storyboard Planners equal size

Under "Storyboard Planners" (:8630) the two columns sit in a 2-col grid (:8636). The column containers use identical classNames (:8637 vs :8665) — the "one is shorter" appearance is content-driven (different description lengths / preset counts), because the grid doesn't equal-height its rows. Fix: add equal-height to the grid (e.g. items-stretch + h-full on the columns) so both planner cards match.

4. Move the final-generation preset editors into Settings → Generations

In the "Final Generation Prompts" sub-section (:8697-8698):

  • "Edit Illustration Prompt Presets" (:8740-8753) → move into the Image Generation Prompt Overrides editor (SettingsPanel.tsx:5288-5292) as an available option.
  • "Edit Storyboard Video Prompt Presets" (:8754-8765) → move into the Video Generation Prompt Overrides editor.

Same mechanism as item 2: register the prompt(s) in the server registry, and (for the video ones) add their keys to VIDEO_PROMPT_TEMPLATE_KEYS; image ones appear automatically since the image editor has no keys allow-list.

Net result

Scene Videos card ends up with: a "Video generation settings" shortcut at the top + the operational controls (connection/toggles/planner selects), with all prompt-preset editing consolidated into Settings → Generations → Image/Video Generation Prompt Overrides — consistent with how image generation is already organized.

Manual verification (for the implementer — leave unchecked)

  • "Edit Video Prompt Presets" is gone; a "Video generation settings" button at the top of Scene Videos opens Settings → Generations
  • "Edit Illustration/Animation Planner Presets" no longer appear in Scene Videos; their prompts are editable in Video Generation Prompt Overrides
  • The two Storyboard Planner columns render at equal height
  • "Edit Illustration Prompt Presets" is editable in Image Generation Prompt Overrides; "Edit Storyboard Video Prompt Presets" in Video Generation Prompt Overrides
  • Moved prompts still resolve/apply correctly at generation time (no orphaned template keys)
Originally created by @SpicyMarinara on GitHub (Jul 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4082 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Restructure the **Scene Videos** agent settings in Game mode (Chat Settings → Agents) to match the pattern used for image generation: move all the "Edit … Presets" prompt editors out of the agent card and into the centralized **Settings → Generations → Prompt Overrides** editors, and replace them with a single "Video generation settings" shortcut. Also fix an uneven layout. All the Scene Videos UI is in the Game-mode card at [ChatSettingsDrawer.tsx:8383-8440](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8383-L8440). The generations-settings editors are in [SettingsPanel.tsx](packages/client/src/components/panels/SettingsPanel.tsx) and the server registry in [prompt-overrides/registry.ts](packages/server/src/services/prompt-overrides/registry.ts). ## 1. Remove "Edit Video Prompt Presets"; add a "Video generation settings" button at the top - **Remove** the "Edit Video Prompt Presets" library ([ChatSettingsDrawer.tsx:8424-8435](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8424-L8435), a `GameProviderPromptLibrary`). - **Add** a "Video generation settings" button at the top of the Scene Videos card (just after [:8388](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8388)) that navigates to Settings → Generations, mirroring the existing "Image generation settings" button ([:6108-6126](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L6108-L6126)) which calls `openGenerationSettings` ([:1210-1213](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L1210-L1213)). A new locale key (e.g. `videoGenerationSettings`) is needed — there's currently only `imageGenerationSettings`. ## 2. Remove the Planner Presets editors; move them into Video Generation Prompt Overrides - **Remove** "Edit Illustration Planner Presets" and "Edit Animation Planner Presets" — these are the two `GameStoryboardPromptLibrary` instances at [:8656-8663](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8656-L8663) (illustration) and [:8684-8691](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8684-L8691) (animation). - **Move** their prompts into the **Video Generation Prompt Overrides** editor in Settings → Generations ([SettingsPanel.tsx:5280-5286](packages/client/src/components/panels/SettingsPanel.tsx#L5280-L5286)) as available options — i.e. register them in the server `PROMPT_OVERRIDE_REGISTRY` ([registry.ts:35-54](packages/server/src/services/prompt-overrides/registry.ts#L35-L54) / `registry/game-assets.ts`) and add their keys to `VIDEO_PROMPT_TEMPLATE_KEYS` ([SettingsPanel.tsx:1547-1557](packages/client/src/components/panels/SettingsPanel.tsx#L1547-L1557)) so they show up in the video overrides dropdown. ## 3. Make the two Storyboard Planners equal size Under "Storyboard Planners" ([:8630](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8630)) the two columns sit in a 2-col grid ([:8636](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8636)). The column containers use **identical** classNames ([:8637](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8637) vs [:8665](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8665)) — the "one is shorter" appearance is content-driven (different description lengths / preset counts), because the grid doesn't equal-height its rows. **Fix:** add equal-height to the grid (e.g. `items-stretch` + `h-full` on the columns) so both planner cards match. ## 4. Move the final-generation preset editors into Settings → Generations In the "Final Generation Prompts" sub-section ([:8697-8698](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8697-L8698)): - **"Edit Illustration Prompt Presets"** ([:8740-8753](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8740-L8753)) → move into the **Image** Generation Prompt Overrides editor ([SettingsPanel.tsx:5288-5292](packages/client/src/components/panels/SettingsPanel.tsx#L5288-L5292)) as an available option. - **"Edit Storyboard Video Prompt Presets"** ([:8754-8765](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8754-L8765)) → move into the **Video** Generation Prompt Overrides editor. Same mechanism as item 2: register the prompt(s) in the server registry, and (for the video ones) add their keys to `VIDEO_PROMPT_TEMPLATE_KEYS`; image ones appear automatically since the image editor has no `keys` allow-list. ## Net result Scene Videos card ends up with: a "Video generation settings" shortcut at the top + the operational controls (connection/toggles/planner selects), with **all** prompt-preset editing consolidated into Settings → Generations → Image/Video Generation Prompt Overrides — consistent with how image generation is already organized. ## Manual verification (for the implementer — leave unchecked) - [ ] "Edit Video Prompt Presets" is gone; a "Video generation settings" button at the top of Scene Videos opens Settings → Generations - [ ] "Edit Illustration/Animation Planner Presets" no longer appear in Scene Videos; their prompts are editable in Video Generation Prompt Overrides - [ ] The two Storyboard Planner columns render at equal height - [ ] "Edit Illustration Prompt Presets" is editable in Image Generation Prompt Overrides; "Edit Storyboard Video Prompt Presets" in Video Generation Prompt Overrides - [ ] Moved prompts still resolve/apply correctly at generation time (no orphaned template keys)
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:5077586999 --> @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#2208
No description provided.