[PR #1429] [CLOSED] Fix game setup library character selection #5085

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1429
Author: @Decidetto
Created: 5/27/2026
Status: ❌ Closed

Base: refactor ← Head: fix/game-setup-library-characters


📝 Commits (1)

  • 333fbc6 game: list library characters in setup wizard

📊 Changes

7 files changed (+216642 additions, -213272 deletions)

View changed files

📝 graphify-out/.graphify_labels.json (+0 -12)
📝 graphify-out/GRAPH_REPORT.md (+293 -349)
📝 graphify-out/cache/stat-index.json (+1 -1)
📝 graphify-out/graph.json (+212883 -209438)
📝 graphify-out/manifest.json (+3406 -3406)
📝 src/features/modes/game/components/GameSetupWizard.tsx (+59 -65)
📝 src/features/modes/game/components/GameSurface.tsx (+0 -1)

📄 Description

Linked issue

Closes #1425

Why this change

  • New game-mode sessions reached the GM/party selection step with no selectable characters, even when the user's character library contained characters.

What changed

  • Changed the game setup wizard to load party candidates directly from the character library query used by the character library surfaces.
  • Reused shared character display parsing for names, comments, avatars, and avatar crop data.
  • Removed the pre-session chat-scoped character prop from the game setup wizard.
  • Regenerated Graphify output after rebasing onto latest refactor.

Refactor impact

Primary owner:

game mode

Impact areas reviewed:

  • Game setup wizard character selection
  • Game surface setup wizard wiring
  • Character catalog query/display data shape

Boundary notes:

  • React feature code now reads catalog character data through the existing useCharacters() hook.
  • No engine, shared API, Rust command, storage, or remote-runtime boundary changes.

Pressure points touched:

  • GameSurface
  • GameSetupWizard

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Reproduced the original empty party-selection state in the running app before the fix.
  • After the fix, runtime inspection confirmed the wizard no longer showed the empty "No characters found" state and known library character names were present.
  • Ran graphify update . after rebasing onto latest origin/refactor.
  • Ran pnpm check, which completed architecture checks, TypeScript build checks, Rust workspace cargo check, and docs checks.
  • Ran pnpm build locally.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

UI evidence

  • Runtime inspection was used during debugging; no screenshot or recording is attached.

Summary by CodeRabbit

  • Chores
    • Updated community analysis graph with additional detected communities (421–423) and refined statistical metrics.
    • Refactored character data loading system in game setup wizard for improved maintainability.

Review Change Stack


🔄 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/1429 **Author:** [@Decidetto](https://github.com/Decidetto) **Created:** 5/27/2026 **Status:** ❌ Closed **Base:** `refactor` ← **Head:** `fix/game-setup-library-characters` --- ### 📝 Commits (1) - [`333fbc6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/333fbc6457feb5c68d981047b917c8cd9aa3b6fe) game: list library characters in setup wizard ### 📊 Changes **7 files changed** (+216642 additions, -213272 deletions) <details> <summary>View changed files</summary> 📝 `graphify-out/.graphify_labels.json` (+0 -12) 📝 `graphify-out/GRAPH_REPORT.md` (+293 -349) 📝 `graphify-out/cache/stat-index.json` (+1 -1) 📝 `graphify-out/graph.json` (+212883 -209438) 📝 `graphify-out/manifest.json` (+3406 -3406) 📝 `src/features/modes/game/components/GameSetupWizard.tsx` (+59 -65) 📝 `src/features/modes/game/components/GameSurface.tsx` (+0 -1) </details> ### 📄 Description ## Linked issue Closes #1425 ## Why this change - New game-mode sessions reached the GM/party selection step with no selectable characters, even when the user's character library contained characters. ## What changed - Changed the game setup wizard to load party candidates directly from the character library query used by the character library surfaces. - Reused shared character display parsing for names, comments, avatars, and avatar crop data. - Removed the pre-session chat-scoped character prop from the game setup wizard. - Regenerated Graphify output after rebasing onto latest refactor. ## Refactor impact Primary owner: game mode Impact areas reviewed: - Game setup wizard character selection - Game surface setup wizard wiring - Character catalog query/display data shape Boundary notes: - React feature code now reads catalog character data through the existing useCharacters() hook. - No engine, shared API, Rust command, storage, or remote-runtime boundary changes. Pressure points touched: - GameSurface - GameSetupWizard ## Validation - [x] pnpm check passes locally - [x] pnpm typecheck passes locally - [x] pnpm build passes locally - [x] pnpm check:architecture passes locally - [x] pnpm check:docs passes locally - [x] cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Reproduced the original empty party-selection state in the running app before the fix. - After the fix, runtime inspection confirmed the wizard no longer showed the empty "No characters found" state and known library character names were present. - Ran graphify update . after rebasing onto latest origin/refactor. - Ran pnpm check, which completed architecture checks, TypeScript build checks, Rust workspace cargo check, and docs checks. - Ran pnpm build locally. ## Docs and release impact - [x] No docs changes needed - [ ] Updated README.md - [ ] Updated CONTRIBUTING.md - [ ] Updated docs/developer/ - [ ] Updated repo skills or AGENTS.md - [x] Confirmed this PR does not restore old staging/package-workspace/release claims ## UI evidence - Runtime inspection was used during debugging; no screenshot or recording is attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated community analysis graph with additional detected communities (421–423) and refined statistical metrics. * Refactored character data loading system in game setup wizard for improved maintainability. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/1429?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:06 +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#5085
No description provided.