[PR #2841] [MERGED] Prepare v2.0.4 stabilization polish #5764

Closed
opened 2026-10-22 04:19:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2841
Author: @SpicyMarinara
Created: 6/23/2026
Status: ✅ Merged
Merged: 6/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/v2.0.4-release-polish


📝 Commits (1)

  • d0d043c Prepare v2.0.4 stabilization polish

📊 Changes

39 files changed (+777 additions, -157 deletions)

View changed files

📝 CHANGELOG.md (+11 -0)
📝 packages/client/src/components/bot-browser/BotBrowserView.tsx (+19 -12)
📝 packages/client/src/components/chat/ChatArea.tsx (+4 -9)
📝 packages/client/src/components/chat/ChatGallery.tsx (+11 -2)
📝 packages/client/src/components/chat/ChatImageLightbox.tsx (+8 -2)
📝 packages/client/src/components/chat/ChatRoleplayPanels.tsx (+16 -1)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+26 -13)
📝 packages/client/src/components/chat/ChatSetupWizard.tsx (+18 -7)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+2 -10)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+3 -11)
📝 packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx (+6 -3)
📝 packages/client/src/components/game/GameSetupWizard.tsx (+12 -0)
📝 packages/client/src/components/game/GameSurface.tsx (+42 -5)
📝 packages/client/src/components/game/GameWidgetSetupEditor.tsx (+124 -2)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+1 -0)
📝 packages/client/src/components/lorebooks/LorebookEntryRow.tsx (+4 -4)
📝 packages/client/src/components/lorebooks/LorebookFormFields.tsx (+3 -1)
📝 packages/client/src/components/panels/CharactersPanel.tsx (+46 -34)
📝 packages/client/src/components/panels/LorebooksPanel.tsx (+14 -9)
📝 packages/client/src/hooks/use-game.ts (+6 -1)

...and 19 more files

📄 Description

Linked issue

No single linked issue; this is the v2.0.4 stabilization/release polish batch requested by the maintainer.

Why this change

  • v2.0.4 needs the remaining stabilization fixes gathered into staging before release preparation.
  • Several fixes protect user data and restore expected behavior across chat agents, lorebooks, pinned gallery images, game NPC portraits, and library filters.

What changed

  • Added Game HUD widget import/export controls in Chat Settings and the Game Setup Wizard.
  • Persisted pinned chat gallery images and fixed pinning from the full image lightbox.
  • Restored legacy group-chat lookup for the old Professor Mari card while keeping the home-page assistant out of expression/game avatar matching.
  • Removed remaining reliance on the old global agent enabled flag so chat-scoped agent activation works normally.
  • Made lorebook recursion opt-in by default, added click-away keyword commits, and cached the actual lorebook scan used by the last generation for Active Context.
  • Persisted Characters and Lorebooks panel search/filter/sort state while moving into and out of editors.
  • Passed Game mode generated NPC descriptions into portrait prompt generation.
  • Updated CHANGELOG.md for the v2.0.4 release batch.

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/local validation run by Codex: git diff --check, conflict-marker scan with rg, pnpm version:check, and pnpm check.
  • Browser/manual verification still needs maintainer pass before release tagging.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not captured in this pass; maintainer browser verification recommended for the UI paths.

Summary by CodeRabbit

  • New Features

    • Added widget import/export controls for reusing Game Mode HUD layouts between games in Chat Settings and Game Setup Wizard.
    • Image pinning now persists across sessions.
  • Bug Fixes

    • Fixed character card resolution with avatar matching in legacy group chats.
    • Fixed agent activation regressions and Active Context lorebook caching.
    • Fixed lorebook recursion defaults and keyword-based entry filtering.
    • Fixed NPC portrait availability and persistence in Game Mode.
    • Fixed Chat Settings persistence for widgets, image pins, and panel filters.

🔄 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/2841 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 6/23/2026 **Status:** ✅ Merged **Merged:** 6/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/v2.0.4-release-polish` --- ### 📝 Commits (1) - [`d0d043c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d0d043c599d219c8eb201af80597de3d8ad352c4) Prepare v2.0.4 stabilization polish ### 📊 Changes **39 files changed** (+777 additions, -157 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+11 -0) 📝 `packages/client/src/components/bot-browser/BotBrowserView.tsx` (+19 -12) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+4 -9) 📝 `packages/client/src/components/chat/ChatGallery.tsx` (+11 -2) 📝 `packages/client/src/components/chat/ChatImageLightbox.tsx` (+8 -2) 📝 `packages/client/src/components/chat/ChatRoleplayPanels.tsx` (+16 -1) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+26 -13) 📝 `packages/client/src/components/chat/ChatSetupWizard.tsx` (+18 -7) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+2 -10) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+3 -11) 📝 `packages/client/src/components/chat/RoleplayHUDActionsMenu.tsx` (+6 -3) 📝 `packages/client/src/components/game/GameSetupWizard.tsx` (+12 -0) 📝 `packages/client/src/components/game/GameSurface.tsx` (+42 -5) 📝 `packages/client/src/components/game/GameWidgetSetupEditor.tsx` (+124 -2) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+1 -0) 📝 `packages/client/src/components/lorebooks/LorebookEntryRow.tsx` (+4 -4) 📝 `packages/client/src/components/lorebooks/LorebookFormFields.tsx` (+3 -1) 📝 `packages/client/src/components/panels/CharactersPanel.tsx` (+46 -34) 📝 `packages/client/src/components/panels/LorebooksPanel.tsx` (+14 -9) 📝 `packages/client/src/hooks/use-game.ts` (+6 -1) _...and 19 more files_ </details> ### 📄 Description ## Linked issue No single linked issue; this is the v2.0.4 stabilization/release polish batch requested by the maintainer. ## Why this change - v2.0.4 needs the remaining stabilization fixes gathered into staging before release preparation. - Several fixes protect user data and restore expected behavior across chat agents, lorebooks, pinned gallery images, game NPC portraits, and library filters. ## What changed - Added Game HUD widget import/export controls in Chat Settings and the Game Setup Wizard. - Persisted pinned chat gallery images and fixed pinning from the full image lightbox. - Restored legacy group-chat lookup for the old Professor Mari card while keeping the home-page assistant out of expression/game avatar matching. - Removed remaining reliance on the old global agent enabled flag so chat-scoped agent activation works normally. - Made lorebook recursion opt-in by default, added click-away keyword commits, and cached the actual lorebook scan used by the last generation for Active Context. - Persisted Characters and Lorebooks panel search/filter/sort state while moving into and out of editors. - Passed Game mode generated NPC descriptions into portrait prompt generation. - Updated CHANGELOG.md for the v2.0.4 release batch. ## 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/local validation run by Codex: `git diff --check`, conflict-marker scan with `rg`, `pnpm version:check`, and `pnpm check`. - Browser/manual verification still needs maintainer pass before release tagging. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not captured in this pass; maintainer browser verification recommended for the UI paths. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added widget import/export controls for reusing Game Mode HUD layouts between games in Chat Settings and Game Setup Wizard. * Image pinning now persists across sessions. * **Bug Fixes** * Fixed character card resolution with avatar matching in legacy group chats. * Fixed agent activation regressions and Active Context lorebook caching. * Fixed lorebook recursion defaults and keyword-based entry filtering. * Fixed NPC portrait availability and persistence in Game Mode. * Fixed Chat Settings persistence for widgets, image pins, and panel filters. <!-- 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-22 04:19:17 +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#5764
No description provided.