[PR #3516] [MERGED] Fix current issue queue across Windows, lorebooks, conversation, games, emoji, and Illustrator #5974

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

📋 Pull Request Information

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

Base: staging ← Head: fix/issues-3484-3515


📝 Commits (3)

  • d92e269 chore: start issues 3484 and 3511-3515
  • d106263 fix: resolve issues 3484 and 3511-3515
  • baa4e5d fix: restore illustrator default and address review

📊 Changes

26 files changed (+806 additions, -245 deletions)

View changed files

📝 CHANGELOG.md (+7 -0)
📝 e2e/core-flows.e2e.ts (+75 -0)
📝 packages/client/src/components/chat/ConversationInput.tsx (+36 -18)
📝 packages/client/src/components/chat/ConversationMessage.tsx (+3 -2)
📝 packages/client/src/components/chat/ConversationMessageShared.tsx (+4 -4)
📝 packages/client/src/components/lorebooks/LorebookEditor.tsx (+87 -13)
📝 packages/client/src/hooks/use-lorebooks.ts (+41 -16)
📝 packages/client/src/lib/custom-emoji-render.tsx (+22 -14)
➕ packages/client/src/lib/emoji-shortcodes.ts (+88 -0)
📝 packages/server/src/routes/generate/conversation-custom-assets.ts (+9 -25)
📝 packages/server/src/routes/generate/conversation-history-runtime.ts (+17 -9)
📝 packages/server/src/routes/lorebooks.routes.ts (+15 -0)
📝 packages/server/src/services/agents/default-prompt-migration.ts (+22 -2)
📝 packages/server/src/services/generation/conversation-react-command-runtime.ts (+7 -6)
📝 packages/server/src/services/lorebook/keyword-scanner.ts (+1 -5)
📝 packages/server/src/services/storage/lorebooks.storage.ts (+35 -7)
📝 packages/shared/src/features/agents/illustrator/manifest.ts (+0 -1)
📝 packages/shared/src/features/turn-games/uno/engine.ts (+33 -44)
📝 packages/shared/src/features/turn-games/uno/tools.ts (+15 -3)
📝 packages/shared/src/schemas/lorebook.schema.ts (+26 -11)

...and 6 more files

📄 Description

Why

This PR resolves the complete open issue queue identified for this pass: a Windows uninstaller data-loss risk, unreachable semantic Lorebook matching for keyed entries, weak UNO Wild color guidance, missing Lorebook batch editing, incorrect Conversation speaker grouping, missing standard emoji shortcodes/autocomplete, and Illustrator incorrectly defaulting existing roleplay chats to the Background prompt.

Closes #3484
Closes #3511
Closes #3512
Closes #3513
Closes #3514
Closes #3515
Closes #3517

What changed

  • preserves current and legacy user-data layouts before Windows application cleanup, restores kept data, handles interrupted preserved-data folders, and validates plus compiles the NSIS source
  • allows vector similarity to activate keyed Lorebook entries when keyword matching misses while retaining thresholds and selection gates
  • gives UNO bots remaining-hand color counts and explicit Wild declaration strategy
  • adds atomic batch updates for selected Lorebook entry boolean settings through the existing Select toolbar
  • attributes the unprefixed leading block of a partially prefixed Conversation reply to its saved assistant character, keeping reactions aligned
  • renders Discord-style standard emoji names and merges standard Unicode emoji into Conversation autocomplete alongside custom emoji
  • restores Illustrator's Illustration/Default prompt as the default and applies a one-time migration to repair the accidental stored Background default without overriding later explicit choices
  • applies CodeRabbit's first review suggestions and adds matching regressions
  • records the behavior changes in the v2.2.0 changelog

Automated validation run

  • pnpm check
  • pnpm test
  • pnpm regression:issues
  • pnpm regression:prompt
  • pnpm regression:emoji
  • node scripts/check-windows-installer-layout.mjs
  • makensis -V3 installer.nsi from a disposable copy
  • serial Playwright: selected Lorebook batch update
  • serial Playwright: Conversation standard emoji render and autocomplete

Maintainer verification

  • Manually verify uninstall keep-data and delete-data choices on a disposable Windows installation.
  • Manually verify the batch setting toolbar with a large imported Lorebook.
  • Manually verify standard and custom emoji suggestions together in an existing Conversation.
  • Manually verify an existing affected roleplay chat now uses Illustrator's Illustration prompt and still permits explicitly selecting Background.

Validation boxes intentionally remain unchecked for maintainer verification.

Summary by CodeRabbit

  • New Features
    • Batch-edit settings across multiple Lorebook entries at once.
    • Use standard Discord-style emoji shortcodes with autocomplete in conversations.
  • Bug Fixes
    • Improved Conversation rendering and reaction attribution for partially speaker-prefixed replies.
    • Semantic Lorebook search now falls back to similarity matching when keywords miss.
    • Corrected Illustrator default prompt behavior after updates.
    • Improved Windows uninstall handling for preserving or deleting user data safely.
    • Updated UNO guidance to show remaining color counts and favor the strongest available color.

🔄 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/3516 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/12/2026 **Status:** ✅ Merged **Merged:** 7/12/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/issues-3484-3515` --- ### 📝 Commits (3) - [`d92e269`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d92e26930731e5c290b264a40976e35497500389) chore: start issues 3484 and 3511-3515 - [`d106263`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d106263449884b7ed44af643df4f29d5bbfa6b38) fix: resolve issues 3484 and 3511-3515 - [`baa4e5d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/baa4e5d59abf77ae1c3ff012bd19ffced6d3a46f) fix: restore illustrator default and address review ### 📊 Changes **26 files changed** (+806 additions, -245 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+7 -0) 📝 `e2e/core-flows.e2e.ts` (+75 -0) 📝 `packages/client/src/components/chat/ConversationInput.tsx` (+36 -18) 📝 `packages/client/src/components/chat/ConversationMessage.tsx` (+3 -2) 📝 `packages/client/src/components/chat/ConversationMessageShared.tsx` (+4 -4) 📝 `packages/client/src/components/lorebooks/LorebookEditor.tsx` (+87 -13) 📝 `packages/client/src/hooks/use-lorebooks.ts` (+41 -16) 📝 `packages/client/src/lib/custom-emoji-render.tsx` (+22 -14) ➕ `packages/client/src/lib/emoji-shortcodes.ts` (+88 -0) 📝 `packages/server/src/routes/generate/conversation-custom-assets.ts` (+9 -25) 📝 `packages/server/src/routes/generate/conversation-history-runtime.ts` (+17 -9) 📝 `packages/server/src/routes/lorebooks.routes.ts` (+15 -0) 📝 `packages/server/src/services/agents/default-prompt-migration.ts` (+22 -2) 📝 `packages/server/src/services/generation/conversation-react-command-runtime.ts` (+7 -6) 📝 `packages/server/src/services/lorebook/keyword-scanner.ts` (+1 -5) 📝 `packages/server/src/services/storage/lorebooks.storage.ts` (+35 -7) 📝 `packages/shared/src/features/agents/illustrator/manifest.ts` (+0 -1) 📝 `packages/shared/src/features/turn-games/uno/engine.ts` (+33 -44) 📝 `packages/shared/src/features/turn-games/uno/tools.ts` (+15 -3) 📝 `packages/shared/src/schemas/lorebook.schema.ts` (+26 -11) _...and 6 more files_ </details> ### 📄 Description ## Why This PR resolves the complete open issue queue identified for this pass: a Windows uninstaller data-loss risk, unreachable semantic Lorebook matching for keyed entries, weak UNO Wild color guidance, missing Lorebook batch editing, incorrect Conversation speaker grouping, missing standard emoji shortcodes/autocomplete, and Illustrator incorrectly defaulting existing roleplay chats to the Background prompt. Closes #3484 Closes #3511 Closes #3512 Closes #3513 Closes #3514 Closes #3515 Closes #3517 ## What changed - preserves current and legacy user-data layouts before Windows application cleanup, restores kept data, handles interrupted preserved-data folders, and validates plus compiles the NSIS source - allows vector similarity to activate keyed Lorebook entries when keyword matching misses while retaining thresholds and selection gates - gives UNO bots remaining-hand color counts and explicit Wild declaration strategy - adds atomic batch updates for selected Lorebook entry boolean settings through the existing Select toolbar - attributes the unprefixed leading block of a partially prefixed Conversation reply to its saved assistant character, keeping reactions aligned - renders Discord-style standard emoji names and merges standard Unicode emoji into Conversation autocomplete alongside custom emoji - restores Illustrator's Illustration/Default prompt as the default and applies a one-time migration to repair the accidental stored Background default without overriding later explicit choices - applies CodeRabbit's first review suggestions and adds matching regressions - records the behavior changes in the v2.2.0 changelog ## Automated validation run - `pnpm check` - `pnpm test` - `pnpm regression:issues` - `pnpm regression:prompt` - `pnpm regression:emoji` - `node scripts/check-windows-installer-layout.mjs` - `makensis -V3 installer.nsi` from a disposable copy - serial Playwright: selected Lorebook batch update - serial Playwright: Conversation standard emoji render and autocomplete ## Maintainer verification - [ ] Manually verify uninstall keep-data and delete-data choices on a disposable Windows installation. - [ ] Manually verify the batch setting toolbar with a large imported Lorebook. - [ ] Manually verify standard and custom emoji suggestions together in an existing Conversation. - [ ] Manually verify an existing affected roleplay chat now uses Illustrator's Illustration prompt and still permits explicitly selecting Background. Validation boxes intentionally remain unchecked for maintainer verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Batch-edit settings across multiple Lorebook entries at once. * Use standard Discord-style emoji shortcodes with autocomplete in conversations. * **Bug Fixes** * Improved Conversation rendering and reaction attribution for partially speaker-prefixed replies. * Semantic Lorebook search now falls back to similarity matching when keywords miss. * Corrected Illustrator default prompt behavior after updates. * Improved Windows uninstall handling for preserving or deleting user data safely. * Updated UNO guidance to show remaining color counts and favor the strongest available color. <!-- 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:05:47 +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#5974
No description provided.