[GH-ISSUE #1453] [Issue]: Game settings Advanced Parameters emits nested button React error #724

Closed
opened 2026-10-20 17:32:24 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1453

Originally assigned to: @cha1latte on GitHub.

Summary

Opening the Game chat settings drawer emits a React/HTML nesting error because the Advanced Parameters header renders a help tooltip button inside another button.

Expected behavior

Opening Game settings should not emit React DOM validation errors, and the Advanced Parameters header should use valid interactive markup.

Actual behavior

The Game QA console audit collected this React error while the settings drawer was open:

In HTML, <button> cannot be a descendant of <button>. This will cause a hydration error.

The component stack pointed to ChatSettingsDrawer -> AdvancedParametersSection, where the collapsible section header was a <button> containing HelpTooltip, which itself renders a <button>.

Steps to reproduce

  1. Start the web shell with remote runtime on refactor.
  2. Open an active Game session.
  3. Open the Game chat settings drawer.
  4. Inspect the browser console.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor at 0cf4c9d7
  • Run mode: web shell only + remote runtime
  • OS + version: Windows local QA
  • Node + pnpm versions: Node v24.13.0, pnpm 10.33.2
  • Rust version, if relevant: rustc 1.95.0
  • Remote Runtime URL configured? yes, http://127.0.0.1:8787
  • Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, though this repro does not depend on provider behavior

Logs, screenshots, or video

Local evidence path: scratch/game-qa-post-1449-full-clean

Relevant files:

  • scratch/game-qa-post-1449-full-clean/console.json
  • scratch/game-qa-post-1449-full-clean/game-systems-journal.png

Screenshots are local only and are not attached to this issue.

Regression notes

Not specified.

Additional context

Found during the post-#1449 scripted Game QA sweep.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1453 Originally assigned to: @cha1latte on GitHub. ## Summary Opening the Game chat settings drawer emits a React/HTML nesting error because the Advanced Parameters header renders a help tooltip button inside another button. ## Expected behavior Opening Game settings should not emit React DOM validation errors, and the Advanced Parameters header should use valid interactive markup. ## Actual behavior The Game QA console audit collected this React error while the settings drawer was open: `In HTML, <button> cannot be a descendant of <button>. This will cause a hydration error.` The component stack pointed to `ChatSettingsDrawer` -> `AdvancedParametersSection`, where the collapsible section header was a `<button>` containing `HelpTooltip`, which itself renders a `<button>`. ## Steps to reproduce 1. Start the web shell with remote runtime on `refactor`. 2. Open an active Game session. 3. Open the Game chat settings drawer. 4. Inspect the browser console. ## Impact area <!-- Check the areas you think are relevant. Leave uncertain items unchecked. --> - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [x] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `refactor` at `0cf4c9d7` - Run mode: web shell only + remote runtime - OS + version: Windows local QA - Node + pnpm versions: Node `v24.13.0`, pnpm `10.33.2` - Rust version, if relevant: `rustc 1.95.0` - Remote Runtime URL configured? yes, `http://127.0.0.1:8787` - Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, though this repro does not depend on provider behavior ## Logs, screenshots, or video Local evidence path: `scratch/game-qa-post-1449-full-clean` Relevant files: - `scratch/game-qa-post-1449-full-clean/console.json` - `scratch/game-qa-post-1449-full-clean/game-systems-journal.png` Screenshots are local only and are not attached to this issue. ## Regression notes Not specified. ## Additional context Found during the post-#1449 scripted Game QA sweep. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:32:24 +07:00
  • closed this issue
  • added the
    bug
    label
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#724
No description provided.