mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1798] Restore shared mode parity for summaries, memory import, and gallery illustrate state #879
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#879
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1798
Originally assigned to: @cha1latte on GitHub.
Summary
Static parity audit of
src/features/modes/sharedagainst the legacy shared chat UI found three shared-mode regressions worth restoring.Current behavior
1. Chat summary popover no longer manages structured rolling summaries
Current contracts still include
ChatMetadata.summaryEntries,summaryPromptTemplates, andactiveSummaryPromptTemplateIdinsrc/engine/contracts/types/chat.ts, and summary generation still appends structured entries insrc/features/catalog/chats/hooks/use-chats.ts.However,
src/features/modes/shared/chat-ui/components/SummaryPopover.tsxonly receives the compiledsummarystring, andsrc/features/modes/roleplay/components/ChatRoleplaySurface.tsxno longer passes entries or prompt templates to it.The legacy
packages/client/src/components/chat/SummaryPopover.tsxsupported:Impact: structured rolling summaries can exist, but users cannot manage them from the shared popover. The visible UI has effectively fallen back to a single compiled summary string.
2. Memory Recall import lost client-side validation
Current
src/features/catalog/chats/hooks/use-chats.tsreads and parses the selected file, then sends the raw payload tochatCommandApi.memoriesImport. CurrentChatSettingsDrawer.tsxaccepts onlyapplication/json,.json.The legacy
ChatSettingsDrawer.tsxvalidated the export envelope (type: "marinara_memory_recall",version: 1,data.chunks), capped imports at 25 MB, and accepted.json,.marinara.Impact: large files can stall the UI, wrong-file errors are less clear, and exported
.marinarafiles may not be selectable from the picker.3. Gallery illustrate in-flight state is local only
Current
src/features/modes/shared/chat-ui/components/ChatGallery.tsxtracks manual illustration progress with localillustratePendingstate, whilesrc/shared/stores/gallery.store.tsonly tracks pinned images.The legacy gallery store tracked
illustratingChatIds, andChatGalleryread that shared state when disabling the Illustrate button and showing the running notice.Impact: closing and reopening the drawer, remounting the component, or switching chats can lose the running indicator and may allow duplicate manual illustration requests while the first request is still active.
Expected behavior
.marinarafiles in the picker.Suggested fix order
.marinarapicker guards.Verification notes
This is from static parity inspection only. No runtime app proof has been run yet.
@cha1latte commented on GitHub (Jun 1, 2026):
Fixed in #1835