[GH-ISSUE #2146] [Issue]: Game mode — party bar lost its mobile-collapsed UI (rotating avatar + popover + count badge) #1056

Closed
opened 2026-10-21 05:25:58 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2146

Originally assigned to: @cha1latte on GitHub.

Summary

Severity: minor (mobile UX). GamePartyBar dropped its entire mobile (<md) layout. On phones it now renders a full horizontally-scrolling avatar strip instead of a single rotating preview avatar with a count badge and a tap-to-open member popover.

Expected behavior

As in main: below the md breakpoint the party collapses to one auto-rotating preview avatar + numeric count badge; tapping opens a popover listing every member (with open-sheet / remove buttons); tapping outside closes it.

Actual behavior

A single unconditional horizontal flex bar at all widths. No useState/useEffect/popover/count-badge; grep for mobileMenuOpen/previewIndex = 0. The mobile branch was deleted, not relocated.

Steps to reproduce

  1. Open a game with 3+ party members on a phone-width viewport (~<768px).
  2. Refactor: a full scrolling avatar strip. Main: one rotating avatar + count badge that opens a popover on tap.

Impact area

  • Game mode

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/client/src/components/game/GamePartyBar.tsx:131-194 (mobile branch).
  • refactor: src/features/modes/game/components/GamePartyBar.tsx:37-100 (single horizontal bar only).
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2146 Originally assigned to: @cha1latte on GitHub. ## Summary **Severity: minor (mobile UX).** `GamePartyBar` dropped its entire mobile (<md) layout. On phones it now renders a full horizontally-scrolling avatar strip instead of a single rotating preview avatar with a count badge and a tap-to-open member popover. ## Expected behavior As in main: below the md breakpoint the party collapses to one auto-rotating preview avatar + numeric count badge; tapping opens a popover listing every member (with open-sheet / remove buttons); tapping outside closes it. ## Actual behavior A single unconditional horizontal flex bar at all widths. No `useState`/`useEffect`/popover/count-badge; grep for `mobileMenuOpen`/`previewIndex` = 0. The mobile branch was deleted, not relocated. ## Steps to reproduce 1. Open a game with 3+ party members on a phone-width viewport (~<768px). 2. Refactor: a full scrolling avatar strip. Main: one rotating avatar + count badge that opens a popover on tap. ## Impact area - [x] Game mode ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/client/src/components/game/GamePartyBar.tsx:131-194` (mobile branch). - refactor: `src/features/modes/game/components/GamePartyBar.tsx:37-100` (single horizontal bar only).
bsakaguchi 2026-10-21 05:25: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#1056
No description provided.