[PR #5573] [MERGED] feat: restore character convo profile generation #6830

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5573
Author: @Gunterlie
Created: 8/27/2026
Status: ✅ Merged
Merged: 8/27/2026
Merged by: @Gunterlie

Base: staging ← Head: restore-convo-profile-wands


📝 Commits (6)

  • 4b2091f feat: restore character convo profile generation
  • 2a5118e chore: format convo profile editor
  • 6e5dd40 chore: sync staging into convo profile PR
  • 37ac093 docs: clarify convo profile generation
  • b24eba5 fix: ignore stale convo profile drafts
  • 56d191e docs: clarify profile route comment

📊 Changes

6 files changed (+243 additions, -8 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+36 -0)
📝 packages/client/src/components/characters/ConvoProfileFields.tsx (+80 -8)
📝 packages/client/src/hooks/use-characters.ts (+31 -0)
📝 packages/client/src/localization/locales/en.json (+4 -0)
📝 packages/server/src/routes/characters.routes.ts (+91 -0)

📄 Description

$## Linked issue\n\nCloses #5572\n\n## Why this change\n\nCharacter card users lost the direct generation action when About Me writing moved to Professor Mari. The Convo Behavior field never received an equivalent action. This makes both Conversation profile fields harder to create from existing card information.\n\n## What changed\n\n- Add character-card controls to generate About Me and Convo Behavior text from the current card draft.\n- Resolve the default text-generation connection on the server.\n- Preserve the selected behavior insertion strategy.\n- Prevent stale responses from applying after a character switch or concurrent field edit.\n- Localize the new controls and record the change in the changelog.\n\n## Validation\n\n- [x] pnpm check passes locally\n- [ ] Container (Docker / Podman) built and ran without issue\n- [ ] Ran the app, clicked through the changes manually\n- [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)\n- [ ] Above manual verification completed (describe below)\n- [x] Read and followed CONTRIBUTING.md\n\n### Manual verification notes\n\n- Local source validation passed.\n- Manual browser verification remains for the maintainer: open a character card, use both Convo generation buttons, and check light mode, dark mode, mobile width, empty card fields, provider failure, character switching, and edits while generation is pending.\n\n## Docs and release impact\n\n- [ ] No docs changes needed\n- [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed\n- [ ] Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)\n- [ ] Version/release files updated (only if this PR includes a version bump)\n\n## UI evidence (if applicable)\n\nManual screenshots or recordings are still required after browser verification.

Summary by CodeRabbit

  • New Features
    • Added AI generation controls for character “About Me” and conversation behavior fields.
    • Generated text uses the character card’s information and includes loading indicators.
    • Added safeguards against outdated or conflicting generated results.
    • Added the ability to revert generated “About Me” text.
  • Bug Fixes
    • Added feedback when generation fails or produces no usable content.
  • Documentation
    • Added an Unreleased changelog entry for conversation profile generation.

🔄 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/5573 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 8/27/2026 **Status:** ✅ Merged **Merged:** 8/27/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `restore-convo-profile-wands` --- ### 📝 Commits (6) - [`4b2091f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4b2091f0fead3482858414c2c9f6c0d141696a4e) feat: restore character convo profile generation - [`2a5118e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2a5118e373bae10c1b0074d1ee1d06b336fb2d63) chore: format convo profile editor - [`6e5dd40`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6e5dd4060bf909f077ca95412c9b76f49768e2e2) chore: sync staging into convo profile PR - [`37ac093`](https://github.com/Pasta-Devs/Marinara-Engine/commit/37ac093ec1406aeb61e1f668d632c8f0e2b054c7) docs: clarify convo profile generation - [`b24eba5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b24eba539c3c87765962117f5feab0ab9f288950) fix: ignore stale convo profile drafts - [`56d191e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/56d191e7213feba5a0dd53454aebfb873a2322b7) docs: clarify profile route comment ### 📊 Changes **6 files changed** (+243 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+36 -0) 📝 `packages/client/src/components/characters/ConvoProfileFields.tsx` (+80 -8) 📝 `packages/client/src/hooks/use-characters.ts` (+31 -0) 📝 `packages/client/src/localization/locales/en.json` (+4 -0) 📝 `packages/server/src/routes/characters.routes.ts` (+91 -0) </details> ### 📄 Description $## Linked issue\n\nCloses #5572\n\n## Why this change\n\nCharacter card users lost the direct generation action when About Me writing moved to Professor Mari. The Convo Behavior field never received an equivalent action. This makes both Conversation profile fields harder to create from existing card information.\n\n## What changed\n\n- Add character-card controls to generate About Me and Convo Behavior text from the current card draft.\n- Resolve the default text-generation connection on the server.\n- Preserve the selected behavior insertion strategy.\n- Prevent stale responses from applying after a character switch or concurrent field edit.\n- Localize the new controls and record the change in the changelog.\n\n## Validation\n\n- [x] `pnpm check` passes locally\n- [ ] Container (Docker / Podman) built and ran without issue\n- [ ] Ran the app, clicked through the changes manually\n- [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)\n- [ ] Above manual verification completed (describe below)\n- [x] Read and followed `CONTRIBUTING.md`\n\n### Manual verification notes\n\n- Local source validation passed.\n- Manual browser verification remains for the maintainer: open a character card, use both Convo generation buttons, and check light mode, dark mode, mobile width, empty card fields, provider failure, character switching, and edits while generation is pending.\n\n## Docs and release impact\n\n- [ ] No docs changes needed\n- [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed\n- [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation)\n- [ ] Version/release files updated (only if this PR includes a version bump)\n\n## UI evidence (if applicable)\n\nManual screenshots or recordings are still required after browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added AI generation controls for character “About Me” and conversation behavior fields. * Generated text uses the character card’s information and includes loading indicators. * Added safeguards against outdated or conflicting generated results. * Added the ability to revert generated “About Me” text. * **Bug Fixes** * Added feedback when generation fails or produces no usable content. * **Documentation** * Added an Unreleased changelog entry for conversation profile generation. <!-- 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:14:05 +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#6830
No description provided.