[PR #7609] [MERGED] fix(game): restore the GAME_SECTION_CLASS import so staging builds again #7832

Closed
opened 2026-10-24 04:07:58 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7609
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/tactical-combat-section-import


📝 Commits (1)

  • 814b8a8 fix(game): restore the GAME_SECTION_CLASS import in tactical combat

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 packages/client/src/components/game/TacticalCombatUI.tsx (+1 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

No linked issue: staging stopped building at 2f9aa459a (merge of #7604).

Why this change

  • staging no longer builds. The client build fails with TacticalCombatUI.tsx: Cannot find name 'GAME_SECTION_CLASS' (7 places), so every open PR's pnpm-validate and container-build-test fail, and the staging container image build failed.
  • #7604 added import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors"; to TacticalCombatUI.tsx. When staging was merged into that branch (2e94113c0), the conflict on the neighbouring import line kept staging's new board-art import and dropped this one.

What changed

  • Restores the missing GAME_SECTION_CLASS import in packages/client/src/components/game/TacticalCombatUI.tsx. Nothing else changes.

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

Commands run by the agent, with results:

  • npx tsc --noEmit -p packages/client/tsconfig.json: exit 0 (it reported the 7 errors above without this line).
  • prettier --check on the file: passes.

Manual verification notes

  • Manually verify that a Game chat's tactical combat board renders and follows the Chat widget style, as #7604 intended.

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/7609 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/tactical-combat-section-import` --- ### 📝 Commits (1) - [`814b8a8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/814b8a83a8358f6d3860a381a9ba9d1f030deda4) fix(game): restore the GAME_SECTION_CLASS import in tactical combat ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/TacticalCombatUI.tsx` (+1 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue No linked issue: `staging` stopped building at 2f9aa459a (merge of #7604). ## Why this change - `staging` no longer builds. The client build fails with `TacticalCombatUI.tsx: Cannot find name 'GAME_SECTION_CLASS'` (7 places), so every open PR's `pnpm-validate` and `container-build-test` fail, and the staging container image build failed. - #7604 added `import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors";` to `TacticalCombatUI.tsx`. When `staging` was merged into that branch (2e94113c0), the conflict on the neighbouring import line kept staging's new `board-art` import and dropped this one. ## What changed - Restores the missing `GAME_SECTION_CLASS` import in `packages/client/src/components/game/TacticalCombatUI.tsx`. Nothing else changes. ## 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` Commands run by the agent, with results: - `npx tsc --noEmit -p packages/client/tsconfig.json`: exit 0 (it reported the 7 errors above without this line). - `prettier --check` on the file: passes. ### Manual verification notes - Manually verify that a Game chat's tactical combat board renders and follows the Chat widget style, as #7604 intended. ## 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:07:58 +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#7832
No description provided.