[GH-ISSUE #1217] [Feature]: Add local conversation message notifications #593

Closed
opened 2026-10-20 17:30:32 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1217

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

Conversation mode can feel like a messaging app, but users currently have to keep checking the open chat to know whether a character has replied. This makes asynchronous or more casual conversation workflows easy to miss.

Proposed solution

Add a small, opt-in browser/desktop notification for new character messages in conversation mode.

For the first version:

  • The user explicitly enables notifications from the UI, using the browser's native notification permission prompt.
  • Marinara shows a generic notification when a new character message is received and the app is not focused.
  • The notification should avoid showing message contents by default, using copy such as "New message from " or "Open Marinara to read it."
  • Clicking the notification should focus Marinara when the browser/app shell supports it.
  • This only needs to work while Marinara is already open.

This intentionally does not include background push notifications, PWA service worker delivery, message previews, per-character notification rules, or custom notification endpoints.

Alternatives considered

  • Implement the full notification system from #1145, including richer controls and possible custom endpoints such as Apprise. That is useful but larger than the smallest quality-of-life slice.
  • Include message previews in notifications. This is convenient, but it adds privacy and NSFW/spoiler concerns that should be handled separately.
  • Add true background/PWA push notifications. This would cover more cases, but it introduces browser compatibility, service worker, and lifecycle complexity beyond the first version.

Additional context

This is a narrowed follow-up to #1145. The goal is to prove the core value of conversation notifications with a minimal client-side implementation before expanding into a broader notification system.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1217 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? Conversation mode can feel like a messaging app, but users currently have to keep checking the open chat to know whether a character has replied. This makes asynchronous or more casual conversation workflows easy to miss. ## Proposed solution Add a small, opt-in browser/desktop notification for new character messages in conversation mode. For the first version: - The user explicitly enables notifications from the UI, using the browser's native notification permission prompt. - Marinara shows a generic notification when a new character message is received and the app is not focused. - The notification should avoid showing message contents by default, using copy such as "New message from <character>" or "Open Marinara to read it." - Clicking the notification should focus Marinara when the browser/app shell supports it. - This only needs to work while Marinara is already open. This intentionally does not include background push notifications, PWA service worker delivery, message previews, per-character notification rules, or custom notification endpoints. ## Alternatives considered - Implement the full notification system from #1145, including richer controls and possible custom endpoints such as Apprise. That is useful but larger than the smallest quality-of-life slice. - Include message previews in notifications. This is convenient, but it adds privacy and NSFW/spoiler concerns that should be handled separately. - Add true background/PWA push notifications. This would cover more cases, but it introduces browser compatibility, service worker, and lifecycle complexity beyond the first version. ## Additional context This is a narrowed follow-up to #1145. The goal is to prove the core value of conversation notifications with a minimal client-side implementation before expanding into a broader notification system. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 25, 2026):

Triage note: labeling this as normal-scope because it narrows #1145 to a focused opt-in client notification for conversation mode, without background push delivery, message previews, per-character rules, or custom endpoints.

The least risky next step is to implement the local browser-notification path and verify permission, focus, and unsupported-browser behavior before considering richer notification controls.

<!-- gh-comment-id:4538198522 --> @cha1latte commented on GitHub (May 25, 2026): Triage note: labeling this as `normal-scope` because it narrows #1145 to a focused opt-in client notification for conversation mode, without background push delivery, message previews, per-character rules, or custom endpoints. The least risky next step is to implement the local browser-notification path and verify permission, focus, and unsupported-browser behavior before considering richer notification controls.
Author
Owner

@cha1latte commented on GitHub (May 26, 2026):

fixed in refactor in #1222

<!-- gh-comment-id:4538710003 --> @cha1latte commented on GitHub (May 26, 2026): fixed in refactor in #1222
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#593
No description provided.