mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #405] [MERGED] chore(client): add mode-specific intros to chat settings drawers #4607
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#4607
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/405
Author: @cha1latte
Created: 5/4/2026
Status: ✅ Merged
Merged: 5/5/2026
Merged by: @cha1latte
Base:
main← Head:chore/chat-mode-explainers📝 Commits (2)
7382d86Add mode-specific intro to chat settings drawer2892693Tighten MODE_INTROS to Record<ChatMode, string>📊 Changes
1 file changed (+20 additions, -0 deletions)
View changed files
📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+20 -0)📄 Description
Why
Each chat mode wires in a very different baseline of features, but the
settings drawer doesn't say so anywhere. New users opening it on a Game
chat can't tell that dice, combat, encounters, and session/map tracking
are already running — and on a Roleplay chat they can't tell that none
of that is built in and would need to be reconstructed via optional
agents below.
This adds one short line at the top of the drawer per mode so the
distinction is visible before scrolling through 14 sections.
What
MODE_INTROSmap inChatSettingsDrawer.tsx, keyed by chat mode,with one sentence each for
conversation,roleplay,visual_novel,and
game.matching the existing helper-text style used throughout the drawer.
Why hardcoded
CHAT_MODES.defaultAgentslooked like the natural source of truth, butit currently has no consumers in the repo (per the recent
chore/remove-game-master-leftoverscleanup) and wouldn't covernon-agent built-ins (GM pipeline, segment edits, autonomous messaging,
map updates, etc.) anyway. A short comment in the file flags this so
both can be folded into one source if
defaultAgentsis ever wired up.Manual verification
Verified in dev server:
systems built in…" above Chat Name (dark theme)
dice, combat, or GM pipeline…" (dark theme)
combat, encounters…" and the no-preset-bar layout still looks
clean (dark theme)
mode; all modes share the same
var(--muted-foreground)/var(--border)tokens)in the live product per maintainer note
Notes
pnpm check(TS + ESLint + build clean).Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.