[GH-ISSUE #2151] [Issue]: Game mode — "Talk to Party" turns skip quote formatting (straight quotes persist with typographic setting) #1060

Closed
opened 2026-10-21 05:26:05 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2151

Originally assigned to: @cha1latte on GitHub.

Summary

Severity: minor. With the typographic quote setting on, a "Talk to Party" turn is persisted/sent with straight quotes while every other turn uses curly quotes. The party-address branch bypasses the one place the refactor now applies quote formatting.

Expected behavior

As in main: GameInput formats the outgoing body with formatTextQuotes before send, so every path (party/GM/scene) is already quote-normalized.

Actual behavior

The refactor moved formatting out of GameInput into GameSurface.sendMessage, but handleSendGameTurn's party branch persists the raw message via createMessage and returns before sendMessage runs, so "Talk to Party" turns skip formatTextQuotes.

Steps to reproduce

  1. Set quote format to Typographic.
  2. In a game with party members, choose "Talk to Party" and send a message with straight quotes, e.g. say "follow me".
  3. The persisted/displayed message keeps straight quotes; a normal turn would render curly quotes.

Impact area

  • Game mode

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/client/src/components/game/GameInput.tsx:185/:204 (formatTextQuotes at the input boundary).
  • refactor: src/features/modes/game/components/GameInput.tsx:185/:203 (raw); formatting only in GameSurface.tsx:4848 (sendMessage), bypassed by the party branch at GameSurface.tsx:7187-7226.
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2151 Originally assigned to: @cha1latte on GitHub. ## Summary **Severity: minor.** With the typographic quote setting on, a "Talk to Party" turn is persisted/sent with straight quotes while every other turn uses curly quotes. The party-address branch bypasses the one place the refactor now applies quote formatting. ## Expected behavior As in main: `GameInput` formats the outgoing body with `formatTextQuotes` before send, so every path (party/GM/scene) is already quote-normalized. ## Actual behavior The refactor moved formatting out of `GameInput` into `GameSurface.sendMessage`, but `handleSendGameTurn`'s party branch persists the raw message via `createMessage` and returns before `sendMessage` runs, so "Talk to Party" turns skip `formatTextQuotes`. ## Steps to reproduce 1. Set quote format to Typographic. 2. In a game with party members, choose "Talk to Party" and send a message with straight quotes, e.g. `say "follow me"`. 3. The persisted/displayed message keeps straight quotes; a normal turn would render curly quotes. ## Impact area - [x] Game mode ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/client/src/components/game/GameInput.tsx:185/:204` (`formatTextQuotes` at the input boundary). - refactor: `src/features/modes/game/components/GameInput.tsx:185/:203` (raw); formatting only in `GameSurface.tsx:4848` (`sendMessage`), bypassed by the party branch at `GameSurface.tsx:7187-7226`.
bsakaguchi 2026-10-21 05:26:05 +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#1060
No description provided.