[PR #8739] [MERGED] docs(lorebooks, prompts, appearance): rewrite lorebook, preset and appearance guides #8778

Closed
opened 2026-11-07 17:39:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8739
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @Gunterlie

Base: staging ← Head: docs/lorebooks-prompts-appearance-guides


📝 Commits (10+)

  • 65a0368 docs(lorebooks): rewrite overview as task-first guide, add Global switch, fix Entry Limit wording
  • e41ebe4 docs(lorebooks): rewrite entries guide, fix Position labels, add Fired sort and Include other lorebooks, cut about 56 percent
  • add7377 docs(lorebooks): rewrite import and export guide, add Markdown and CSV export and import
  • 04983c8 docs(lorebooks): rewrite linking guide with comparison table, fix disabled-button wording
  • 09ed176 docs(lorebooks): rewrite token budgets guide with tables and steps; fix scope label in linking guide
  • 5d7bbb1 docs(lorebooks): rewrite semantic search guide, fix Vectors help text, add Include character context, Embeddings job path
  • d7292ac docs(prompts): rewrite presets guide, add missing markers, fix Conversation and Game prompt controls
  • cc9998a docs(prompts): rewrite generation parameters guide, fix broken memory link and Chat defaults path, fix quoted labels
  • b052e6a docs(prompts): tighten macros guide intro, split dense decision paragraph into a list
  • e361be2 docs(prompts): rewrite preset variables guide with kinds table and answer steps, verify Random Pick and name rules

📊 Changes

17 files changed (+1124 additions, -1703 deletions)

View changed files

📝 docs/appearance/appearance-settings.md (+89 -83)
📝 docs/appearance/card-css-theming.md (+73 -215)
📝 docs/appearance/chat-backgrounds.md (+77 -73)
📝 docs/appearance/custom-css-themes.md (+75 -87)
📝 docs/appearance/fonts.md (+27 -32)
📝 docs/lorebooks/entries.md (+152 -349)
📝 docs/lorebooks/import-export.md (+41 -41)
📝 docs/lorebooks/linking-to-characters.md (+53 -54)
📝 docs/lorebooks/overview.md (+56 -72)
📝 docs/lorebooks/semantic-search.md (+45 -76)
📝 docs/lorebooks/token-budgets.md (+41 -44)
📝 docs/prompts/conditional-prompts.md (+119 -259)
📝 docs/prompts/generation-parameters.md (+84 -108)
📝 docs/prompts/macros.md (+19 -20)
📝 docs/prompts/preset-variables.md (+38 -40)
📝 docs/prompts/presets.md (+106 -108)
📝 docs/prompts/prompt-overrides.md (+29 -42)

📄 Description

Linked issue

Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara

Why this change

A new user following the lorebook guide created a lorebook with Category left at Other, then found the character picker empty (it lists only the Character category). The generation-parameters steps stopped before the Send switch, which is off by default for Temperature, so changes did nothing. The appearance guides gave a wrong Accent Color default, a 48 px font limit (it is 72), an old background picker, and said Conversation chats cannot show backgrounds (they can). entries.md was 6,300 words with 79 em dashes.

What changed

Three small categories in one PR (maintainer asked for fewer PRs).

  • lorebooks/entries.md: −54% words; exact button labels; tables turned into bullets; restored small rules (Outlet in all modes, Require on Constant entries, Sticky hold). Other lorebook guides −11% to −38%; Category Character in the create steps; where to type keys.
  • prompts/presets.md: assigning a preset first; numbered "Edit a section" ending with Save. generation-parameters.md: Send switch step, tuning tips first. conditional-prompts.md: −39%. Others −2% to −35%.
  • appearance/appearance-settings.md: "I want to…" pointers, App / Conversation / Roleplay / Game groups, new controls. chat-backgrounds.md: new picker and Background Library. fonts.md: Google Fonts and Open Fonts Folder first. CSS theme guides: trimmed, setup before steps.

Fact changes

  • Accent Color default is a gradient, not #d4acfb (packages/client/src/lib/css-colors.ts:1); Chat Font Size max 72 px (SettingsPanel.tsx:4365).
  • Uploaded background badge My upload, not "Library" (BackgroundPicker.tsx:802); picker is now a preview card plus Browse library → Background Library (Recent, favorites, folder chips, filters).
  • Chat backgrounds and Background Blur apply in Conversation too; the Conversation Theme gradient stays over the image, set by Conversation background image opacity (ConversationView.tsx:1278-1289). The Blur tooltip in the app still says Roleplay and Game only (stale).
  • Game dialogue labels Classic Dialogue Box / History Above Dialogue Box (SettingsPanel.tsx:603-611); Roleplay Messages → Roleplay Presentation; Accent Pulse defaults on for desktop.
  • Entry Position Before/After character definitions, not "Before/After chat" (LorebookEntryRow.tsx:954); buttons Duplicate entry, Delete entry, Clone folder, Delete folder, Entry quick controls.
  • "Connections → Default Chat Parameters" → the account editor's Chat defaults section (ConnectionEditor.tsx:3558); Temperature's Send switch defaults off (GenerationParametersEditor.tsx:67).
  • App-wide embedding default is the Embeddings job in Connections (default Marinara's own search), not "Defaults → Embeddings".
  • No Edit Prompt button; the prompt is an always-visible text box with a reset icon.
  • Decision time limits: 1.5 s hosted, 4 s for OpenAI-compatible and local models.
  • Fixed broken anchor in generation-parameters.md (Advanced Memory Recall).
  • Removed unverified Open-Jev/Gemma accuracy numbers.

Could not verify

Copy/Delete always visible on mobile; group-chat character filter scope; Depth 4 / Order 100 / Role System defaults; Close label in the lorebook import window; bulk export always Native; Built-in model shown only after download and hidden on Lite; "Create Preset" title and Create button; "Post-Processing Messages" label; {{lastGenerationType}} values; cache depth default 5.

Open questions

  • Decision sections stay in conditional-prompts.md (condensed) because decision-models.md, custom-agents.md and development/optional-agent-packages.md link to their anchors.
  • card-css-theming.md showcase trimmed in place rather than split into a new file (a new file needs website and docs-i18n changes).

Renamed headings with screenshots

None. All screenshot headings in these categories kept. Inbound anchors kept (generation-parameters#parameters-for-agents, entries#decision-activation, custom-css-themes#ready-made-chat-window-styles, token-budgets#seeing-skipped-entries-in-active-context, the conditional-prompts decision anchors). Other renamed heading: entries "Put the pieces together" → "Choose settings for a fact" (no inbound links).

Renamed files

None.

Translation follow-up

#8741

Validation

  • node check-docs.mjs (links, anchors, screenshot headings, single H1) passes on all 17 files.
  • The regressions that read guide text pass locally on this branch.
  • Separate fact-check pass: 2 wrong claims and several losses found and fixed. Separate phone-reader pass: fixes applied.
  • Local CodeRabbit: CLI not available in this sandbox.
  • pnpm check passes locally
  • Read and followed CONTRIBUTING.md

Manual verification

  • Create a lorebook with Category Character, add an entry with a key, link it to a character.
  • Change Temperature with its Send switch on and check the next reply uses it (Peek Prompt).
  • Assign a preset to a chat following presets.md.
  • Set a chat background in a Conversation chat and change Conversation background image opacity.
  • Check Accent Color default and the 72 px font size limit.
  • Read each guide on a phone-width screen.

Docs and release impact

  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (#8741)

🤖 Generated with Claude Code

https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm


🔄 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/8739 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/3/2026 **Status:** ✅ Merged **Merged:** 11/3/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `docs/lorebooks-prompts-appearance-guides` --- ### 📝 Commits (10+) - [`65a0368`](https://github.com/Pasta-Devs/Marinara-Engine/commit/65a0368900da198276cf9b54d9f941121e57e396) docs(lorebooks): rewrite overview as task-first guide, add Global switch, fix Entry Limit wording - [`e41ebe4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e41ebe467f2e8601c1c6a200c72429a4b13eab96) docs(lorebooks): rewrite entries guide, fix Position labels, add Fired sort and Include other lorebooks, cut about 56 percent - [`add7377`](https://github.com/Pasta-Devs/Marinara-Engine/commit/add73771642320db4f1c8af6ac4500124820c366) docs(lorebooks): rewrite import and export guide, add Markdown and CSV export and import - [`04983c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/04983c8574af9a0457890d813d5d4670f5c4baa4) docs(lorebooks): rewrite linking guide with comparison table, fix disabled-button wording - [`09ed176`](https://github.com/Pasta-Devs/Marinara-Engine/commit/09ed176eb008ff4dcbb7e7e807f3b0695c7cca3c) docs(lorebooks): rewrite token budgets guide with tables and steps; fix scope label in linking guide - [`5d7bbb1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5d7bbb1e9b1e601f58d3a02b18ca1f8a70e1069c) docs(lorebooks): rewrite semantic search guide, fix Vectors help text, add Include character context, Embeddings job path - [`d7292ac`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d7292ac8b74fad391e52fcc1aa65509cd5def0ae) docs(prompts): rewrite presets guide, add missing markers, fix Conversation and Game prompt controls - [`cc9998a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cc9998a64f87006456792c5b1673f11c987b2a57) docs(prompts): rewrite generation parameters guide, fix broken memory link and Chat defaults path, fix quoted labels - [`b052e6a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b052e6af7b59d2a054c9283df7b44f612b267bee) docs(prompts): tighten macros guide intro, split dense decision paragraph into a list - [`e361be2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e361be2a2fc7b98beee4e5b8e09320a10545f149) docs(prompts): rewrite preset variables guide with kinds table and answer steps, verify Random Pick and name rules ### 📊 Changes **17 files changed** (+1124 additions, -1703 deletions) <details> <summary>View changed files</summary> 📝 `docs/appearance/appearance-settings.md` (+89 -83) 📝 `docs/appearance/card-css-theming.md` (+73 -215) 📝 `docs/appearance/chat-backgrounds.md` (+77 -73) 📝 `docs/appearance/custom-css-themes.md` (+75 -87) 📝 `docs/appearance/fonts.md` (+27 -32) 📝 `docs/lorebooks/entries.md` (+152 -349) 📝 `docs/lorebooks/import-export.md` (+41 -41) 📝 `docs/lorebooks/linking-to-characters.md` (+53 -54) 📝 `docs/lorebooks/overview.md` (+56 -72) 📝 `docs/lorebooks/semantic-search.md` (+45 -76) 📝 `docs/lorebooks/token-budgets.md` (+41 -44) 📝 `docs/prompts/conditional-prompts.md` (+119 -259) 📝 `docs/prompts/generation-parameters.md` (+84 -108) 📝 `docs/prompts/macros.md` (+19 -20) 📝 `docs/prompts/preset-variables.md` (+38 -40) 📝 `docs/prompts/presets.md` (+106 -108) 📝 `docs/prompts/prompt-overrides.md` (+29 -42) </details> ### 📄 Description ## Linked issue Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara ## Why this change A new user following the lorebook guide created a lorebook with Category left at Other, then found the character picker empty (it lists only the Character category). The generation-parameters steps stopped before the **Send** switch, which is off by default for Temperature, so changes did nothing. The appearance guides gave a wrong Accent Color default, a 48 px font limit (it is 72), an old background picker, and said Conversation chats cannot show backgrounds (they can). `entries.md` was 6,300 words with 79 em dashes. ## What changed Three small categories in one PR (maintainer asked for fewer PRs). - `lorebooks/entries.md`: −54% words; exact button labels; tables turned into bullets; restored small rules (Outlet in all modes, Require on Constant entries, Sticky hold). Other lorebook guides −11% to −38%; Category **Character** in the create steps; where to type keys. - `prompts/presets.md`: assigning a preset first; numbered "Edit a section" ending with **Save**. `generation-parameters.md`: **Send** switch step, tuning tips first. `conditional-prompts.md`: −39%. Others −2% to −35%. - `appearance/appearance-settings.md`: "I want to…" pointers, **App / Conversation / Roleplay / Game** groups, new controls. `chat-backgrounds.md`: new picker and **Background Library**. `fonts.md`: Google Fonts and **Open Fonts Folder** first. CSS theme guides: trimmed, setup before steps. ## Fact changes - Accent Color default is a gradient, not `#d4acfb` (`packages/client/src/lib/css-colors.ts:1`); Chat Font Size max 72 px (`SettingsPanel.tsx:4365`). - Uploaded background badge **My upload**, not "Library" (`BackgroundPicker.tsx:802`); picker is now a preview card plus **Browse library** → **Background Library** (Recent, favorites, folder chips, filters). - Chat backgrounds and **Background Blur** apply in Conversation too; the **Conversation Theme** gradient stays over the image, set by **Conversation background image opacity** (`ConversationView.tsx:1278-1289`). The Blur tooltip in the app still says Roleplay and Game only (stale). - Game dialogue labels **Classic Dialogue Box** / **History Above Dialogue Box** (`SettingsPanel.tsx:603-611`); **Roleplay Messages** → **Roleplay Presentation**; **Accent Pulse** defaults on for desktop. - Entry Position **Before/After character definitions**, not "Before/After chat" (`LorebookEntryRow.tsx:954`); buttons **Duplicate entry**, **Delete entry**, **Clone folder**, **Delete folder**, **Entry quick controls**. - "Connections → Default Chat Parameters" → the account editor's **Chat defaults** section (`ConnectionEditor.tsx:3558`); Temperature's **Send** switch defaults off (`GenerationParametersEditor.tsx:67`). - App-wide embedding default is the **Embeddings** job in Connections (default **Marinara's own search**), not "Defaults → Embeddings". - No **Edit Prompt** button; the prompt is an always-visible text box with a reset icon. - Decision time limits: 1.5 s hosted, 4 s for OpenAI-compatible and local models. - Fixed broken anchor in `generation-parameters.md` (Advanced Memory Recall). - Removed unverified Open-Jev/Gemma accuracy numbers. ## Could not verify Copy/Delete always visible on mobile; group-chat character filter scope; Depth 4 / Order 100 / Role System defaults; **Close** label in the lorebook import window; bulk export always Native; Built-in model shown only after download and hidden on Lite; "Create Preset" title and **Create** button; "Post-Processing Messages" label; `{{lastGenerationType}}` values; cache depth default 5. ## Open questions - Decision sections stay in `conditional-prompts.md` (condensed) because `decision-models.md`, `custom-agents.md` and `development/optional-agent-packages.md` link to their anchors. - `card-css-theming.md` showcase trimmed in place rather than split into a new file (a new file needs website and docs-i18n changes). ## Renamed headings with screenshots None. All screenshot headings in these categories kept. Inbound anchors kept (`generation-parameters#parameters-for-agents`, `entries#decision-activation`, `custom-css-themes#ready-made-chat-window-styles`, `token-budgets#seeing-skipped-entries-in-active-context`, the `conditional-prompts` decision anchors). Other renamed heading: entries "Put the pieces together" → "Choose settings for a fact" (no inbound links). ## Renamed files None. ## Translation follow-up #8741 ## Validation - `node check-docs.mjs` (links, anchors, screenshot headings, single H1) passes on all 17 files. - The regressions that read guide text pass locally on this branch. - Separate fact-check pass: 2 wrong claims and several losses found and fixed. Separate phone-reader pass: fixes applied. - Local CodeRabbit: CLI not available in this sandbox. - [ ] `pnpm check` passes locally - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification - [ ] Create a lorebook with Category **Character**, add an entry with a key, link it to a character. - [ ] Change Temperature with its **Send** switch on and check the next reply uses it (Peek Prompt). - [ ] Assign a preset to a chat following `presets.md`. - [ ] Set a chat background in a Conversation chat and change **Conversation background image opacity**. - [ ] Check Accent Color default and the 72 px font size limit. - [ ] Read each guide on a phone-width screen. ## Docs and release impact - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (#8741) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:37 +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#8778
No description provided.