[PR #2780] [MERGED] [codex] Polish chat overlays and Prof Mari shell fallback #5727

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2780
Author: @SpicyMarinara
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/chat-overlays-prof-mari-fallback


📝 Commits (2)

  • 3a11494 Polish chat overlays and Prof Mari shell fallback
  • 78447c3 Handle keyboard toolbar actions in game mode

📊 Changes

12 files changed (+261 additions, -78 deletions)

View changed files

📝 packages/client/src/components/chat/ChatArea.tsx (+28 -3)
📝 packages/client/src/components/chat/ChatBranchSelector.tsx (+13 -49)
📝 packages/client/src/components/chat/ChatGalleryDrawer.tsx (+10 -4)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+10 -4)
📝 packages/client/src/components/chat/ChatToolbarControls.tsx (+21 -4)
📝 packages/client/src/components/chat/ConversationPresenceCard.tsx (+9 -2)
📝 packages/client/src/components/game/GameInventory.tsx (+7 -1)
📝 packages/client/src/components/game/GameNarration.tsx (+1 -1)
📝 packages/client/src/components/game/GameReadableDisplay.tsx (+7 -1)
📝 packages/client/src/components/game/GameSurface.tsx (+37 -6)
📝 packages/client/src/components/layout/AppShell.tsx (+12 -0)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+106 -3)

📄 Description

Linked issue

Closes #

Why this change

  • Chat UI floating panels could overlap sidebars or stay open while other toolbar actions were selected.
  • Branch controls in Conversation and Game modes needed to match the compact Roleplay branch control.
  • Professor Mari shell commands could fail on Windows or minimal shells when bash-specific syntax was suggested or executed.

What changed

  • Anchored Chat Settings, Gallery, and toolbar overflow menus inside the chat lane and close conflicting panels when another toolbar action opens.
  • Unified branch selector styling across Conversation, Roleplay, and Game modes, including the Game log branch hover action.
  • Added Windows cmd operations plus portability guidance and compatibility guards for Professor Mari's shell tool.

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

  • Ran git diff --cached --check; passed.
  • Ran pnpm check; passed. Local output still includes the existing Node/Vite version warnings for Node v20.11.1.
  • Earlier focused client checks also passed: pnpm --filter @marinara-engine/client lint and pnpm --filter @marinara-engine/client build.

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)

Summary by CodeRabbit

Release Notes

  • Bug Fixes

    • Improved Windows shell command validation with clearer error messages for incompatible commands.
  • Improvements

    • Enhanced floating panel positioning when sidebars are visible.
    • Refined toolbar interaction coordination between game and chat interfaces.
    • Streamlined UI button styling across multiple components.

🔄 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/2780 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/22/2026 **Status:** ✅ Merged **Merged:** 6/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/chat-overlays-prof-mari-fallback` --- ### 📝 Commits (2) - [`3a11494`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3a11494e5f891d7ba40d2472e38dcb4ae186f98d) Polish chat overlays and Prof Mari shell fallback - [`78447c3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/78447c3542be2a4ef37d262a4b38102d07209a63) Handle keyboard toolbar actions in game mode ### 📊 Changes **12 files changed** (+261 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/ChatArea.tsx` (+28 -3) 📝 `packages/client/src/components/chat/ChatBranchSelector.tsx` (+13 -49) 📝 `packages/client/src/components/chat/ChatGalleryDrawer.tsx` (+10 -4) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+10 -4) 📝 `packages/client/src/components/chat/ChatToolbarControls.tsx` (+21 -4) 📝 `packages/client/src/components/chat/ConversationPresenceCard.tsx` (+9 -2) 📝 `packages/client/src/components/game/GameInventory.tsx` (+7 -1) 📝 `packages/client/src/components/game/GameNarration.tsx` (+1 -1) 📝 `packages/client/src/components/game/GameReadableDisplay.tsx` (+7 -1) 📝 `packages/client/src/components/game/GameSurface.tsx` (+37 -6) 📝 `packages/client/src/components/layout/AppShell.tsx` (+12 -0) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+106 -3) </details> ### 📄 Description ## Linked issue Closes # ## Why this change - Chat UI floating panels could overlap sidebars or stay open while other toolbar actions were selected. - Branch controls in Conversation and Game modes needed to match the compact Roleplay branch control. - Professor Mari shell commands could fail on Windows or minimal shells when bash-specific syntax was suggested or executed. ## What changed - Anchored Chat Settings, Gallery, and toolbar overflow menus inside the chat lane and close conflicting panels when another toolbar action opens. - Unified branch selector styling across Conversation, Roleplay, and Game modes, including the Game log branch hover action. - Added Windows cmd operations plus portability guidance and compatibility guards for Professor Mari's shell tool. ## 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 - Ran `git diff --cached --check`; passed. - Ran `pnpm check`; passed. Local output still includes the existing Node/Vite version warnings for Node v20.11.1. - Earlier focused client checks also passed: `pnpm --filter @marinara-engine/client lint` and `pnpm --filter @marinara-engine/client build`. ## 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) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Bug Fixes** * Improved Windows shell command validation with clearer error messages for incompatible commands. * **Improvements** * Enhanced floating panel positioning when sidebars are visible. * Refined toolbar interaction coordination between game and chat interfaces. * Streamlined UI button styling across multiple components. <!-- 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:18:56 +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#5727
No description provided.