[PR #829] [MERGED] Fix tracker panel overlapping editor controls #4795

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

📋 Pull Request Information

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

Base: main ← Head: fix/tracker-master-panel-overlap


📝 Commits (1)

  • 920e853 Consolidate tracker panel surface checks into shared variables

📊 Changes

1 file changed (+18 additions, -16 deletions)

View changed files

📝 packages/client/src/components/layout/AppShell.tsx (+18 -16)

📄 Description

Linked issue

Fixes a user-reported tracker/editor overlap. Closes #832

Why this change

  • Expanded tracker side panels could remain rendered while master setting editors were open. Because the tracker overlay no longer had a chat-surface anchor in that state, it could move up and block editor header actions like Back or Save.

What changed

  • Centralized tracker panel surface availability in AppShell.
  • Render tracker overlays only while the chat/play surface is active, preserving the user's tracker open/side/width preferences while editors are open.
  • Keeps normal roleplay behavior unchanged: returning from an editor shows the tracker panel again.

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

  • Reproduced the bug locally with a seeded roleplay chat, expanded right-side tracker panel, and Agent editor detail open. Before the fix, the tracker panel covered the Save button.
  • Verified after the fix that the right-side tracker is not rendered over editor detail views, and the Save button receives pointer hits.
  • Verified the left-side tracker case with the Agent editor open; the Back button receives pointer hits.
  • Verified returning to the normal roleplay surface shows the expanded tracker panel again.
  • Ran pnpm --filter @marinara-engine/client lint.
  • Ran pnpm check.

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)

  • Browser geometry checks confirmed the tracker overlay no longer covers editor Back/Save controls while preserving normal roleplay tracker rendering.

Summary by CodeRabbit

  • Bug Fixes
    • Refined tracker panel visibility to prevent display conflicts with other interface elements.
    • The tracker panel now correctly hides when using the bot browser, game assets browser, or detail editors.
    • Enhanced consistency of tracker panel behavior on both desktop and mobile platforms.

Review Change Stack


🔄 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/829 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/14/2026 **Status:** ✅ Merged **Merged:** 5/14/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `main` ← **Head:** `fix/tracker-master-panel-overlap` --- ### 📝 Commits (1) - [`920e853`](https://github.com/Pasta-Devs/Marinara-Engine/commit/920e853cf555d8b4e5ab198b1e89a513069e25da) Consolidate tracker panel surface checks into shared variables ### 📊 Changes **1 file changed** (+18 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/layout/AppShell.tsx` (+18 -16) </details> ### 📄 Description ## Linked issue Fixes a user-reported tracker/editor overlap. Closes #832 ## Why this change - Expanded tracker side panels could remain rendered while master setting editors were open. Because the tracker overlay no longer had a chat-surface anchor in that state, it could move up and block editor header actions like Back or Save. ## What changed - Centralized tracker panel surface availability in `AppShell`. - Render tracker overlays only while the chat/play surface is active, preserving the user's tracker open/side/width preferences while editors are open. - Keeps normal roleplay behavior unchanged: returning from an editor shows the tracker panel again. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Reproduced the bug locally with a seeded roleplay chat, expanded right-side tracker panel, and Agent editor detail open. Before the fix, the tracker panel covered the Save button. - Verified after the fix that the right-side tracker is not rendered over editor detail views, and the Save button receives pointer hits. - Verified the left-side tracker case with the Agent editor open; the Back button receives pointer hits. - Verified returning to the normal roleplay surface shows the expanded tracker panel again. - Ran `pnpm --filter @marinara-engine/client lint`. - Ran `pnpm check`. ## 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) - Browser geometry checks confirmed the tracker overlay no longer covers editor Back/Save controls while preserving normal roleplay tracker rendering. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Refined tracker panel visibility to prevent display conflicts with other interface elements. * The tracker panel now correctly hides when using the bot browser, game assets browser, or detail editors. * Enhanced consistency of tracker panel behavior on both desktop and mobile platforms. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/829) <!-- review_stack_entry_end --> <!-- 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:10:43 +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#4795
No description provided.