[PR #7608] [MERGED] fix(game): restore the tactical combat import that staging lost in #7604 #7831

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

📋 Pull Request Information

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

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


📝 Commits (2)

  • 8b7eee3 fix(game): restore the tactical combat import lost when #7604 met staging
  • 2db9e8f Merge branch 'staging' into fix/tactical-section-import

📊 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: build break on staging after #7604 merged (2f9aa459a). @SpicyMarinara

Why this change

  • staging does not build. The Merge branch 'staging' into fix/game-hud-widget-style commit (2e94113c0) in #7604 dropped import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors"; from TacticalCombatUI.tsx but kept its seven uses, so tsc fails with TS2304: Cannot find name 'GAME_SECTION_CLASS' and the client build stops. The staging "Build & Push Container Image" run on 2f9aa459a already failed, and every PR based on staging will fail its build until this lands.

What changed

  • packages/client/src/components/game/TacticalCombatUI.tsx: the import is back where #7604 had it. Nothing else changes.
  • Checked the rest of #7604 against the merge: for every other file #7604 touched, its changes reached staging unchanged, and staging's own changes to TacticalCombatUI.tsx all survived. The import is the only line lost.

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 (results):

  • pnpm check on origin/staging (2f9aa459a): failed, 7 × TS2304 in TacticalCombatUI.tsx.
  • pnpm check on this branch: passed (one existing lint warning in HomeProfessorMariChat.tsx, unrelated).

Manual verification notes

  • Manually verify that the client builds (pnpm check or the container build) on this branch.
  • Manually verify that a tactical combat opens in Game mode.

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)

No docs changes.

UI evidence (if applicable)

None: no visible change.

Summary by CodeRabbit

  • Style
    • Updated the tactical status bar, action menu, combat log, and confirmation overlays to use the shared game-section styling.
    • These areas now follow the same visual treatment as other game sections, providing a more consistent appearance throughout the tactical combat interface.

🔄 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/7608 **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-section-import` --- ### 📝 Commits (2) - [`8b7eee3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8b7eee3754b36e46d9134fb94c0ae5e52e658b24) fix(game): restore the tactical combat import lost when #7604 met staging - [`2db9e8f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2db9e8f678aadcba8133693ecbea3b34cd0bdc53) Merge branch 'staging' into fix/tactical-section-import ### 📊 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 <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> No linked issue: build break on `staging` after #7604 merged (2f9aa459a). @SpicyMarinara ## Why this change <!-- What user problem, bug, or goal does this solve? --> - `staging` does not build. The `Merge branch 'staging' into fix/game-hud-widget-style` commit (2e94113c0) in #7604 dropped `import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors";` from `TacticalCombatUI.tsx` but kept its seven uses, so `tsc` fails with `TS2304: Cannot find name 'GAME_SECTION_CLASS'` and the client build stops. The staging "Build & Push Container Image" run on 2f9aa459a already failed, and every PR based on `staging` will fail its build until this lands. ## What changed <!-- List the key changes in this PR --> - `packages/client/src/components/game/TacticalCombatUI.tsx`: the import is back where #7604 had it. Nothing else changes. - Checked the rest of #7604 against the merge: for every other file #7604 touched, its changes reached `staging` unchanged, and staging's own changes to `TacticalCombatUI.tsx` all survived. The import is the only line lost. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `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 (results): - `pnpm check` on `origin/staging` (2f9aa459a): failed, 7 × `TS2304` in `TacticalCombatUI.tsx`. - `pnpm check` on this branch: passed (one existing lint warning in `HomeProfessorMariChat.tsx`, unrelated). ### Manual verification notes <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Manually verify that the client builds (`pnpm check` or the container build) on this branch. - Manually verify that a tactical combat opens in Game mode. ## 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) No docs changes. ## UI evidence (if applicable) <!-- Add before/after screenshots or recordings for UI changes --> None: no visible change. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Updated the tactical status bar, action menu, combat log, and confirmation overlays to use the shared game-section styling. * These areas now follow the same visual treatment as other game sections, providing a more consistent appearance throughout the tactical combat interface. <!-- 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-24 04:07:57 +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#7831
No description provided.