[PR #3577] [MERGED] Keep desktop chat tools open beside shell panels #5999

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3577
Author: @SpicyMarinara
Created: 7/13/2026
Status: ✅ Merged
Merged: 7/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/desktop-chat-panels-with-shell-navigation


📝 Commits (1)

  • 9b63807 Keep desktop chat tools open with side panels

📊 Changes

9 files changed (+53 additions, -17 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx (+2 -1)
📝 packages/client/src/components/chat/ChatBranchSelector.tsx (+7 -2)
📝 packages/client/src/components/chat/ChatGalleryDrawer.tsx (+6 -1)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+2 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+6 -1)
📝 packages/client/src/components/chat/ConversationPresenceCard.tsx (+7 -1)
📝 packages/client/src/components/panels/PresetsPanel.tsx (+15 -10)
📝 packages/client/src/lib/chat-floating-ui-events.ts (+6 -0)

📄 Description

Linked issue

No linked issue. This is a maintainer-requested desktop UI regression fix and Presets consistency cleanup.

Why this change

  • Desktop top-bar navigation treated chat-owned floating tools like mobile overlays and dismissed them, preventing workflows such as keeping Chat Settings visible while inspecting Agents.
  • Regex and Function metadata badges wrapped inconsistently, sometimes appearing above or below the value they describe.

What changed

  • Preserve Chat Settings, Gallery, Branches, Active Context, and Conversation Presence when desktop shell navigation is clicked, while retaining mobile dismissal behavior.
  • Constrain fixed chat tools to the desktop shell insets so side panels push them aside instead of overlapping them.
  • Keep Regex AI/User badges beside the pattern and Function badges beside the function name, truncating the primary text first when space is limited.
  • Document both fixes in the Unreleased changelog.

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

  • Automated browser shell smoke suite completed: 37 passed, 25 intentionally skipped.
  • Manual verification requested: open each chat tool in Conversation, Roleplay, and Game on desktop, then open Characters, Agents, or Settings and confirm both surfaces remain usable. On mobile, confirm shell navigation still dismisses the floating chat tool.

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)

No screenshots attached.

Summary by CodeRabbit

  • Bug Fixes
    • Desktop top-bar navigation no longer unintentionally closes open chat tools such as Settings, Gallery, Branches, Active Context, and Conversation Presence.
    • Chat tools now reposition more reliably alongside the conversation while remaining dismissible through mobile interactions.
    • Presets metadata now stays aligned: long regex and function names are truncated before badges wrap.

🔄 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/3577 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/desktop-chat-panels-with-shell-navigation` --- ### 📝 Commits (1) - [`9b63807`](https://github.com/Pasta-Devs/Marinara-Engine/commit/9b638076b92081846a62a1fb4d02f45e8a59b47e) Keep desktop chat tools open with side panels ### 📊 Changes **9 files changed** (+53 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `packages/client/src/components/chat/ActiveLorebookEntriesButton.tsx` (+2 -1) 📝 `packages/client/src/components/chat/ChatBranchSelector.tsx` (+7 -2) 📝 `packages/client/src/components/chat/ChatGalleryDrawer.tsx` (+6 -1) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+2 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+6 -1) 📝 `packages/client/src/components/chat/ConversationPresenceCard.tsx` (+7 -1) 📝 `packages/client/src/components/panels/PresetsPanel.tsx` (+15 -10) 📝 `packages/client/src/lib/chat-floating-ui-events.ts` (+6 -0) </details> ### 📄 Description ## Linked issue No linked issue. This is a maintainer-requested desktop UI regression fix and Presets consistency cleanup. ## Why this change - Desktop top-bar navigation treated chat-owned floating tools like mobile overlays and dismissed them, preventing workflows such as keeping Chat Settings visible while inspecting Agents. - Regex and Function metadata badges wrapped inconsistently, sometimes appearing above or below the value they describe. ## What changed - Preserve Chat Settings, Gallery, Branches, Active Context, and Conversation Presence when desktop shell navigation is clicked, while retaining mobile dismissal behavior. - Constrain fixed chat tools to the desktop shell insets so side panels push them aside instead of overlapping them. - Keep Regex AI/User badges beside the pattern and Function badges beside the function name, truncating the primary text first when space is limited. - Document both fixes in the Unreleased changelog. ## 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 - Automated browser shell smoke suite completed: 37 passed, 25 intentionally skipped. - Manual verification requested: open each chat tool in Conversation, Roleplay, and Game on desktop, then open Characters, Agents, or Settings and confirm both surfaces remain usable. On mobile, confirm shell navigation still dismisses the floating chat tool. ## 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) No screenshots attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Desktop top-bar navigation no longer unintentionally closes open chat tools such as Settings, Gallery, Branches, Active Context, and Conversation Presence. * Chat tools now reposition more reliably alongside the conversation while remaining dismissible through mobile interactions. * Presets metadata now stays aligned: long regex and function names are truncated before badges wrap. <!-- 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:06: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#5999
No description provided.