[PR #100] [MERGED] fix(game): hide chat preset bar in Game Mode #4465

Closed
opened 2026-10-22 04:07:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/100
Author: @LukaTheHero
Created: 4/19/2026
Status: ✅ Merged
Merged: 4/19/2026
Merged by: @LukaTheHero

Base: main ← Head: fix/hide-chat-preset-in-game-mode


📝 Commits (1)

  • b3b80a6 fix(game): hide chat preset bar in Game Mode

📊 Changes

1 file changed (+99 additions, -97 deletions)

View changed files

📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+99 -97)

📄 Description

Summary

  • The Chat Settings preset system (preset dropdown + save / rename / new / import / export / delete icon row) is built around Conversation and Roleplay chats — connection, prompt preset, agents, tools, translation, memory recall, advanced params. None of that applies to Game Mode chats.
  • Seeing it there is confusing (the dropdown just reads "Loading…" since Game Mode has no preset bound) and implies functionality that isn't supposed to work in that context.
  • This wraps the preset bar in ChatSettingsDrawer.tsx with {!isGame && (…)} using the already-derived isGame = chatMode === "game" check, so it's hidden only in Game Mode and continues to render normally for Conversation, Roleplay, and Visual Novel.

Test plan

  • Conversation chat → preset bar renders with dropdown + icon row (unchanged).
  • Roleplay chat → preset bar renders (unchanged).
  • Game Mode chat → preset bar is gone; Chat Name section now sits directly under the header.
  • pnpm check passes (typecheck + build + prettier).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/100 **Author:** [@LukaTheHero](https://github.com/LukaTheHero) **Created:** 4/19/2026 **Status:** ✅ Merged **Merged:** 4/19/2026 **Merged by:** [@LukaTheHero](https://github.com/LukaTheHero) **Base:** `main` ← **Head:** `fix/hide-chat-preset-in-game-mode` --- ### 📝 Commits (1) - [`b3b80a6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b3b80a6ca9b2e588e654a232e01e6d42a7d9aedc) fix(game): hide chat preset bar in Game Mode ### 📊 Changes **1 file changed** (+99 additions, -97 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+99 -97) </details> ### 📄 Description ## Summary - The Chat Settings preset system (preset dropdown + save / rename / new / import / export / delete icon row) is built around Conversation and Roleplay chats — connection, prompt preset, agents, tools, translation, memory recall, advanced params. None of that applies to Game Mode chats. - Seeing it there is confusing (the dropdown just reads "Loading…" since Game Mode has no preset bound) and implies functionality that isn't supposed to work in that context. - This wraps the preset bar in `ChatSettingsDrawer.tsx` with `{!isGame && (…)}` using the already-derived `isGame = chatMode === "game"` check, so it's hidden only in Game Mode and continues to render normally for Conversation, Roleplay, and Visual Novel. ## Test plan - [x] Conversation chat → preset bar renders with dropdown + icon row (unchanged). - [x] Roleplay chat → preset bar renders (unchanged). - [x] Game Mode chat → preset bar is gone; Chat Name section now sits directly under the header. - [x] `pnpm check` passes (typecheck + build + prettier). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:50 +07:00
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#4465
No description provided.