[PR #1110] [MERGED] Make agent windows resizable #4925

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

📋 Pull Request Information

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

Base: staging ← Head: feature/issue-1096-resizable-agent-windows


📝 Commits (2)

  • b45ed32 Make agent windows resizable
  • dedf779 Address resizable popover positioning

📊 Changes

1 file changed (+40 additions, -10 deletions)

View changed files

📝 packages/client/src/components/chat/RoleplayHUD.tsx (+40 -10)

📄 Description

Linked issue

Closes #1096

Why this change

  • Agent HUD windows with long content, especially Secret Plot-style nested tracker content, can be awkward to read when the outer window is fixed-size.

What changed

  • Made the shared roleplay HUD popover shell browser-resizable with min sizes, auto overflow, and viewport-bounded max height.
  • Made the agent actions dropdown resizable with the same viewport-bounded behavior.

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 ran pnpm check successfully in a clean issue worktree.
  • Codex verified the built client CSS in a local browser proof page: both the shared widget popover and agent actions dropdown computed to resize: both, overflow-x/y: auto, and viewport-bounded max dimensions.
  • Bunny review passed for the isolated one-file diff.

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)

  • UI behavior verified through computed browser styles against the built client CSS; no screenshot attached because the visible change is the native resize affordance on existing popover shells.

Summary by CodeRabbit

  • Style
    • Improved agents dropdown and widget popover UI with enhanced resizing capabilities, optimized overflow handling, and better viewport constraint management.

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/1110 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/22/2026 **Status:** ✅ Merged **Merged:** 5/22/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `feature/issue-1096-resizable-agent-windows` --- ### 📝 Commits (2) - [`b45ed32`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b45ed32906c1e0e344b68a628f2899faef3c9f0b) Make agent windows resizable - [`dedf779`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dedf779f343cbc6cbac2e7e05748991903505a8e) Address resizable popover positioning ### 📊 Changes **1 file changed** (+40 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+40 -10) </details> ### 📄 Description ## Linked issue Closes #1096 ## Why this change - Agent HUD windows with long content, especially Secret Plot-style nested tracker content, can be awkward to read when the outer window is fixed-size. ## What changed - Made the shared roleplay HUD popover shell browser-resizable with min sizes, auto overflow, and viewport-bounded max height. - Made the agent actions dropdown resizable with the same viewport-bounded behavior. ## 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 ran `pnpm check` successfully in a clean issue worktree. - Codex verified the built client CSS in a local browser proof page: both the shared widget popover and agent actions dropdown computed to `resize: both`, `overflow-x/y: auto`, and viewport-bounded max dimensions. - Bunny review passed for the isolated one-file diff. ## 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) - UI behavior verified through computed browser styles against the built client CSS; no screenshot attached because the visible change is the native resize affordance on existing popover shells. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Improved agents dropdown and widget popover UI with enhanced resizing capabilities, optimized overflow handling, and better viewport constraint management. <!-- 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/1110?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- 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:11:46 +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#4925
No description provided.