[PR #8381] [MERGED] fix(multiplayer): give the shared-session game wizard character names #8566

Closed
opened 2026-11-07 16:45:39 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8381
Author: @kolacheee
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @kolacheee

Base: staging ← Head: fix/multiplayer-wizard-names


📝 Commits (3)

  • 9c3abc9 fix(multiplayer): give the shared-session game wizard character names
  • 4c4e724 fix(multiplayer): let parseCharacterDisplayData read the raw row
  • c4c779c test(multiplayer): read wizard sources relative to the regression file

📊 Changes

4 files changed (+47 additions, -6 deletions)

View changed files

📝 e2e/multiplayer-controls.e2e.ts (+1 -1)
📝 packages/client/src/components/game/GameSetupWizard.tsx (+2 -2)
📝 packages/client/src/features/multiplayer/PreparedMultiplayerGameSetup.tsx (+21 -3)
➕ scripts/regressions/multiplayer-wizard-characters.regression.ts (+23 -0)

📄 Description

Linked issue

Closes #8380

Why this change

  • In a shared session, the host's game setup wizard showed characters with no names, and typing in the character search crashed it.

What changed

  • PreparedMultiplayerGameSetup maps library rows to display entries (name, comment, avatar, crop) with parseCharacterDisplayData, the same fields the chat's game wizard hands over.
  • GameSetupWizard's Game Master and party searches tolerate an entry without a name.
  • The multiplayer-controls e2e fixture for /api/characters now returns rows in their real { id, data } shape.
  • New multiplayer-wizard-characters regression.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • The new regression passes; prettier is clean on the changed files. The crash was found in a shared-session playtest; the same fix is being re-tested there.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

🔄 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/8381 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `fix/multiplayer-wizard-names` --- ### 📝 Commits (3) - [`9c3abc9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9c3abc915a83b2e8de1c705e931eb399f5d65dbb) fix(multiplayer): give the shared-session game wizard character names - [`4c4e724`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4c4e72403f0e7f7835117e7f592259ae852b7263) fix(multiplayer): let parseCharacterDisplayData read the raw row - [`c4c779c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c4c779c41c8686dac12962f87d426a5a7c1ad427) test(multiplayer): read wizard sources relative to the regression file ### 📊 Changes **4 files changed** (+47 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `e2e/multiplayer-controls.e2e.ts` (+1 -1) 📝 `packages/client/src/components/game/GameSetupWizard.tsx` (+2 -2) 📝 `packages/client/src/features/multiplayer/PreparedMultiplayerGameSetup.tsx` (+21 -3) ➕ `scripts/regressions/multiplayer-wizard-characters.regression.ts` (+23 -0) </details> ### 📄 Description ## Linked issue Closes #8380 ## Why this change - In a shared session, the host's game setup wizard showed characters with no names, and typing in the character search crashed it. ## What changed - `PreparedMultiplayerGameSetup` maps library rows to display entries (name, comment, avatar, crop) with `parseCharacterDisplayData`, the same fields the chat's game wizard hands over. - `GameSetupWizard`'s Game Master and party searches tolerate an entry without a name. - The `multiplayer-controls` e2e fixture for `/api/characters` now returns rows in their real `{ id, data }` shape. - New `multiplayer-wizard-characters` regression. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - The new regression passes; prettier is clean on the changed files. The crash was found in a shared-session playtest; the same fix is being re-tested there. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:45:39 +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#8566
No description provided.