[PR #3574] [MERGED] Fix chat, weather, media, and mobile regressions #5997

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3574
Author: @SpicyMarinara
Created: 7/13/2026
Status: ✅ Merged
Merged: 7/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/fix-3563-3573-experience-regressions


📝 Commits (3)

  • 35996d6 Fix chat, weather, media, and mobile regressions
  • a699183 Address CodeRabbit review feedback
  • ea8c31f Merge remote-tracking branch 'origin/staging' into agent/fix-3563-3573-experience-regressions

📊 Changes

44 files changed (+2103 additions, -919 deletions)

View changed files

📝 CHANGELOG.md (+10 -0)
📝 android/README.md (+3 -0)
📝 android/app/src/main/AndroidManifest.xml (+1 -0)
📝 android/app/src/main/java/com/marinara/engine/MainActivity.java (+114 -0)
➕ android/app/src/main/res/drawable/ic_notification.xml (+10 -0)
📝 android/build-apk.sh (+2 -2)
📝 docs/settings/settings-overview.md (+1 -1)
📝 packages/client/src/App.tsx (+26 -10)
📝 packages/client/src/components/chat/ChatArea.tsx (+17 -4)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+1 -0)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+24 -0)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+109 -12)
📝 packages/client/src/components/chat/RoleplayHUDPanels.tsx (+3 -2)
📝 packages/client/src/components/chat/TranscriptWindowControls.tsx (+14 -3)
📝 packages/client/src/components/chat/WeatherEffects.tsx (+137 -709)
📝 packages/client/src/components/game/GameSurface.tsx (+2 -0)
📝 packages/client/src/components/noodle/NoodleView.tsx (+43 -6)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+58 -27)
📝 packages/client/src/components/panels/settings/SettingControls.tsx (+63 -3)
📝 packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerCard.tsx (+14 -11)

...and 24 more files

📄 Description

Why

This patch collects the user-facing regressions and companion improvements reported during the post-2.2.1 testing pass. Weather particles stuttered badly alongside accent pulse animations, mobile clients consumed excessive battery, Android APK users could not receive native autonomous-message notifications, and several Roleplay, Echo Chamber, Noodle, tracker, media-generation, and autonomous Conversation paths behaved incorrectly.

The weather root cause was main-thread contention between canvas rendering and UI animation. The autonomous Conversation failure was a chain across candidate selection, sequential speaker scoping, wrong-speaker pruning, and OpenAI-compatible SSE parsing rather than one isolated scheduler fault.

What changed

  • Move weather particle rendering to an OffscreenCanvas worker where supported, retain a main-thread fallback, share the render clock, cap DPR/pixel work, and reduce mobile/background activity.
  • Restore Echo Chamber's randomized 10–30 second message delivery, prevent stale chat writes, add mouse/touch resizing, correct bottom-corner controls, and apply chroma-aware navigation styling.
  • Open Roleplay chats at the latest history position.
  • Add native Android notification permission and bridge delivery, including the APK notification icon and build-script compatibility fix.
  • Normalize structured tracker values to prevent Present Characters crashes.
  • Let users inspect Noodle poll voter identities.
  • Introduce Overall Generations settings, extend queued media generation to video, and expose the generation-settings hint beside Conversation Selfies.
  • Make autonomous group Conversation selection fall through blocked candidates, enforce sequential target-speaker scope, preserve valid target output, and recover final-message content from OpenAI-compatible SSE responses.
  • Add regression coverage and update the Unreleased changelog.

Issues

Resolves #3563
Resolves #3566
Resolves #3567
Resolves #3572
Resolves #3573

Validation

  • pnpm check
  • pnpm version:check
  • pnpm regression:prompt
  • pnpm regression:roleplay
  • pnpm regression:providers
  • pnpm regression:issues
  • pnpm smoke:ui — 36 passed, 24 project-configured skips
  • Android debug APK compilation completed successfully during implementation.
  • git diff --check

Manual review checklist

  • Manually verify weather particles remain smooth with accent pulse enabled in foreground Firefox on macOS.
  • Manually verify Echo Chamber resize handles, corner orientation, wrapping, and randomized delivery on desktop and touch hardware.
  • Manually verify the Android notification permission prompt and background notification delivery on a physical device.
  • Manually verify mobile battery and thermal behavior during an extended foreground session.
  • Manually verify sequential autonomous multi-character Conversation turns against a configured OpenAI-compatible gateway.

Risk notes

The weather worker has a feature-detected main-thread fallback. Android notification and battery behavior still require physical-device confirmation. Provider compatibility is covered with a real local SSE endpoint, including empty metadata frames and final message.content recovery.

Summary by CodeRabbit

  • New Features

    • Added native Android notifications for background Conversation replies, with separate browser and mobile notification controls.
    • Added voter visibility controls to Noodle polls.
    • Added an Overall Generations settings group and direct access to generation settings from Selfies.
    • Added resizable Echo Chamber panels and more varied message reveal timing.
  • Bug Fixes

    • Improved streamed response recovery, autonomous exchanges, roleplay history controls, tracker display, and media-generation attribution.
  • Performance

    • Weather effects now use background rendering where supported and adapt to device resource limits.

