[PR #3246] [MERGED] [codex] Fix lorebook title collapse and NanoGPT reference cap #5862

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

📋 Pull Request Information

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

Base: staging ← Head: codex/3244-lorebook-title-collapse


📝 Commits (1)

  • e21109f fix: prevent lorebook title collapse

📊 Changes

3 files changed (+30 additions, -6 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 packages/client/src/components/lorebooks/LorebookEntryRow.tsx (+22 -1)
📝 packages/server/src/services/image/image-generation.ts (+6 -5)

📄 Description

Summary

  • Fixes lorebook entry rows collapsing when users click or edit the inline title field by ignoring header expand/collapse clicks that originate from row controls.
  • Caps NanoGPT image-generation reference payloads to three images, covering Qwen Image/edit-capable NanoGPT models that reject larger reference sets.
  • Updates the Unreleased changelog.

Fixes #3244

Validation

  • Manually verify an expanded lorebook entry stays expanded while clicking, typing, and blurring the title field on Windows/browser.
  • Manually verify a NanoGPT/Qwen Image request with more than three references succeeds or shows only three references in provider logs.
  • git diff --check
  • pnpm check

Notes

Local validation was run before opening this draft PR: git diff --check and pnpm check both passed. The manual rows above are left unchecked for reviewer verification.

Summary by CodeRabbit

  • Bug Fixes
    • Lorebook entry rows no longer collapse when editing the title or using controls in the row header.
    • NanoGPT image generation now limits reference images to three, matching service support.
    • Changelog updated to note the two fixes above.

🔄 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/3246 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/5/2026 **Status:** ✅ Merged **Merged:** 7/5/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/3244-lorebook-title-collapse` --- ### 📝 Commits (1) - [`e21109f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e21109f2a354a1a0d8aa22a2fb8749bbe31291ca) fix: prevent lorebook title collapse ### 📊 Changes **3 files changed** (+30 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `packages/client/src/components/lorebooks/LorebookEntryRow.tsx` (+22 -1) 📝 `packages/server/src/services/image/image-generation.ts` (+6 -5) </details> ### 📄 Description ## Summary - Fixes lorebook entry rows collapsing when users click or edit the inline title field by ignoring header expand/collapse clicks that originate from row controls. - Caps NanoGPT image-generation reference payloads to three images, covering Qwen Image/edit-capable NanoGPT models that reject larger reference sets. - Updates the Unreleased changelog. Fixes #3244 ## Validation - [ ] Manually verify an expanded lorebook entry stays expanded while clicking, typing, and blurring the title field on Windows/browser. - [ ] Manually verify a NanoGPT/Qwen Image request with more than three references succeeds or shows only three references in provider logs. - [ ] `git diff --check` - [ ] `pnpm check` ## Notes Local validation was run before opening this draft PR: `git diff --check` and `pnpm check` both passed. The manual rows above are left unchecked for reviewer verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Lorebook entry rows no longer collapse when editing the title or using controls in the row header. * NanoGPT image generation now limits reference images to three, matching service support. * Changelog updated to note the two fixes above. <!-- 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:20:16 +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#5862
No description provided.