[PR #7077] [MERGED] fix(ui): restore widget styling and keep sidebar buttons reachable (#7075) #7463

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7077
Author: @SpicyMarinara
Created: 10/4/2026
Status: ✅ Merged
Merged: 10/5/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/agent-tracker-widget-windows


📝 Commits (7)

  • dfa543f test(ui): align window icon regression with Close control
  • bba8868 fix(ui): complete mobile tracker and Echo widget integration
  • 3dedcf7 docs: describe movable phone tracker buttons
  • 55da590 test(ui): distinguish sidebar reflow from opening a drawer
  • 4e0cd91 fix(ui): keep buttons reachable in tight sidebar space
  • beca502 docs: describe movable phone tracker controls consistently
  • e39d8b7 Merge remote-tracking branch 'origin/staging' into fix/agent-tracker-widget-windows

📊 Changes

22 files changed (+1089 additions, -568 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 docs/roleplay/getting-started.md (+3 -3)
📝 docs/roleplay/hud-and-trackers.md (+11 -11)
📝 e2e/chat-settings-window.e2e.ts (+158 -2)
📝 e2e/core-flows.e2e.ts (+109 -43)
📝 e2e/phone-bubbles.e2e.ts (+134 -3)
📝 e2e/tracker-window.e2e.ts (+42 -0)
📝 packages/client/src/components/chat/ChatSettingsBubble.tsx (+1 -1)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+221 -263)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+149 -206)
📝 packages/client/src/components/chat/TrackerPanelBubble.tsx (+1 -1)
📝 packages/client/src/components/ui/FloatingWindow.tsx (+10 -8)
📝 packages/client/src/components/ui/WindowBubble.tsx (+44 -1)
📝 packages/client/src/lib/floating-window-layout.ts (+62 -0)
📝 packages/client/src/localization/locales/en.json (+5 -0)
📝 packages/client/src/styles/globals.css (+0 -5)
📝 packages/client/src/styles/themes/chat-widgets.css (+39 -5)
📝 scripts/regressions/chat-window-icons.regression.ts (+1 -1)
📝 scripts/regressions/decision-sidecar-runtime.regression.ts (+9 -0)
📝 scripts/regressions/floating-window.regression.ts (+68 -0)

...and 2 more files

📄 Description

Linked issue

Closes #7075.

Why this change

Small tracker panels on phones and Echo Chamber still used the old appearance. Detached tracker lists lost their bottom border, and opening a sidebar could stack movable buttons on top of each other. This makes those controls follow the chosen widget style and keeps them reachable as the chat area changes size.

What changed

  • World State and Player & Tracker use the shared styled windows and movable buttons on phones. Field editing, reruns and field locks remain available. The large Tracker Panel retains its existing layout.
  • Echo Chamber uses the shared window controls, styling and saved layout on computers, while keeping its compact view and keyboard behavior on phones.
  • Detached lists retain their last border in Default, Dottore and Mari, including custom border gradients.
  • Buttons temporarily find separate visible positions when a sidebar takes space. Closing it restores their saved positions; locked buttons remain locked. Very tight spaces may omit the usual gap so another button still fits.
  • Update the obsolete regression that required the removed minus button. Make the fake Linux/CUDA decision-runtime fixture deterministic on macOS without changing production behavior.
  • Update the Roleplay guides. Translated-guide follow-up: #7078.

Validation

Validated application code: 4e0cd914c3f1b1bf5bf5d1536ee54cd1f5f74b2b. The following commit, beca50254, only corrects one introductory sentence in the Roleplay guide. e39d8b781 then merges current staging (the unrelated Card Browser fix) and preserves both changelog entries; this PR's tracker, window and sidebar implementation is identical.

  • pnpm check passed after the final changes and again after the staging merge at e39d8b781, including localization, formatting, lint, types and production build.
  • Focused Playwright selection across desktop Chromium, mobile Chromium and mobile WebKit: 33 passed, 24 intentionally skipped by platform. Covers Echo, mobile trackers, phone bubbles, keyboard/orientation, Tracker Panel controls, sidebar collisions and final borders. After the tight-space follow-up, both affected desktop sidebar cases passed again.
  • pnpm smoke:ui: 7 passed. pnpm smoke:production: 3 passed, including mobile WebKit. These ran before the final tight-gap helper/doc follow-up; the affected helper and sidebar checks were rerun afterward.
  • Full local Node lane initially finished 505/506. Its only failure was the existing platform-dependent decision-runtime fixture on macOS. The corrected fixture passed its focused rerun; floating-window and Echo-related regression lanes also passed. The complete hosted Node regression lane then passed (run).
  • Local CodeRabbit reviewed all 22 changed files. It reported two minor documentation findings: the HUD wording was corrected; the getting-started suggestion was already satisfied by the committed text. Follow-up review of the changed guide and tight-space helper/regression completed with zero findings. Hosted review then caught a separate outdated sentence in the guide introduction; it was corrected in beca50254.
  • Native ARM64 container build and runtime checks passed at the validated application commit. Health, exact build metadata, compiled client/guest bundles, tutorial video and ornament assets were verified.