🔄 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/3574 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/13/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fix-3563-3573-experience-regressions` --- ### 📝 Commits (3) - [`35996d6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/35996d6da038c7c6f7d69da2ec3f4c78ce8b3e82) Fix chat, weather, media, and mobile regressions - [`a699183`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a699183453865dae94812c44027a9f3b506b7f66) Address CodeRabbit review feedback - [`ea8c31f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ea8c31f42cfd2fec7d3b16e57b0770b9a4a68905) Merge remote-tracking branch 'origin/staging' into agent/fix-3563-3573-experience-regressions ### 📊 Changes **44 files changed** (+2103 additions, -919 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+10 -0) 📝 `android/README.md` (+3 -0) 📝 `android/app/src/main/AndroidManifest.xml` (+1 -0) 📝 `android/app/src/main/java/com/marinara/engine/MainActivity.java` (+114 -0) ➕ `android/app/src/main/res/drawable/ic_notification.xml` (+10 -0) 📝 `android/build-apk.sh` (+2 -2) 📝 `docs/settings/settings-overview.md` (+1 -1) 📝 `packages/client/src/App.tsx` (+26 -10) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+17 -4) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+1 -0) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+24 -0) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+109 -12) 📝 `packages/client/src/components/chat/RoleplayHUDPanels.tsx` (+3 -2) 📝 `packages/client/src/components/chat/TranscriptWindowControls.tsx` (+14 -3) 📝 `packages/client/src/components/chat/WeatherEffects.tsx` (+137 -709) 📝 `packages/client/src/components/game/GameSurface.tsx` (+2 -0) 📝 `packages/client/src/components/noodle/NoodleView.tsx` (+43 -6) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+58 -27) 📝 `packages/client/src/components/panels/settings/SettingControls.tsx` (+63 -3) 📝 `packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerCard.tsx` (+14 -11) _...and 24 more files_ </details> ### 📄 Description ## Why This patch collects the user-facing regressions and companion improvements reported during the post-2.2.1 testing pass. Weather particles stuttered badly alongside accent pulse animations, mobile clients consumed excessive battery, Android APK users could not receive native autonomous-message notifications, and several Roleplay, Echo Chamber, Noodle, tracker, media-generation, and autonomous Conversation paths behaved incorrectly. The weather root cause was main-thread contention between canvas rendering and UI animation. The autonomous Conversation failure was a chain across candidate selection, sequential speaker scoping, wrong-speaker pruning, and OpenAI-compatible SSE parsing rather than one isolated scheduler fault. ## What changed - Move weather particle rendering to an OffscreenCanvas worker where supported, retain a main-thread fallback, share the render clock, cap DPR/pixel work, and reduce mobile/background activity. - Restore Echo Chamber's randomized 10–30 second message delivery, prevent stale chat writes, add mouse/touch resizing, correct bottom-corner controls, and apply chroma-aware navigation styling. - Open Roleplay chats at the latest history position. - Add native Android notification permission and bridge delivery, including the APK notification icon and build-script compatibility fix. - Normalize structured tracker values to prevent Present Characters crashes. - Let users inspect Noodle poll voter identities. - Introduce Overall Generations settings, extend queued media generation to video, and expose the generation-settings hint beside Conversation Selfies. - Make autonomous group Conversation selection fall through blocked candidates, enforce sequential target-speaker scope, preserve valid target output, and recover final-message content from OpenAI-compatible SSE responses. - Add regression coverage and update the Unreleased changelog. ## Issues Resolves #3563 Resolves #3566 Resolves #3567 Resolves #3572 Resolves #3573 ## Validation - `pnpm check` - `pnpm version:check` - `pnpm regression:prompt` - `pnpm regression:roleplay` - `pnpm regression:providers` - `pnpm regression:issues` - `pnpm smoke:ui` — 36 passed, 24 project-configured skips - Android debug APK compilation completed successfully during implementation. - `git diff --check` ## Manual review checklist - [ ] Manually verify weather particles remain smooth with accent pulse enabled in foreground Firefox on macOS. - [ ] Manually verify Echo Chamber resize handles, corner orientation, wrapping, and randomized delivery on desktop and touch hardware. - [ ] Manually verify the Android notification permission prompt and background notification delivery on a physical device. - [ ] Manually verify mobile battery and thermal behavior during an extended foreground session. - [ ] Manually verify sequential autonomous multi-character Conversation turns against a configured OpenAI-compatible gateway. ## Risk notes The weather worker has a feature-detected main-thread fallback. Android notification and battery behavior still require physical-device confirmation. Provider compatibility is covered with a real local SSE endpoint, including empty metadata frames and final `message.content` recovery. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added native Android notifications for background Conversation replies, with separate browser and mobile notification controls. * Added voter visibility controls to Noodle polls. * Added an Overall Generations settings group and direct access to generation settings from Selfies. * Added resizable Echo Chamber panels and more varied message reveal timing. * **Bug Fixes** * Improved streamed response recovery, autonomous exchanges, roleplay history controls, tracker display, and media-generation attribution. * **Performance** * Weather effects now use background rendering where supported and adapt to device resource limits. <!-- 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-23 04:06:03 +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#5997
No description provided.