[PR #5544] [MERGED] Fix mobile Characters panel reload regression test #6808

Closed
opened 2026-10-23 04:13:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5544
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5543-release-browser-matrix


📝 Commits (2)

  • c6a37e1 test(ui): reopen mobile characters panel after reload
  • e2ab6c9 Merge remote-tracking branch 'origin/staging' into fix/5543-release-browser-matrix

📊 Changes

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

View changed files

📝 CHANGELOG.md (+1 -0)
📝 e2e/core-flows.e2e.ts (+5 -2)

📄 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

Closes #5543

Why this change

  • The release browser matrix could not distinguish the mobile Characters panel's closed, off-screen mounted shell from an open panel after reload. Playwright considers transformed off-screen elements visible, so the test skipped reopening Characters and raced against the closed panel being unmounted.

What changed

  • Determine whether Characters is open from the panel toggle's aria-pressed state.
  • Require the mobile panel to enter the viewport before continuing.
  • Document the release-validation fix in the Unreleased changelog.

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.
  • pnpm exec playwright test -c playwright.config.ts --project=mobile-chromium -g "Character Chat actions reuse mode selection" --repeat-each=3 --workers=1 passed 3/3 on the current staging ancestry.
  • pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "Character Chat actions reuse mode selection" passed 1/1.
  • The failed staging CI trace confirmed the folder row existed inside RightPanelMobile while the panel shell remained closed at transform: translateX(100%); the production interface is unchanged.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) 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)

UI evidence (if applicable)

  • Test-only reliability fix; the production interface is unchanged.

Summary by CodeRabbit

  • Bug Fixes
    • Improved mobile Characters panel behavior after page reloads.
    • Ensured the panel reopens when needed and is visibly positioned in the viewport.
    • Improved validation of the panel’s open and closed states.

🔄 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/5544 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5543-release-browser-matrix` --- ### 📝 Commits (2) - [`c6a37e1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c6a37e1bdada40b0fa6d05995992031ba830254b) test(ui): reopen mobile characters panel after reload - [`e2ab6c9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e2ab6c94f323f2a7586a51a9f351caf8d1df04d2) Merge remote-tracking branch 'origin/staging' into fix/5543-release-browser-matrix ### 📊 Changes **2 files changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `e2e/core-flows.e2e.ts` (+5 -2) </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`. ## Linked issue Closes #5543 ## Why this change - The release browser matrix could not distinguish the mobile Characters panel's closed, off-screen mounted shell from an open panel after reload. Playwright considers transformed off-screen elements visible, so the test skipped reopening Characters and raced against the closed panel being unmounted. ## What changed - Determine whether Characters is open from the panel toggle's `aria-pressed` state. - Require the mobile panel to enter the viewport before continuing. - Document the release-validation fix in the Unreleased changelog. ## 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. - `pnpm exec playwright test -c playwright.config.ts --project=mobile-chromium -g "Character Chat actions reuse mode selection" --repeat-each=3 --workers=1` passed 3/3 on the current `staging` ancestry. - `pnpm exec playwright test -c playwright.config.ts --project=desktop-chromium -g "Character Chat actions reuse mode selection"` passed 1/1. - The failed `staging` CI trace confirmed the folder row existed inside `RightPanelMobile` while the panel shell remained closed at `transform: translateX(100%)`; the production interface is unchanged. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) 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) ## UI evidence (if applicable) - Test-only reliability fix; the production interface is unchanged. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved mobile Characters panel behavior after page reloads. * Ensured the panel reopens when needed and is visibly positioned in the viewport. * Improved validation of the panel’s open and closed states. <!-- 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-23 04:13:54 +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#6808
No description provided.