[PR #2876] [MERGED] fix: keep memory recall modal interactive #5776

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

📋 Pull Request Information

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

Base: staging ← Head: tld/fix-2861-memory-menu-clicks


📝 Commits (3)

  • 21d3ea2 fix: keep memory recall modal interactive
  • 2b4e902 Merge branch 'staging' into tld/fix-2861-memory-menu-clicks
  • aafaee1 Merge remote-tracking branch 'origin/staging' into tld/fix-2861-memory-menu-clicks

📊 Changes

2 files changed (+50 additions, -2 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+31 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+19 -2)

📄 Description

What?

Fix the Memory Recall chat-settings modal so clicks inside it stay interactive.

Why?

The memories modal was opened from the chat settings drawer, but clicking inside the modal could close the drawer and dismiss the modal before import, export, or delete actions could run.

How?

  • Mark the Memory Recall modal as a chat floating panel so the chat settings drawer does not treat portal clicks inside it as outside clicks.
  • Thread the floating-panel marker through the Memory Recall modal wrapper to the shared modal shell.
  • Add a focused UI regression check that opens the Memory Recall modal from chat settings, clicks inside it, and verifies the modal stays open.

Testing?

  • pnpm check
  • pnpm smoke:ui -- --project=desktop-chromium --grep "memory recall modal" as a focused regression check. Playwright's built-in webserver wrapper timed out locally, so the same check was run against a manually started dev server on the configured Playwright ports.

Screenshots (optional)

No screenshots. The focused Playwright regression covers the interaction path.

Anything Else?

Closes #2861.

Summary by CodeRabbit

  • Bug Fixes
    • Improved the “Memory Recall” experience in chat settings so the memories dialog now behaves correctly as a floating panel and accepts clicks as expected.
    • Added end-to-end coverage for opening the memories dialog from chat settings and interacting with the “Memories for This Chat” view.

🔄 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/2876 **Author:** [@TheLonelyDevil9](https://github.com/TheLonelyDevil9) **Created:** 6/25/2026 **Status:** ✅ Merged **Merged:** 6/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `tld/fix-2861-memory-menu-clicks` --- ### 📝 Commits (3) - [`21d3ea2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/21d3ea2596c8bf48b72abbae7d910998bd3f1a3d) fix: keep memory recall modal interactive - [`2b4e902`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2b4e9025922126c271cecc7c1a196b6fe27cadfb) Merge branch 'staging' into tld/fix-2861-memory-menu-clicks - [`aafaee1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/aafaee13e56432579cce32a063a8c0d575755e4b) Merge remote-tracking branch 'origin/staging' into tld/fix-2861-memory-menu-clicks ### 📊 Changes **2 files changed** (+50 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+31 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+19 -2) </details> ### 📄 Description ## What? Fix the Memory Recall chat-settings modal so clicks inside it stay interactive. ## Why? The memories modal was opened from the chat settings drawer, but clicking inside the modal could close the drawer and dismiss the modal before import, export, or delete actions could run. ## How? - Mark the Memory Recall modal as a chat floating panel so the chat settings drawer does not treat portal clicks inside it as outside clicks. - Thread the floating-panel marker through the Memory Recall modal wrapper to the shared modal shell. - Add a focused UI regression check that opens the Memory Recall modal from chat settings, clicks inside it, and verifies the modal stays open. ## Testing? - `pnpm check` - `pnpm smoke:ui -- --project=desktop-chromium --grep "memory recall modal"` as a focused regression check. Playwright's built-in webserver wrapper timed out locally, so the same check was run against a manually started dev server on the configured Playwright ports. ## Screenshots (optional) No screenshots. The focused Playwright regression covers the interaction path. ## Anything Else? Closes #2861. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved the “Memory Recall” experience in chat settings so the memories dialog now behaves correctly as a floating panel and accepts clicks as expected. * Added end-to-end coverage for opening the memories dialog from chat settings and interacting with the “Memories for This Chat” view. <!-- 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:19:25 +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#5776
No description provided.