[PR #2600] [MERGED] [codex] Polish unified chat UI and library folders #5685

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

📋 Pull Request Information

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

Base: staging ← Head: codex/unified-chat-ui-library-folders


📝 Commits (2)

  • 8fa20d4 Polish unified chat UI and library folders
  • 5a38e71 Address CodeRabbit UI review feedback

📊 Changes

41 files changed (+2570 additions, -2126 deletions)

View changed files

📝 packages/client/src/App.tsx (+19 -1)
📝 packages/client/src/components/agents/AgentEditor.tsx (+22 -17)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+86 -221)
📝 packages/client/src/components/chat/ChatBranchSelector.tsx (+5 -2)
📝 packages/client/src/components/chat/ChatInput.tsx (+6 -9)
📝 packages/client/src/components/chat/ChatMessage.tsx (+9 -5)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+288 -140)
📝 packages/client/src/components/chat/ChatToolbarControls.tsx (+75 -12)
📝 packages/client/src/components/chat/ConversationInput.tsx (+22 -323)
📝 packages/client/src/components/chat/ConversationView.tsx (+15 -5)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+15 -1)
📝 packages/client/src/components/chat/QuickSwitcherMobile.tsx (+181 -171)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+235 -322)
📝 packages/client/src/components/chat/SummaryPopover.tsx (+37 -8)
📝 packages/client/src/components/chat/YouTubePlayer.tsx (+21 -14)
➕ packages/client/src/components/chat/chat-input-styles.ts (+49 -0)
📝 packages/client/src/components/game/DirectionEngine.tsx (+2 -1)
📝 packages/client/src/components/game/DraggablePanel.tsx (+1 -1)
📝 packages/client/src/components/game/GameCharacterSheet.tsx (+39 -39)
📝 packages/client/src/components/game/GameGridMap.tsx (+71 -52)

...and 21 more files

📄 Description

Linked issue

No linked issue yet; maintainer-requested UI polish and folder bugfix.

Why this change

  • Unifies chat UI chrome across conversation, roleplay, and game surfaces so buttons, popovers, input chrome, panels, and mobile overflow controls share the same visual language.
  • Keeps library/editor workflows compact and consistent while preserving metadata visibility.
  • Fixes the persona folder workflow where personas could become awkward to move back out of folders, and prevents character/persona folder rows from hiding useful card metadata.

What changed

  • Shared and reused chat input/button styling across chat modes, including top-bar controls, expandable chat windows, mobile overflow buttons, tracker/agent controls, and light/accent color behavior.
  • Polished game-mode widgets, map chrome, party cards, custom widgets, Spotify/YouTube player framing, Echo Chamber placement, and related chat-surface spacing.
  • Added reusable macro/expand textarea affordances for editors and compacted character, persona, lorebook, preset, connection, and agent editor surfaces.
  • Restored character/persona folder list metadata and made drag/drop removal to the root list more robust.
  • Added shared helper components for chat input styling and macro-enabled textarea fields.

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 pnpm check locally after the persona/character folder fix; it completed successfully.
  • Browser/manual viewport verification still needs a human pass before merge.

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)

No docs or release metadata changes are expected for this UI-only PR.

UI evidence (if applicable)

No screenshots attached from this automation pass; manual UI evidence should be added during review.

Summary by CodeRabbit

Release Notes

  • New Features

    • Customizable “chat chrome” text color with persisted setting
    • Recent status suggestions in the user status editor
    • Macro-aware text editing (MacroTextarea) across multiple editors
  • Improvements

    • Refined mobile popovers with anchored positioning (including portal rendering where needed)
    • Chat toolbar now auto-collapses into an overflow menu based on available space
    • Roleplay/chat UI layout and spacing improvements
    • Game map supports a new compact fitting mode
  • Style

    • Expanded Marinara CSS-variable theming across chat, game, and UI elements

🔄 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/2600 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/16/2026 **Status:** ✅ Merged **Merged:** 6/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/unified-chat-ui-library-folders` --- ### 📝 Commits (2) - [`8fa20d4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8fa20d491f3b0b088f8e8c38fa6f278da50af88b) Polish unified chat UI and library folders - [`5a38e71`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5a38e71f75cf018e44084f08124f63e38887a756) Address CodeRabbit UI review feedback ### 📊 Changes **41 files changed** (+2570 additions, -2126 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/App.tsx` (+19 -1) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+22 -17) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+86 -221) 📝 `packages/client/src/components/chat/ChatBranchSelector.tsx` (+5 -2) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+6 -9) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+9 -5) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+288 -140) 📝 `packages/client/src/components/chat/ChatToolbarControls.tsx` (+75 -12) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+22 -323) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+15 -5) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+15 -1) 📝 `packages/client/src/components/chat/QuickSwitcherMobile.tsx` (+181 -171) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+235 -322) 📝 `packages/client/src/components/chat/SummaryPopover.tsx` (+37 -8) 📝 `packages/client/src/components/chat/YouTubePlayer.tsx` (+21 -14) ➕ `packages/client/src/components/chat/chat-input-styles.ts` (+49 -0) 📝 `packages/client/src/components/game/DirectionEngine.tsx` (+2 -1) 📝 `packages/client/src/components/game/DraggablePanel.tsx` (+1 -1) 📝 `packages/client/src/components/game/GameCharacterSheet.tsx` (+39 -39) 📝 `packages/client/src/components/game/GameGridMap.tsx` (+71 -52) _...and 21 more files_ </details> ### 📄 Description ## Linked issue No linked issue yet; maintainer-requested UI polish and folder bugfix. ## Why this change - Unifies chat UI chrome across conversation, roleplay, and game surfaces so buttons, popovers, input chrome, panels, and mobile overflow controls share the same visual language. - Keeps library/editor workflows compact and consistent while preserving metadata visibility. - Fixes the persona folder workflow where personas could become awkward to move back out of folders, and prevents character/persona folder rows from hiding useful card metadata. ## What changed - Shared and reused chat input/button styling across chat modes, including top-bar controls, expandable chat windows, mobile overflow buttons, tracker/agent controls, and light/accent color behavior. - Polished game-mode widgets, map chrome, party cards, custom widgets, Spotify/YouTube player framing, Echo Chamber placement, and related chat-surface spacing. - Added reusable macro/expand textarea affordances for editors and compacted character, persona, lorebook, preset, connection, and agent editor surfaces. - Restored character/persona folder list metadata and made drag/drop removal to the root list more robust. - Added shared helper components for chat input styling and macro-enabled textarea fields. ## 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 `pnpm check` locally after the persona/character folder fix; it completed successfully. - Browser/manual viewport verification still needs a human pass before merge. ## 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) No docs or release metadata changes are expected for this UI-only PR. ## UI evidence (if applicable) No screenshots attached from this automation pass; manual UI evidence should be added during review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit # Release Notes * **New Features** * Customizable “chat chrome” text color with persisted setting * Recent status suggestions in the user status editor * Macro-aware text editing (MacroTextarea) across multiple editors * **Improvements** * Refined mobile popovers with anchored positioning (including portal rendering where needed) * Chat toolbar now auto-collapses into an overflow menu based on available space * Roleplay/chat UI layout and spacing improvements * Game map supports a new compact fitting mode * **Style** * Expanded Marinara CSS-variable theming across chat, game, and UI elements <!-- 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:28 +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#5685
No description provided.