mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1808] [Issue]: Refactor notifications miss off-chat generation and roleplay pings #889
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#889
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/1808
Originally assigned to: @cha1latte on GitHub.
Summary
Notification parity from the legacy implementation is incomplete in the refactor branch. Current refactor generation can save a reply after the user switches chats without creating unread state, a floating notification bubble, or the configured ping. The Roleplay notification sound setting is also present in Settings but does not appear to be connected to Roleplay generation completion.
Expected behavior
Roleplay modenotification sound toggle should affect new Roleplay replies.Actual behavior
src/features/runtime/generation/hooks/use-generate.tshandlesassistant_messageevents by upserting/refetching and releasing UI, but there is no off-chatincrementUnread,addNotification, orplayNotificationPingpath in that file.rpNotificationSoundis present insrc/shared/stores/ui.store.tsandsrc/features/shell/settings/components/settings/SettingControls.tsx, but searches only found runtime callers for Conversation notification sound undersrc/features/modes/conversation.src/shared/lib/notification-sound.tscreates a newAudioContextevery ping and does not catch audio failures.Steps to reproduce
Impact area
Environment
84f40efdLogs, screenshots, or video
No runtime logs or screenshots. Static evidence from code comparison:
src/features/runtime/generation/hooks/use-generate.tssrc/features/shell/notifications/components/ChatNotificationBubbles.tsxsrc/shared/lib/notification-sound.tspackages/client/src/hooks/use-generate.tsaround group-turn and final cleanup paths.packages/client/src/components/chat/ChatRoleplaySurface.tsx.Regression notes
This worked in the legacy implementation. The refactor branch appears to have the shell/store/settings surface for notifications, plus improved native/local Conversation notifications, but the generation-runtime notification parity is incomplete.
Additional context
The refactor-only native/local Conversation notifications are useful and should be kept. They do not replace in-app unread counts, avatar bubbles, or Roleplay notification sounds. The legacy notification audio helper also had a safer shape: a reused
AudioContextand a try/catch around Web Audio calls.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
fixed in #1841