[PR #4108] [MERGED] Resolve the remaining open Engine issues #6235

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

📋 Pull Request Information

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

Base: staging ← Head: fix/issue-sweep-4098-4107


📝 Commits (6)

  • 1bd49bb Start open issue sweep
  • 0fe0b63 Resolve remaining Engine issue sweep
  • 8cf2f75 Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-4098-4107
  • 0b1e0db Apply CodeRabbit issue-sweep review
  • dfa46e0 Address remaining CodeRabbit review notes
  • 64ad4ea Harden agent lorebook trigger overrides

📊 Changes

32 files changed (+1560 additions, -55 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+163 -0)
📝 packages/client/src/components/agents/AgentEditor.tsx (+50 -7)
📝 packages/client/src/components/characters/ConvoProfileFields.tsx (+39 -37)
📝 packages/client/src/components/chat/ChatArea.tsx (+2 -0)
📝 packages/client/src/components/chat/ConversationView.tsx (+2 -0)
📝 packages/client/src/components/connections/ConnectionEditor.tsx (+3 -0)
📝 packages/client/src/components/game/GameNarration.tsx (+24 -0)
📝 packages/client/src/components/layout/AppShell.tsx (+8 -0)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+29 -0)
➕ packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx (+299 -0)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+0 -1)
📝 packages/client/src/components/ui/GenerationParametersEditor.tsx (+60 -2)
📝 packages/client/src/components/ui/KaomojiPicker.tsx (+13 -3)
📝 packages/client/src/features/chat-settings/sections/AdvancedParametersSection.tsx (+4 -0)
➕ packages/client/src/hooks/use-custom-generation-parameters.ts (+41 -0)
➕ packages/client/src/hooks/use-visual-viewport-chat-bottom.ts (+57 -0)
📝 packages/client/src/localization/locales/en.json (+35 -2)
📝 packages/server/src/routes/app-settings.routes.ts (+7 -1)
📝 packages/server/src/routes/generate.routes.ts (+59 -2)
📝 packages/server/src/routes/generate/generate-route-utils.ts (+5 -0)

...and 12 more files

📄 Description

Why

Seven user-facing issues remained across editor copy, desktop popover interaction, mobile viewport anchoring, Persona prompt behavior, custom-agent lorebook retrieval, and reusable provider parameters. This sweep resolves them together against staging while keeping their acceptance criteria covered by regression proof.

A new issue, #4110, appeared during the sweep. It already had the focused contributor PR #4109, which passed CI and CodeRabbit with no actionable comments; #4109 has been merged into staging instead of duplicating that work here.

Scope

  • Render real typographic quotes in Character and Persona color previews.
  • Keep the Kaomoji picker open while its native scrollbar is used and apply chat chroma colors.
  • Preserve the latest visible messages when Android Firefox changes the visual viewport for the software keyboard.
  • Let custom agents opt into keyword and semantic lorebook retrieval from their own context, including the current assistant reply for post-processing agents.
  • Remove Persona Convo Behavior from the editor and prompt while preserving legacy import/export data.
  • Remove unintended Assistant Prefill example indentation.
  • Add reusable numeric provider parameters across Advanced Settings, Chat Settings, Connection defaults, persistence, validation, and outgoing model requests.

Resolves #4098
Resolves #4099
Resolves #4103
Resolves #4104
Resolves #4105
Resolves #4106
Resolves #4107

Automated evidence

  • pnpm check — passed.
  • pnpm localization:check — passed.
  • pnpm regression:issues — passed.
  • pnpm regression:prompt — passed.
  • pnpm smoke:ui — 130 passed, 68 viewport-specific skips, 0 failed.
  • Focused Playwright coverage passed for reusable parameters, mobile keyboard anchoring, and Kaomoji scrollbar/chroma behavior.

The existing Noodle hook lint warning is unchanged by this PR.

Validation plan

  • Run pnpm check.
  • Run pnpm localization:check.
  • Run pnpm regression:issues.
  • Run pnpm regression:prompt.
  • Run pnpm smoke:ui.
  • Manually verify affected desktop and mobile UI in dark and light themes.

All validation boxes are intentionally left unchecked for human review.

Summary by CodeRabbit

  • New Features
    • Added “Custom Generation Parameters” to Advanced Settings (create/edit/delete, validation, tooltips) with per-chat enablement.
    • Custom agents can now optionally trigger lorebook context during agent calls.
  • Bug Fixes
    • Improved mobile chat scrolling to keep the latest messages visible during visual viewport/keyboard changes.
    • Conversation “convo behavior” controls now appear only for character editors.
    • Enhanced Kaomoji picker interactions and styling; narration panel stays in view when the keyboard opens.
  • Tests
    • Expanded end-to-end coverage for custom parameters, Kaomoji picker behavior, and mobile viewport scrolling.

