[GH-ISSUE #4079] [Feature]: Game mode Illustrator — add image-generation settings, conditional campaign art-style field, control reordering, and Combat Style drawer placement #2205

Closed
opened 2026-10-21 05:46:15 +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/4079

Originally assigned to: @SpicyMarinara on GitHub.

Summary

A set of polish changes to Game mode → Chat Settings → Agents → Illustrator, to bring it to parity with the Conversation-mode Selfie image settings and tidy the layout. All of this lives in ChatSettingsDrawer.tsx (the single drawer shared by all modes); the Game Illustrator card is at lines 8182–8380.

1. Add "Image generation settings" to the Game Illustrator (parity with Conversation Selfies)

Conversation mode's Selfie block (ChatSettingsDrawer.tsx:6087-6246) offers image-generation settings the Game Illustrator does not:

  • an "Image generation settings" shortcut button (6110-6128, calls openGenerationSettings defined at 1210-1213) that jumps to the global Generations tab;
  • a resolution picker button grid (6195-6231, currently writes the conversation-scoped selfieResolution).

Ask: surface the same "Image generation settings" shortcut and resolution picker inside the Game Illustrator card. The connection / prompt-model / image-style / images-per-generation selectors are already shared renderIllustrator*() helpers and are already used by the Game block (8237-8261). A new game-scoped metadata key (e.g. gameImageResolution) will be needed since selfieResolution is conversation-scoped.

2. Hide the campaign art style field when its toggle is off

The "Use campaign art style" toggle is at 8262-8277; the Campaign art style textarea is at 8278-8327. Today the field is always rendered and merely disabled/greyed via disabled={!useCampaignArtStyle} (8321).

Ask: conditionally render the field so it's removed from the DOM when useCampaignArtStyle is off (wrap it in {useCampaignArtStyle && (...)} instead of disabling it).

3. Reorder controls: Scene image instructions above the two toggles

Current top-to-bottom order in the Game Illustrator card:

  1. Attach Card Appearance — 8328-8340
  2. Send Avatar References — 8341-8353
  3. Scene image instructions — 8354-8377

Ask: move Attach Card Appearance and Send Avatar References to render below Scene image instructions.

4. Move the Combat Style drawer below Agents, above Widgets

Section order is driven by the CHAT_SETTINGS_ORDER map (752-775) via CSS flexbox order. Current values: combatStyle: -1050, agents: -500, widgets: -450 — so Combat Style currently sorts far above Agents.

Ask: change combatStyle to a value between agents (-500) and widgets (-450), e.g. -475, so Combat Style renders directly below Agents and above Widgets. (Render sites: Combat Style 4547-4554, Agents 6679-6686, Widgets 9112-9118.)

Manual verification (for the implementer — leave unchecked)

  • Game Illustrator shows the "Image generation settings" shortcut and a resolution picker matching Conversation Selfies
  • Campaign art style field disappears entirely when "Use campaign art style" is toggled off, reappears when on
  • Scene image instructions renders above Attach Card Appearance and Send Avatar References
  • Combat Style drawer appears directly below Agents and above Widgets in Game mode Chat Settings
  • No regression to Conversation-mode Selfie settings
Originally created by @SpicyMarinara on GitHub (Jul 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4079 Originally assigned to: @SpicyMarinara on GitHub. ## Summary A set of polish changes to **Game mode → Chat Settings → Agents → Illustrator**, to bring it to parity with the Conversation-mode Selfie image settings and tidy the layout. All of this lives in [`ChatSettingsDrawer.tsx`](packages/client/src/components/chat/ChatSettingsDrawer.tsx) (the single drawer shared by all modes); the Game Illustrator card is at lines **8182–8380**. ## 1. Add "Image generation settings" to the Game Illustrator (parity with Conversation Selfies) Conversation mode's Selfie block ([`ChatSettingsDrawer.tsx:6087-6246`](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L6087-L6246)) offers image-generation settings the Game Illustrator does not: - an **"Image generation settings"** shortcut button ([6110-6128](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L6110-L6128), calls `openGenerationSettings` defined at [1210-1213](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L1210-L1213)) that jumps to the global Generations tab; - a **resolution picker** button grid ([6195-6231](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L6195-L6231), currently writes the conversation-scoped `selfieResolution`). **Ask:** surface the same "Image generation settings" shortcut and resolution picker inside the Game Illustrator card. The connection / prompt-model / image-style / images-per-generation selectors are already shared `renderIllustrator*()` helpers and are already used by the Game block ([8237-8261](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8237-L8261)). A new **game-scoped metadata key** (e.g. `gameImageResolution`) will be needed since `selfieResolution` is conversation-scoped. ## 2. Hide the campaign art style field when its toggle is off The **"Use campaign art style"** toggle is at [8262-8277](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8262-L8277); the **Campaign art style** textarea is at [8278-8327](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8278-L8327). Today the field is **always rendered** and merely disabled/greyed via `disabled={!useCampaignArtStyle}` ([8321](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8321)). **Ask:** conditionally render the field so it's removed from the DOM when `useCampaignArtStyle` is off (wrap it in `{useCampaignArtStyle && (...)}` instead of disabling it). ## 3. Reorder controls: Scene image instructions above the two toggles Current top-to-bottom order in the Game Illustrator card: 1. Attach Card Appearance — [8328-8340](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8328-L8340) 2. Send Avatar References — [8341-8353](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8341-L8353) 3. Scene image instructions — [8354-8377](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L8354-L8377) **Ask:** move **Attach Card Appearance** and **Send Avatar References** to render *below* **Scene image instructions**. ## 4. Move the Combat Style drawer below Agents, above Widgets Section order is driven by the `CHAT_SETTINGS_ORDER` map ([752-775](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L752-L775)) via CSS flexbox `order`. Current values: `combatStyle: -1050`, `agents: -500`, `widgets: -450` — so Combat Style currently sorts far above Agents. **Ask:** change `combatStyle` to a value between `agents` (-500) and `widgets` (-450), e.g. `-475`, so Combat Style renders directly below Agents and above Widgets. (Render sites: Combat Style [4547-4554](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L4547-L4554), Agents [6679-6686](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L6679-L6686), Widgets [9112-9118](packages/client/src/components/chat/ChatSettingsDrawer.tsx#L9112-L9118).) ## Manual verification (for the implementer — leave unchecked) - [ ] Game Illustrator shows the "Image generation settings" shortcut and a resolution picker matching Conversation Selfies - [ ] Campaign art style field disappears entirely when "Use campaign art style" is toggled off, reappears when on - [ ] Scene image instructions renders above Attach Card Appearance and Send Avatar References - [ ] Combat Style drawer appears directly below Agents and above Widgets in Game mode Chat Settings - [ ] No regression to Conversation-mode Selfie settings
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:5077586450 --> @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#2205
No description provided.