[PR #7611] [MERGED] fix(game): drop the duplicate tactical combat import so staging builds again #7834

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 7232a01 fix(game): drop the duplicate GAME_SECTION_CLASS import in tactical combat

📊 Changes

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

View changed files

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

📄 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 again at 8ddc38c6c.

Why this change

  • staging stopped building again. Two PRs restored the same lost import in TacticalCombatUI.tsx: #7609 and #7608 (both merged within three minutes). Each added import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors"; on a different line, so the file now imports it twice, which TypeScript rejects.

What changed

  • Removes the second, duplicate import line. One import remains. 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 with one import left.
  • 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/7611 **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-duplicate-import` --- ### 📝 Commits (1) - [`7232a01`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7232a0174b82aa59feb957f9151e47ed0b6b7704) fix(game): drop the duplicate GAME_SECTION_CLASS import in tactical combat ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/TacticalCombatUI.tsx` (+0 -1) </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 again at 8ddc38c6c. ## Why this change - `staging` stopped building again. Two PRs restored the same lost import in `TacticalCombatUI.tsx`: #7609 and #7608 (both merged within three minutes). Each added `import { GAME_SECTION_CLASS } from "../../lib/chat-widget-colors";` on a different line, so the file now imports it twice, which TypeScript rejects. ## What changed - Removes the second, duplicate import line. One import remains. 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 with one import left. - `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:59 +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#7834
No description provided.