🔄 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/4108 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/25/2026 **Status:** ✅ Merged **Merged:** 7/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/issue-sweep-4098-4107` --- ### 📝 Commits (6) - [`1bd49bb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1bd49bbe989ae294e06be7ec7852f92187255130) Start open issue sweep - [`0fe0b63`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0fe0b63d3d08a1863b340d7c7b9105ea16cdecf7) Resolve remaining Engine issue sweep - [`8cf2f75`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8cf2f758a2ba4f9ecdd2b42c4dc3e5d3db9929ce) Merge remote-tracking branch 'origin/staging' into fix/issue-sweep-4098-4107 - [`0b1e0db`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0b1e0dbd867c3293ef09798edc9cdd222f18370e) Apply CodeRabbit issue-sweep review - [`dfa46e0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/dfa46e08b6a936b6f227dfc31c817a1d4c61a7c5) Address remaining CodeRabbit review notes - [`64ad4ea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/64ad4eabff4dc95e7f36629ebe555256d0b58d87) Harden agent lorebook trigger overrides ### 📊 Changes **32 files changed** (+1560 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+163 -0) 📝 `packages/client/src/components/agents/AgentEditor.tsx` (+50 -7) 📝 `packages/client/src/components/characters/ConvoProfileFields.tsx` (+39 -37) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+2 -0) 📝 `packages/client/src/components/chat/ConversationView.tsx` (+2 -0) 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+3 -0) 📝 `packages/client/src/components/game/GameNarration.tsx` (+24 -0) 📝 `packages/client/src/components/layout/AppShell.tsx` (+8 -0) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+29 -0) ➕ `packages/client/src/components/panels/settings/CustomGenerationParametersSettings.tsx` (+299 -0) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+0 -1) 📝 `packages/client/src/components/ui/GenerationParametersEditor.tsx` (+60 -2) 📝 `packages/client/src/components/ui/KaomojiPicker.tsx` (+13 -3) 📝 `packages/client/src/features/chat-settings/sections/AdvancedParametersSection.tsx` (+4 -0) ➕ `packages/client/src/hooks/use-custom-generation-parameters.ts` (+41 -0) ➕ `packages/client/src/hooks/use-visual-viewport-chat-bottom.ts` (+57 -0) 📝 `packages/client/src/localization/locales/en.json` (+35 -2) 📝 `packages/server/src/routes/app-settings.routes.ts` (+7 -1) 📝 `packages/server/src/routes/generate.routes.ts` (+59 -2) 📝 `packages/server/src/routes/generate/generate-route-utils.ts` (+5 -0) _...and 12 more files_ </details> ### 📄 Description ## Why Seven user-facing issues remained across editor copy, desktop popover interaction, mobile viewport anchoring, Persona prompt behavior, custom-agent lorebook retrieval, and reusable provider parameters. This sweep resolves them together against staging while keeping their acceptance criteria covered by regression proof. A new issue, #4110, appeared during the sweep. It already had the focused contributor PR #4109, which passed CI and CodeRabbit with no actionable comments; #4109 has been merged into staging instead of duplicating that work here. ## Scope - Render real typographic quotes in Character and Persona color previews. - Keep the Kaomoji picker open while its native scrollbar is used and apply chat chroma colors. - Preserve the latest visible messages when Android Firefox changes the visual viewport for the software keyboard. - Let custom agents opt into keyword and semantic lorebook retrieval from their own context, including the current assistant reply for post-processing agents. - Remove Persona Convo Behavior from the editor and prompt while preserving legacy import/export data. - Remove unintended Assistant Prefill example indentation. - Add reusable numeric provider parameters across Advanced Settings, Chat Settings, Connection defaults, persistence, validation, and outgoing model requests. Resolves #4098 Resolves #4099 Resolves #4103 Resolves #4104 Resolves #4105 Resolves #4106 Resolves #4107 ## Automated evidence - `pnpm check` — passed. - `pnpm localization:check` — passed. - `pnpm regression:issues` — passed. - `pnpm regression:prompt` — passed. - `pnpm smoke:ui` — 130 passed, 68 viewport-specific skips, 0 failed. - Focused Playwright coverage passed for reusable parameters, mobile keyboard anchoring, and Kaomoji scrollbar/chroma behavior. The existing Noodle hook lint warning is unchanged by this PR. ## Validation plan - [ ] Run `pnpm check`. - [ ] Run `pnpm localization:check`. - [ ] Run `pnpm regression:issues`. - [ ] Run `pnpm regression:prompt`. - [ ] Run `pnpm smoke:ui`. - [ ] Manually verify affected desktop and mobile UI in dark and light themes. All validation boxes are intentionally left unchecked for human review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added “Custom Generation Parameters” to Advanced Settings (create/edit/delete, validation, tooltips) with per-chat enablement. * Custom agents can now optionally trigger lorebook context during agent calls. * **Bug Fixes** * Improved mobile chat scrolling to keep the latest messages visible during visual viewport/keyboard changes. * Conversation “convo behavior” controls now appear only for character editors. * Enhanced Kaomoji picker interactions and styling; narration panel stays in view when the keyboard opens. * **Tests** * Expanded end-to-end coverage for custom parameters, Kaomoji picker behavior, and mobile viewport scrolling. <!-- 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:08:26 +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#6235
No description provided.