[PR #8203] [MERGED] fix: open Memory Recall from scene repair notifications #8183

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8203
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/advanced-memory-notice-8190


📝 Commits (3)

  • 655db2e test: reproduce Advanced Memory notification navigation
  • d599ac2 fix: raise popped-out Memory Recall from repair notices
  • caf3704 fix: wait for the target memory drawer owner across chats

📊 Changes

3 files changed (+249 additions, -5 deletions)

View changed files

➕ e2e/advanced-memory-navigation.e2e.ts (+220 -0)
📝 packages/client/src/components/chat/ChatArea.tsx (+27 -3)
📝 packages/client/src/components/ui/Drawer.tsx (+2 -2)

📄 Description

Linked issue

Closes #8190

Why this change

A scene-repair notification opened general Chat Settings while a popped-out/minimized Memory Recall window stayed hidden. When its notification was clicked from another chat, the initial fix could also consult the departing chat's layout. A repeated request could leave a docked section collapsed.

What changed

  • Queue the existing request until the target chat detail and saved window layout have loaded, then open its actual docked or popped-out Memory Recall owner and re-expand the section.
  • Preserve the existing Fix and scene requests for their consumers. Plain navigation clears after opening.
  • Reuse the existing window-host registration for detached drawers so a replacement/StrictMode cleanup cannot close a newly opened mobile sheet. Saved placement, docking and pinning remain intact.
  • Cover raw events, the real notification Fix button, opposite-chat layouts, cold target loads, pinned drawers and repeated collapsed-section navigation.

The production changes stay in the existing chat navigation and two-line detached-drawer lifecycle. Memory processing, storage and API contracts are unchanged.

Validation

  • Full pnpm check passes, including E2E types, localization, lint and production build. One inherited HomeProfessorMariChat hook-dependency warning remains.
  • All 36 focused desktop Chromium/mobile Chromium/mobile WebKit programs pass, with 72 dark/light captures. The pinned controls also verify no target window appears over the unrelated chat.
  • The existing complete Fix/result Show/scene Inspector/resume program passes in all three browser projects. The existing floating-window Node regression passes.
  • Three compiled startup cases and all seven final source-smoke cases pass.
  • Final scoped local CodeRabbit review completes normally with zero findings across the three repair files. The initial local review had one minor unsupported Game-mode premise, source-rejected with the real Roleplay-only producer guards; that historical finding is not represented as zero.
  • The first actual hosted review found a valid cross-chat layout MEDIUM. The paired browser probe reproduces it on the initial head and passes with the pre-PR handler. The repair addresses it; all original failures and discarded attempts are retained, including the mobile close stack that motivated the lifecycle fix.

Final source, paired failure/base control, all checks and standalone gallery. All 22 published raw files match local evidence bytes. The earlier d599 evidence remains historical and is superseded for final-source claims.

  • 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

  • Manually verify the scene-repair notification opens Memory Recall and starts Fix, including a popped-out/minimized or pinned drawer, another chat with an opposite layout, a cold target chat and a docked section collapsed after an earlier request.
  • These are emulated browsers with deterministic memory status/initialize responses. Physical Windows/Opera/phones and paid model/repair-algorithm behavior were not tested. Existing WebKit translucency and toast overlay are unchanged.

Docs and release impact

This restores existing navigation behavior; no user-facing copy, documentation, release version or changelog changes are needed.

UI evidence

The linked gallery.html is a downloadable standalone gallery containing exact representative desktop/mobile dark/light PNGs. The evidence inventory records hashes for all 72 final captures. Representative Chromium and WebKit captures were visually inspected.


🔄 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/8203 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 10/23/2026 **Status:** ✅ Merged **Merged:** 10/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/advanced-memory-notice-8190` --- ### 📝 Commits (3) - [`655db2e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/655db2ebfb5b49edea42904c66cb822c2febcae5) test: reproduce Advanced Memory notification navigation - [`d599ac2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d599ac211986ff2668201504cf17c23f050fec86) fix: raise popped-out Memory Recall from repair notices - [`caf3704`](https://github.com/Pasta-Devs/Marinara-Engine/commit/caf3704f8e522afad43d2ae899a2e2088e90a8f6) fix: wait for the target memory drawer owner across chats ### 📊 Changes **3 files changed** (+249 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `e2e/advanced-memory-navigation.e2e.ts` (+220 -0) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+27 -3) 📝 `packages/client/src/components/ui/Drawer.tsx` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #8190 ## Why this change A scene-repair notification opened general Chat Settings while a popped-out/minimized Memory Recall window stayed hidden. When its notification was clicked from another chat, the initial fix could also consult the departing chat's layout. A repeated request could leave a docked section collapsed. ## What changed - Queue the existing request until the target chat detail and saved window layout have loaded, then open its actual docked or popped-out Memory Recall owner and re-expand the section. - Preserve the existing Fix and scene requests for their consumers. Plain navigation clears after opening. - Reuse the existing window-host registration for detached drawers so a replacement/StrictMode cleanup cannot close a newly opened mobile sheet. Saved placement, docking and pinning remain intact. - Cover raw events, the real notification Fix button, opposite-chat layouts, cold target loads, pinned drawers and repeated collapsed-section navigation. The production changes stay in the existing chat navigation and two-line detached-drawer lifecycle. Memory processing, storage and API contracts are unchanged. ## Validation - Full `pnpm check` passes, including E2E types, localization, lint and production build. One inherited HomeProfessorMariChat hook-dependency warning remains. - All **36** focused desktop Chromium/mobile Chromium/mobile WebKit programs pass, with **72** dark/light captures. The pinned controls also verify no target window appears over the unrelated chat. - The existing complete Fix/result Show/scene Inspector/resume program passes in all three browser projects. The existing floating-window Node regression passes. - Three compiled startup cases and all seven final source-smoke cases pass. - Final scoped local CodeRabbit review completes normally with **zero findings across the three repair files**. The initial local review had one minor unsupported Game-mode premise, source-rejected with the real Roleplay-only producer guards; that historical finding is not represented as zero. - The first actual hosted review found a **valid cross-chat layout MEDIUM**. The paired browser probe reproduces it on the initial head and passes with the pre-PR handler. The repair addresses it; all original failures and discarded attempts are retained, including the mobile close stack that motivated the lifecycle fix. [Final source, paired failure/base control, all checks and standalone gallery](https://gist.github.com/SpicyMarinara/5e75ed8420135ada291da36ece9bc31b). All 22 published raw files match local evidence bytes. The earlier d599 evidence remains historical and is superseded for final-source claims. - [ ] `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 - Manually verify the scene-repair notification opens Memory Recall and starts Fix, including a popped-out/minimized or pinned drawer, another chat with an opposite layout, a cold target chat and a docked section collapsed after an earlier request. - These are emulated browsers with deterministic memory status/initialize responses. Physical Windows/Opera/phones and paid model/repair-algorithm behavior were not tested. Existing WebKit translucency and toast overlay are unchanged. ## Docs and release impact This restores existing navigation behavior; no user-facing copy, documentation, release version or changelog changes are needed. ## UI evidence The linked `gallery.html` is a downloadable standalone gallery containing exact representative desktop/mobile dark/light PNGs. The evidence inventory records hashes for all 72 final captures. Representative Chromium and WebKit captures were visually inspected. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:04:31 +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#8183
No description provided.