[PR #755] [MERGED] Fix mobile party member access #4761

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/755
Author: @Xelvanis
Created: 5/12/2026
Status: ✅ Merged
Merged: 5/12/2026
Merged by: @Xelvanis

Base: main ← Head: fix/mobile-party-member-access


📝 Commits (1)

  • 077c1f0 Fix mobile party member access

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 packages/client/src/components/game/GamePartyBar.tsx (+2 -2)
📝 packages/client/src/components/game/GameSurface.tsx (+2 -2)

📄 Description

Linked issue

No linked issue yet; this fixes a mobile bug report provided via screenshot.

Why this change

  • On mobile game mode, party members beyond the first few portraits could not reliably be opened because the party strip ran under the top-right game actions button or offscreen.

What changed

  • Constrain the mobile top-left HUD overlay so it leaves room for the top-right actions button.
  • Make the compact party portrait bar horizontally scrollable on touch devices, so every party member portrait can be reached and tapped.

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

  • pnpm check passed locally.
  • Reproduced the mobile layout failure with a local 360px-wide headless Chrome harness matching the GameSurface overlay geometry: before the fix, member 5 hit-tested as the game actions control and member 6 was offscreen, with no horizontal scroll range.
  • Verified the same harness after the fix: the party strip gains horizontal scroll range, and after scrolling member 5 and member 6 hit-test as their own portrait buttons.

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)

  • Local headless before/after screenshots were generated for verification, but no reviewer-visible screenshots are attached yet. Manual mobile screenshot/recording should be added after device verification.

🔄 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/755 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/12/2026 **Status:** ✅ Merged **Merged:** 5/12/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `main` ← **Head:** `fix/mobile-party-member-access` --- ### 📝 Commits (1) - [`077c1f0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/077c1f06ddc9098695c5a5695fe453ca3986263e) Fix mobile party member access ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/game/GamePartyBar.tsx` (+2 -2) 📝 `packages/client/src/components/game/GameSurface.tsx` (+2 -2) </details> ### 📄 Description ## Linked issue No linked issue yet; this fixes a mobile bug report provided via screenshot. ## Why this change - On mobile game mode, party members beyond the first few portraits could not reliably be opened because the party strip ran under the top-right game actions button or offscreen. ## What changed - Constrain the mobile top-left HUD overlay so it leaves room for the top-right actions button. - Make the compact party portrait bar horizontally scrollable on touch devices, so every party member portrait can be reached and tapped. ## Validation - [x] `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) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - `pnpm check` passed locally. - Reproduced the mobile layout failure with a local 360px-wide headless Chrome harness matching the GameSurface overlay geometry: before the fix, member 5 hit-tested as the game actions control and member 6 was offscreen, with no horizontal scroll range. - Verified the same harness after the fix: the party strip gains horizontal scroll range, and after scrolling member 5 and member 6 hit-test as their own portrait buttons. ## Docs and release impact - [x] 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) - Local headless before/after screenshots were generated for verification, but no reviewer-visible screenshots are attached yet. Manual mobile screenshot/recording should be added after device verification. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:10:26 +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#4761
No description provided.