[PR #1082] [MERGED] Fix character system prompt help text #4912

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1082
Author: @cha1latte
Created: 5/21/2026
Status: ✅ Merged
Merged: 5/21/2026
Merged by: @cha1latte

Base: staging ← Head: fix/issue-1072-character-system-prompt-help


📝 Commits (1)

  • 6b4d315 Clarify character system prompt help text

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 packages/client/src/components/characters/CharacterEditor.tsx (+3 -3)

📄 Description

Linked issue

Closes #1072

Why this change

  • The Character Card Advanced tab described the System Prompt field as "overrides or appends," which made it unclear whether character system prompt text replaces the main prompt or is inserted through the prompt preset/macro path.

What changed

  • Reworded the System Prompt help tooltip to say the field is inserted by the prompt preset's character block or {{charSysInfo}}.
  • Reworded the inline and expanded editor placeholders to match that behavior.

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

  • Codex static repro before fix: Select-String packages/client/src/components/characters/CharacterEditor.tsx -Pattern "Overrides or appends|Override or append" found the ambiguous tooltip and both matching placeholders.
  • Codex verification after fix: the same static repro returns no matches for the ambiguous wording.
  • Codex browser verification: Playwright MCP opened Character Library → Edit Character → Advanced and observed the System Prompt textarea placeholder as Character-specific instructions inserted through {{charSysInfo}} or the character prompt block….
  • Codex baseline: pnpm check passed locally.
  • Bunny pre-PR review passed for the current one-file diff.

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)

N/A. This is a copy clarification in an existing editor field; Playwright MCP verified the replacement text in the live Character Advanced tab, but no committed screenshot is included.

Summary by CodeRabbit

  • Documentation
    • Clarified character-specific system prompt instructions in the Advanced tab to improve clarity on how system instructions are applied.

Review Change Stack


🔄 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/1082 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/21/2026 **Status:** ✅ Merged **Merged:** 5/21/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `fix/issue-1072-character-system-prompt-help` --- ### 📝 Commits (1) - [`6b4d315`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6b4d315eccb69d5d68d5f99e84be32a95225c040) Clarify character system prompt help text ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+3 -3) </details> ### 📄 Description <!-- Target branch: `staging`. The default base in this UI is `main` (release branch). --> <!-- Change the base to `staging` before submitting unless this is a maintainer-approved mainline change. --> <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #1072 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - The Character Card Advanced tab described the System Prompt field as "overrides or appends," which made it unclear whether character system prompt text replaces the main prompt or is inserted through the prompt preset/macro path. ## What changed <!-- List the key changes in this PR --> - Reworded the System Prompt help tooltip to say the field is inserted by the prompt preset's character block or `{{charSysInfo}}`. - Reworded the inline and expanded editor placeholders to match that behavior. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `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 <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Codex static repro before fix: `Select-String packages/client/src/components/characters/CharacterEditor.tsx -Pattern "Overrides or appends|Override or append"` found the ambiguous tooltip and both matching placeholders. - Codex verification after fix: the same static repro returns no matches for the ambiguous wording. - Codex browser verification: Playwright MCP opened Character Library → Edit Character → Advanced and observed the System Prompt textarea placeholder as `Character-specific instructions inserted through {{charSysInfo}} or the character prompt block…`. - Codex baseline: `pnpm check` passed locally. - Bunny pre-PR review passed for the current one-file diff. ## Docs and release impact - [x] 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) N/A. This is a copy clarification in an existing editor field; Playwright MCP verified the replacement text in the live Character Advanced tab, but no committed screenshot is included. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified character-specific system prompt instructions in the Advanced tab to improve clarity on how system instructions are applied. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/1082?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- 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:11:40 +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#4912
No description provided.