mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8672] [MERGED] fix(mari): quick replies that name a chat she can't open no longer close her window #8738
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#8738
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8672
Author: @SpicyMarinara
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/mari-quick-reply-8651📝 Commits (6)
131b708fix(mari): a quick reply that names a chat the app can't open asks her instead (#8651)fbdf930fix(mari): a chip opens a chat only once the chat list confirms it7b8b038Merge branch 'staging' into fix/mari-quick-reply-86517bc41ebtest(mari): the quick-reply e2e deletes only the threads it created758ce03Merge remote-tracking branch 'origin/fix/mari-quick-reply-8651' into fix/mari-quick-reply-86515d562d5refactor(mari): name the quick-reply chat check withOpenableChatAction📊 Changes
2 files changed (+218 additions, -1 deletions)
View changed files
➕
e2e/mari-quick-reply.e2e.ts(+204 -0)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+14 -1)📄 Description
Linked issue
Closes #8651
Why this change
actionwhen it has one, andexecuteStateNavigationcloses her window and opens the named chat. The model can attach{kind: "chat" | "peek-prompt", chatId}to an ordinary reply card and name a chat the app doesn't list: her own hidden thread, or an id she made up. The chat view can't open it, resets the active chat and shows Home. The cards are saved on her answer (extra.mariSuggestions), so after reopening the same cards closed the window again./api/chatshides exactly the chats thatGET /chats/:idrefuses (shouldHideProfessorMariChat), so "not in the chat list" means "can't be opened".What changed
HomeProfessorMariChat.tsx, where every visible card set is built (storeChipsForChat, live and saved cards): once the chat list has loaded, achatorpeek-promptaction whose chat isn't in it is dropped from the card. The card then works like a normal reply: it sends its prompt, her window stays open, and its icon and tooltip say it asks Mari instead of "Opens now".e2e/mari-quick-reply.e2e.ts:Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
What the agent ran locally:
node ./scripts/pnpm-runner.mjs checkpasses.e2e/mari-quick-reply.e2e.tspasses 6/6 on desktop-chromium, mobile-chromium and mobile-webkit. With the client change reverse-applied, the cannot-open test fails on all three.For a human to verify:
extra.mariSuggestionscarry achatorpeek-promptaction. Their data wasn't seen; this is the only path found that produces every reported symptom. Resource or start-chat actions with made-up ids aren't covered: they open an empty editor or the start-chat dialog, not Home.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No docs change: no setting or string changed.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.