[PR #7384] [MERGED] fix(conversation): explain active Scene reply restrictions #7711

Closed
opened 2026-10-24 04:06:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: lights-camera-still-online


📝 Commits (3)

  • 4dca658 docs: record scene-blocked feedback fix for #7383
  • fb94f03 fix(conversation): explain active Scene reply restrictions (#7383)
  • 6e2ff4d test(scene): retain unavailable event assertion

📊 Changes

7 files changed (+238 additions, -10 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
➕ e2e/scene-blocked-feedback.e2e.ts (+102 -0)
📝 packages/client/src/hooks/use-generate.ts (+7 -3)
📝 packages/client/src/localization/locales/en.json (+3 -0)
📝 packages/server/src/routes/generate.routes.ts (+21 -2)
📝 packages/server/src/routes/generate/conversation-presence-runtime.ts (+11 -3)
📝 scripts/regressions/scene-participants.regression.ts (+92 -2)

📄 Description

Linked issue

Refs #7383. This fixes misleading feedback only; the request to restore simultaneous conversation remains open.

Why this change

Scene participants cannot reply in their source Conversation, but the current notice says they are offline while their presence indicator may remain green. Users need the actual reason and a way to resume conversation.

What changed

  • Distinguish active Scene participation from actual offline presence in generation feedback.
  • Explain that ending or abandoning the Scene resumes source-Conversation replies.
  • Preserve current participant eligibility and presence indicators.

Validation

  • 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

Automated validation is complete; these checks were agent-run, not human attestations. Manually verify the Scene-blocked notice for normal replies, Continue and group replies, and verify genuine offline notices remain accurate.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Six screenshot fixtures: 390, 768 and 1440 px in light/dark mode. Download the standalone HTML from the gist and open it to view the embedded PNGs. Synthetic data only; screenshots are not committed to the repository.

Proof

  • pnpm check passed, including production builds; it reports an existing serverRun hook-dependency warning in the untouched HomeProfessorMariChat.tsx.
  • pnpm regression:prompt passed.
  • node scripts/run-regressions.mjs --filter scene-participants passed, including source-Conversation rejection, merged replies, genuine offline presence and colliding display names with different blocking reasons.
  • pnpm exec playwright test e2e/scene-blocked-feedback.e2e.ts --project=desktop-chromium --workers=1 passed all six viewport/theme cases with the actual source-chat gate and the reason-less offline-event fallback; screenshots were inspected.
  • pnpm smoke:ui passed all seven cases.
  • Final localization, e2e TypeScript and focused formatting checks passed.
  • Two local CodeRabbit reviews completed. Fixed the shared-name reason classification, strengthened the assertion against a second incorrect offline toast, and shortened the localized notices. No substantive local findings remain; the reviews did produce findings.
  • Maintainer review of the final diff: response eligibility, regeneration/impersonation exemptions and Scene lifecycle are preserved. The new reason is additive on the existing event so older reason-less events still render normally.

Proof limits: no local Docker run, paid-provider generation or physical-mobile test. The six browser cases use Chromium at different viewport sizes; they are not a WebKit/device matrix. GitHub CI and hosted review remain merge gates. #7383 stays open for the separate decision about simultaneous manual conversation.

Summary by CodeRabbit

  • Bug Fixes
    • Conversation notices now explain when a character can’t reply because they’re participating in an active Scene, instead of incorrectly saying they’re offline.
    • When a conversation includes both Scene participants and offline characters, each group receives the appropriate notice, even if characters share a display name.
    • Notices use distinct icons to help distinguish characters who are busy in a Scene from those who are offline.

🔄 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/7384 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/10/2026 **Status:** ✅ Merged **Merged:** 10/10/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `lights-camera-still-online` --- ### 📝 Commits (3) - [`4dca658`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4dca658ca2e8ac9065cddd244eafc1502fd539dd) docs: record scene-blocked feedback fix for #7383 - [`fb94f03`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fb94f037352979b435596bda26aaad0cb64c9a5a) fix(conversation): explain active Scene reply restrictions (#7383) - [`6e2ff4d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6e2ff4de239e33c20618b86a8e7dfc878de24a21) test(scene): retain unavailable event assertion ### 📊 Changes **7 files changed** (+238 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) ➕ `e2e/scene-blocked-feedback.e2e.ts` (+102 -0) 📝 `packages/client/src/hooks/use-generate.ts` (+7 -3) 📝 `packages/client/src/localization/locales/en.json` (+3 -0) 📝 `packages/server/src/routes/generate.routes.ts` (+21 -2) 📝 `packages/server/src/routes/generate/conversation-presence-runtime.ts` (+11 -3) 📝 `scripts/regressions/scene-participants.regression.ts` (+92 -2) </details> ### 📄 Description ## Linked issue Refs #7383. This fixes misleading feedback only; the request to restore simultaneous conversation remains open. ## Why this change Scene participants cannot reply in their source Conversation, but the current notice says they are offline while their presence indicator may remain green. Users need the actual reason and a way to resume conversation. ## What changed - Distinguish active Scene participation from actual offline presence in generation feedback. - Explain that ending or abandoning the Scene resumes source-Conversation replies. - Preserve current participant eligibility and presence indicators. ## Validation - [ ] `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 Automated validation is complete; these checks were agent-run, not human attestations. Manually verify the Scene-blocked notice for normal replies, Continue and group replies, and verify genuine offline notices remain accurate. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) [Six screenshot fixtures: 390, 768 and 1440 px in light/dark mode](https://gist.github.com/Gunterlie/464e3c0e591eb8691559855f752e31da). Download the standalone HTML from the gist and open it to view the embedded PNGs. Synthetic data only; screenshots are not committed to the repository. ## Proof - `pnpm check` passed, including production builds; it reports an existing `serverRun` hook-dependency warning in the untouched `HomeProfessorMariChat.tsx`. - `pnpm regression:prompt` passed. - `node scripts/run-regressions.mjs --filter scene-participants` passed, including source-Conversation rejection, merged replies, genuine offline presence and colliding display names with different blocking reasons. - `pnpm exec playwright test e2e/scene-blocked-feedback.e2e.ts --project=desktop-chromium --workers=1` passed all six viewport/theme cases with the actual source-chat gate and the reason-less offline-event fallback; screenshots were inspected. - `pnpm smoke:ui` passed all seven cases. - Final localization, e2e TypeScript and focused formatting checks passed. - Two local CodeRabbit reviews completed. Fixed the shared-name reason classification, strengthened the assertion against a second incorrect offline toast, and shortened the localized notices. No substantive local findings remain; the reviews did produce findings. - Maintainer review of the final diff: response eligibility, regeneration/impersonation exemptions and Scene lifecycle are preserved. The new reason is additive on the existing event so older reason-less events still render normally. Proof limits: no local Docker run, paid-provider generation or physical-mobile test. The six browser cases use Chromium at different viewport sizes; they are not a WebKit/device matrix. GitHub CI and hosted review remain merge gates. #7383 stays open for the separate decision about simultaneous manual conversation. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Conversation notices now explain when a character can’t reply because they’re participating in an active Scene, instead of incorrectly saying they’re offline. * When a conversation includes both Scene participants and offline characters, each group receives the appropriate notice, even if characters share a display name. * Notices use distinct icons to help distinguish characters who are busy in a Scene from those who are offline. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:06:45 +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#7711
No description provided.