[PR #5081] [MERGED] Fix Tracker gutter scaling without shifting Roleplay chat #6618

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5071-tracker-gutter-scaling


📝 Commits (2)

  • 2d35477 fix: scale Tracker within Roleplay gutters
  • 539249e fix: guard Tracker gutter measurement

📊 Changes

6 files changed (+55 additions, -40 deletions)

View changed files

📝 CHANGELOG.md (+1 -1)
📝 e2e/core-flows.e2e.ts (+36 -12)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+2 -13)
📝 packages/client/src/components/layout/AppShell.tsx (+6 -8)
📝 packages/client/src/lib/tracker-panel-layout.ts (+6 -2)
📝 scripts/regressions/open-issues.regression.ts (+4 -4)

📄 Description

Why

The previous fix for #5071 moved the centered Roleplay transcript, composer, and scrollbar to clear the docked Tracker. The intended behavior is for the Tracker itself—and all of its content—to scale into the free desktop gutter while the chat stays centered.

What changed

  • Restore Tracker width resolution against the actual left or right chat gutter.
  • Remove Tracker-driven padding from the Roleplay transcript and composer surfaces.
  • Preserve the existing responsive content scale for Tracker text, images, and controls.
  • Cover both dock sides and unchanged chat/scroll geometry in the desktop browser regression.
  • Correct the changelog entry introduced by the previous fix.

Closes #5071

Automated evidence

  • pnpm check — passed
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts — passed
  • Focused desktop Playwright checks for Tracker gutter geometry and Echo Chamber persistence — 2 passed

Manual verification

  • Manually verify Tracker text, images, and controls at narrow desktop gutter widths.
  • Manually verify the Roleplay scrollbar remains at its normal edge with Tracker and Echo Chamber open.

Manual verification boxes are intentionally left unchecked for maintainers.

Summary by CodeRabbit

  • Bug Fixes

    • Improved Tracker panel sizing in desktop Roleplay layouts.
    • Tracker panels now fit within the available gutter on either side of centered chat without shifting or resizing the transcript, composer, or scrollbar.
    • Restored proper gutter scaling so panel contents remain within their available space.
  • Tests

    • Added coverage for left- and right-side Tracker placement, sizing, scaling, and chat stability.

🔄 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/5081 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/15/2026 **Status:** ✅ Merged **Merged:** 8/15/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5071-tracker-gutter-scaling` --- ### 📝 Commits (2) - [`2d35477`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2d35477d607c7f13d3b0cd93bfa86ac7848d4a1b) fix: scale Tracker within Roleplay gutters - [`539249e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/539249e48ca30e1771dd997f4ecba5769019083d) fix: guard Tracker gutter measurement ### 📊 Changes **6 files changed** (+55 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -1) 📝 `e2e/core-flows.e2e.ts` (+36 -12) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+2 -13) 📝 `packages/client/src/components/layout/AppShell.tsx` (+6 -8) 📝 `packages/client/src/lib/tracker-panel-layout.ts` (+6 -2) 📝 `scripts/regressions/open-issues.regression.ts` (+4 -4) </details> ### 📄 Description ## Why The previous fix for #5071 moved the centered Roleplay transcript, composer, and scrollbar to clear the docked Tracker. The intended behavior is for the Tracker itself—and all of its content—to scale into the free desktop gutter while the chat stays centered. ## What changed - Restore Tracker width resolution against the actual left or right chat gutter. - Remove Tracker-driven padding from the Roleplay transcript and composer surfaces. - Preserve the existing responsive content scale for Tracker text, images, and controls. - Cover both dock sides and unchanged chat/scroll geometry in the desktop browser regression. - Correct the changelog entry introduced by the previous fix. Closes #5071 ## Automated evidence - `pnpm check` — passed - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.ts` — passed - Focused desktop Playwright checks for Tracker gutter geometry and Echo Chamber persistence — 2 passed ## Manual verification - [ ] Manually verify Tracker text, images, and controls at narrow desktop gutter widths. - [ ] Manually verify the Roleplay scrollbar remains at its normal edge with Tracker and Echo Chamber open. Manual verification boxes are intentionally left unchecked for maintainers. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved Tracker panel sizing in desktop Roleplay layouts. * Tracker panels now fit within the available gutter on either side of centered chat without shifting or resizing the transcript, composer, or scrollbar. * Restored proper gutter scaling so panel contents remain within their available space. * **Tests** * Added coverage for left- and right-side Tracker placement, sizing, scaling, and chat stability. <!-- 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:12:06 +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#6618
No description provided.