Human verification checklist:

  • Manually verify World State and Player & Tracker on a physical phone in Default, Dottore and Mari, including edits and moved buttons after refresh.
  • Manually verify Echo Chamber movement, resizing, locking, close/reopen and saved layout.
  • Manually verify the last border on detached tracker lists with solid and gradient colors.
  • Manually verify buttons remain separate while opening either sidebar, and their positions restore on close.
  • Manually verify the large Tracker Panel retains its existing behavior.

Docs and release impact

Changelog and two Roleplay guides updated. No version or storage-format change. Ten-language guide updates are tracked in #7078.

UI evidence

Before/after gallery: 16 inspected screenshots. After images were captured from the validated application commit; before images show application source identical to staging 2f96206b8. The gallery records full commits and verified image hashes. Screenshots use synthetic data and browser mobile emulation, not physical-device validation.


🔄 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/7077 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/4/2026 **Status:** ✅ Merged **Merged:** 10/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/agent-tracker-widget-windows` --- ### 📝 Commits (7) - [`dfa543f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dfa543f45b7f2ded2d83855bb91f4e54bbfa603d) test(ui): align window icon regression with Close control - [`bba8868`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bba8868b2cff7ae135a422ad0ff200583ee37333) fix(ui): complete mobile tracker and Echo widget integration - [`3dedcf7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3dedcf7242066396eb9b717b697e73be0dc87854) docs: describe movable phone tracker buttons - [`55da590`](https://github.com/Pasta-Devs/Marinara-Engine/commit/55da590b8cd196993b83dc5928d9b95785923d62) test(ui): distinguish sidebar reflow from opening a drawer - [`4e0cd91`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4e0cd914c3f1b1bf5bf5d1536ee54cd1f5f74b2b) fix(ui): keep buttons reachable in tight sidebar space - [`beca502`](https://github.com/Pasta-Devs/Marinara-Engine/commit/beca502542b1e5b7af8cc3aaf928202c872cf281) docs: describe movable phone tracker controls consistently - [`e39d8b7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e39d8b781b6e109cff5c2f7ee63a4f4154bd38ae) Merge remote-tracking branch 'origin/staging' into fix/agent-tracker-widget-windows ### 📊 Changes **22 files changed** (+1089 additions, -568 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `docs/roleplay/getting-started.md` (+3 -3) 📝 `docs/roleplay/hud-and-trackers.md` (+11 -11) 📝 `e2e/chat-settings-window.e2e.ts` (+158 -2) 📝 `e2e/core-flows.e2e.ts` (+109 -43) 📝 `e2e/phone-bubbles.e2e.ts` (+134 -3) 📝 `e2e/tracker-window.e2e.ts` (+42 -0) 📝 `packages/client/src/components/chat/ChatSettingsBubble.tsx` (+1 -1) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+221 -263) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+149 -206) 📝 `packages/client/src/components/chat/TrackerPanelBubble.tsx` (+1 -1) 📝 `packages/client/src/components/ui/FloatingWindow.tsx` (+10 -8) 📝 `packages/client/src/components/ui/WindowBubble.tsx` (+44 -1) 📝 `packages/client/src/lib/floating-window-layout.ts` (+62 -0) 📝 `packages/client/src/localization/locales/en.json` (+5 -0) 📝 `packages/client/src/styles/globals.css` (+0 -5) 📝 `packages/client/src/styles/themes/chat-widgets.css` (+39 -5) 📝 `scripts/regressions/chat-window-icons.regression.ts` (+1 -1) 📝 `scripts/regressions/decision-sidecar-runtime.regression.ts` (+9 -0) 📝 `scripts/regressions/floating-window.regression.ts` (+68 -0) _...and 2 more files_ </details> ### 📄 Description ## Linked issue Closes #7075. ## Why this change Small tracker panels on phones and Echo Chamber still used the old appearance. Detached tracker lists lost their bottom border, and opening a sidebar could stack movable buttons on top of each other. This makes those controls follow the chosen widget style and keeps them reachable as the chat area changes size. ## What changed - World State and Player & Tracker use the shared styled windows and movable buttons on phones. Field editing, reruns and field locks remain available. The large Tracker Panel retains its existing layout. - Echo Chamber uses the shared window controls, styling and saved layout on computers, while keeping its compact view and keyboard behavior on phones. - Detached lists retain their last border in Default, Dottore and Mari, including custom border gradients. - Buttons temporarily find separate visible positions when a sidebar takes space. Closing it restores their saved positions; locked buttons remain locked. Very tight spaces may omit the usual gap so another button still fits. - Update the obsolete regression that required the removed minus button. Make the fake Linux/CUDA decision-runtime fixture deterministic on macOS without changing production behavior. - Update the Roleplay guides. Translated-guide follow-up: #7078. ## Validation Validated application code: `4e0cd914c3f1b1bf5bf5d1536ee54cd1f5f74b2b`. The following commit, `beca50254`, only corrects one introductory sentence in the Roleplay guide. `e39d8b781` then merges current staging (the unrelated Card Browser fix) and preserves both changelog entries; this PR's tracker, window and sidebar implementation is identical. - `pnpm check` passed after the final changes and again after the staging merge at `e39d8b781`, including localization, formatting, lint, types and production build. - Focused Playwright selection across desktop Chromium, mobile Chromium and mobile WebKit: **33 passed, 24 intentionally skipped by platform**. Covers Echo, mobile trackers, phone bubbles, keyboard/orientation, Tracker Panel controls, sidebar collisions and final borders. After the tight-space follow-up, both affected desktop sidebar cases passed again. - `pnpm smoke:ui`: **7 passed**. `pnpm smoke:production`: **3 passed**, including mobile WebKit. These ran before the final tight-gap helper/doc follow-up; the affected helper and sidebar checks were rerun afterward. - Full local Node lane initially finished **505/506**. Its only failure was the existing platform-dependent decision-runtime fixture on macOS. The corrected fixture passed its focused rerun; floating-window and Echo-related regression lanes also passed. The complete hosted Node regression lane then passed ([run](https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/37245663631)). - Local CodeRabbit reviewed all 22 changed files. It reported two minor documentation findings: the HUD wording was corrected; the getting-started suggestion was already satisfied by the committed text. Follow-up review of the changed guide and tight-space helper/regression completed with **zero findings**. Hosted review then caught a separate outdated sentence in the guide introduction; it was corrected in `beca50254`. - Native ARM64 container build and runtime checks passed at the validated application commit. Health, exact build metadata, compiled client/guest bundles, tutorial video and ornament assets were verified. Human verification checklist: - [ ] Manually verify World State and Player & Tracker on a physical phone in Default, Dottore and Mari, including edits and moved buttons after refresh. - [ ] Manually verify Echo Chamber movement, resizing, locking, close/reopen and saved layout. - [ ] Manually verify the last border on detached tracker lists with solid and gradient colors. - [ ] Manually verify buttons remain separate while opening either sidebar, and their positions restore on close. - [ ] Manually verify the large Tracker Panel retains its existing behavior. ## Docs and release impact Changelog and two Roleplay guides updated. No version or storage-format change. Ten-language guide updates are tracked in #7078. ## UI evidence [Before/after gallery: 16 inspected screenshots](https://gist.github.com/SpicyMarinara/f5605f4dae896d0ee40cbcf8c95b9c46). After images were captured from the validated application commit; before images show application source identical to staging `2f96206b8`. The gallery records full commits and verified image hashes. Screenshots use synthetic data and browser mobile emulation, not physical-device validation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:20:03 +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#7463
No description provided.