[PR #499] [MERGED] Fix right panel resize handle layering #4641

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

📋 Pull Request Information

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

Base: main ← Head: fix/issue-486-right-panel-resize


📝 Commits (2)

  • 2993f92 Fix right panel resize handle layering
  • 2813101 Add visual proof for right panel resize fix

📊 Changes

7 files changed (+1 additions, -1 deletions)

View changed files

➕ docs/pr-evidence/issue-486/issue-486-conversation-after.png (+0 -0)
➕ docs/pr-evidence/issue-486/issue-486-conversation-before.png (+0 -0)
➕ docs/pr-evidence/issue-486/issue-486-game-after.png (+0 -0)
➕ docs/pr-evidence/issue-486/issue-486-game-before.png (+0 -0)
➕ docs/pr-evidence/issue-486/issue-486-roleplay-after.png (+0 -0)
➕ docs/pr-evidence/issue-486/issue-486-roleplay-before.png (+0 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+1 -1)

📄 Description

Linked issue

Closes #486

Why this change

  • The right-side panel resize handle was not draggable in RP or GM mode because higher-layer chat/game surfaces could receive pointer events over the handle.

What changed

  • Raised the desktop right-panel resize separator to the same stacking level as the left sidebar resize separator so it remains the pointer hit target above RP/GM surfaces.
  • Added scoped PR evidence screenshots under docs/pr-evidence/issue-486/ so reviewers can inspect the browser proof from GitHub.

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 reproduced the original issue before the fix with an isolated headless Chrome harness: in RP and GM modes the right-panel handle coordinate hit the chat/game surface instead of the separator, and dragging left left the panel at 320px.
  • Codex verified the original repro after the fix:
    • RP mode mouse drag resized the panel from 320px to 443px.
    • GM mode mouse drag resized the panel from 320px to 443px.
  • Codex also checked adjacent paths:
    • Conversation mode mouse drag still resized the panel from 320px to 443px.
    • Keyboard resize on the focused separator still resized from 320px to 336px with ArrowLeft.
  • Codex ran pnpm check locally and it passed.

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)

Roleplay mode

Before: handle coordinate was covered by the RP surface and the panel stayed at 320px.

Roleplay before

After: handle receives the drag and the panel resizes to 443px.

Roleplay after

Game mode

Before: handle coordinate was blocked and the panel stayed at 320px.

Game before

After: handle receives the drag and the panel resizes to 443px.

Game after

Conversation regression check

Before drag:

Conversation before

After drag:

Conversation after

Summary by CodeRabbit

  • Bug Fixes
    • Fixed right-panel resize handle display and positioning on desktop when opening or closing the right panel.

🔄 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/499 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/7/2026 **Status:** ✅ Merged **Merged:** 5/7/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `fix/issue-486-right-panel-resize` --- ### 📝 Commits (2) - [`2993f92`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2993f92e714b421164ac47f9e05d9a6e33c8b4bb) Fix right panel resize handle layering - [`2813101`](https://github.com/Pasta-Devs/Marinara-Engine/commit/28131012d18edae0a3555030f43dd2f3b9344608) Add visual proof for right panel resize fix ### 📊 Changes **7 files changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `docs/pr-evidence/issue-486/issue-486-conversation-after.png` (+0 -0) ➕ `docs/pr-evidence/issue-486/issue-486-conversation-before.png` (+0 -0) ➕ `docs/pr-evidence/issue-486/issue-486-game-after.png` (+0 -0) ➕ `docs/pr-evidence/issue-486/issue-486-game-before.png` (+0 -0) ➕ `docs/pr-evidence/issue-486/issue-486-roleplay-after.png` (+0 -0) ➕ `docs/pr-evidence/issue-486/issue-486-roleplay-before.png` (+0 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+1 -1) </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 #486 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - The right-side panel resize handle was not draggable in RP or GM mode because higher-layer chat/game surfaces could receive pointer events over the handle. ## What changed <!-- List the key changes in this PR --> - Raised the desktop right-panel resize separator to the same stacking level as the left sidebar resize separator so it remains the pointer hit target above RP/GM surfaces. - Added scoped PR evidence screenshots under `docs/pr-evidence/issue-486/` so reviewers can inspect the browser proof from GitHub. ## 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 reproduced the original issue before the fix with an isolated headless Chrome harness: in RP and GM modes the right-panel handle coordinate hit the chat/game surface instead of the separator, and dragging left left the panel at 320px. - Codex verified the original repro after the fix: - RP mode mouse drag resized the panel from 320px to 443px. - GM mode mouse drag resized the panel from 320px to 443px. - Codex also checked adjacent paths: - Conversation mode mouse drag still resized the panel from 320px to 443px. - Keyboard resize on the focused separator still resized from 320px to 336px with ArrowLeft. - Codex ran `pnpm check` locally and it passed. ## 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) ### Roleplay mode Before: handle coordinate was covered by the RP surface and the panel stayed at 320px. ![Roleplay before](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-roleplay-before.png) After: handle receives the drag and the panel resizes to 443px. ![Roleplay after](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-roleplay-after.png) ### Game mode Before: handle coordinate was blocked and the panel stayed at 320px. ![Game before](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-game-before.png) After: handle receives the drag and the panel resizes to 443px. ![Game after](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-game-after.png) ### Conversation regression check Before drag: ![Conversation before](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-conversation-before.png) After drag: ![Conversation after](https://raw.githubusercontent.com/cha1latte/Marinara-Engine/fix/issue-486-right-panel-resize/docs/pr-evidence/issue-486/issue-486-conversation-after.png) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed right-panel resize handle display and positioning on desktop when opening or closing the right panel. <!-- 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-22 04:09:25 +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#4641
No description provided.