[PR #617] [MERGED] Remove Game Mode inventory item cap #4699

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/617
Author: @cha1latte
Created: 5/9/2026
Status: ✅ Merged
Merged: 5/9/2026
Merged by: @cha1latte

Base: main ← Head: feat/issue-474-inventory-list


📝 Commits (2)

  • 9c8c06a Remove Game Mode inventory item cap
  • a78bbfe Add issue 474 inventory UI evidence

📊 Changes

3 files changed (+49 additions, -56 deletions)

View changed files

➕ docs/pr-evidence/issue-474/inventory-proof.png (+0 -0)
📝 packages/client/src/components/game/GameInventory.tsx (+48 -50)
📝 packages/client/src/components/game/GameSurface.tsx (+1 -6)

📄 Description

Linked issue

Closes #474

Why this change

  • Game Mode inventory had a hard 20-item ceiling, which blocks longer campaigns once players accumulate more equipment, consumables, and quest items.

What changed

  • Removed the 20-item manual add cap from Game Mode inventory handling.
  • Replaced the fixed 20-slot inventory grid with an uncapped scrollable list.
  • Updated the inventory header count and empty state so larger flat inventories stay readable without changing the LLM-facing inventory shape.

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

Manual verification notes

  • Codex ran pnpm check; it passed locally.
  • Codex verified the inventory component in a client Vite browser proof with 25 items: the header showed 25 items, item 25 rendered past the old 20-item ceiling, the list remained scrollable, and the Add button stayed enabled.
  • Codex confirmed there were no browser console warnings or errors during that proof.
  • Screenshot proof is embedded below.
  • Human reviewer should manually verify the inventory overlay inside a real Game Mode session before merging.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Inventory proof with 25 items


🔄 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/617 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/9/2026 **Status:** ✅ Merged **Merged:** 5/9/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `feat/issue-474-inventory-list` --- ### 📝 Commits (2) - [`9c8c06a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9c8c06ae091f3875be87561fb8a87fdb2972d45c) Remove Game Mode inventory item cap - [`a78bbfe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a78bbfe4c77c9a9159719a9ff4ca8aaf1c1bec2f) Add issue 474 inventory UI evidence ### 📊 Changes **3 files changed** (+49 additions, -56 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-474/inventory-proof.png` (+0 -0) 📝 `packages/client/src/components/game/GameInventory.tsx` (+48 -50) 📝 `packages/client/src/components/game/GameSurface.tsx` (+1 -6) </details> ### 📄 Description ## 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 --> Closes #474 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - Game Mode inventory had a hard 20-item ceiling, which blocks longer campaigns once players accumulate more equipment, consumables, and quest items. ## What changed <!-- List the key changes in this PR --> - Removed the 20-item manual add cap from Game Mode inventory handling. - Replaced the fixed 20-slot inventory grid with an uncapped scrollable list. - Updated the inventory header count and empty state so larger flat inventories stay readable without changing the LLM-facing inventory shape. ## 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` ### 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. --> - Codex ran `pnpm check`; it passed locally. - Codex verified the inventory component in a client Vite browser proof with 25 items: the header showed `25 items`, item 25 rendered past the old 20-item ceiling, the list remained scrollable, and the Add button stayed enabled. - Codex confirmed there were no browser console warnings or errors during that proof. - Screenshot proof is embedded below. - Human reviewer should manually verify the inventory overlay inside a real Game Mode session before merging. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) ![Inventory proof with 25 items](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/a78bbfe4c77c9a9159719a9ff4ca8aaf1c1bec2f/docs/pr-evidence/issue-474/inventory-proof.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:09:55 +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#4699
No description provided.