[PR #3808] [MERGED] Polish Roleplay membership, preset artwork, and regex actions #6111

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

📋 Pull Request Information

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

Base: staging ← Head: agent/roleplay-preset-regex-polish


📝 Commits (3)

  • e17a673 Hide membership notices outside Conversation
  • 16386b2 Add Universal Preset artwork
  • 4fa5c7a Align scoped regex actions

📊 Changes

6 files changed (+50 additions, -7 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
➕ packages/client/public/illustrations/marinara-universal-preset.webp (+0 -0)
📝 packages/client/src/components/characters/CharacterRegexSection.tsx (+2 -2)
📝 packages/client/src/components/panels/PresetsPanel.tsx (+19 -1)
📝 packages/server/src/routes/chats.routes.ts (+4 -4)
📝 scripts/regressions/open-issues.regression.ts (+23 -0)

📄 Description

Why

Roleplay membership changes should stay inside the scene instead of producing Conversation-style chat notices. Marinara's Universal Preset also needs recognizable artwork, and the Character Advanced regex row needs its actions aligned with the enable toggle.

What changed

  • Restrict character join/leave timeline notices to started Conversation chats; Roleplay and Game no longer receive them.
  • Show the approved chibi Professor Mari artwork for Marinara's Universal Preset by its stable built-in name and author, covering existing and newly created user data without a migration.
  • Vertically center the Regex Script Edit and Delete actions against the enable toggle.
  • Add focused source regressions for the membership-mode guard and Universal Preset artwork contract.
  • Document both user-facing UI changes in the changelog.

Root causes

  • Membership notice creation was gated only by whether a chat had started, not by chat mode.
  • Preset cards always rendered the generic document icon.
  • The 13px action glyphs reused the 20px switch's top offset, leaving them optically high.

Validation

  • pnpm check
  • pnpm version:check
  • pnpm regression:issues
  • pnpm smoke:ui: 71 passed and 46 expected viewport skips; one unrelated side-panel animation timing assertion missed once, then passed on an isolated rerun.
  • git diff --check origin/staging...HEAD

Manual verification

  • Manually verify adding and removing characters in Roleplay does not create join/leave notices, while started Conversation chats still do.
  • Manually verify Marinara's Universal Preset shows Professor Mari artwork for both existing and new users.
  • Manually verify Regex Script Edit/Delete actions align vertically with the enable toggle.

Tracking

No linked issue yet; this draft collects maintainer-requested polish and should be linked to a tracking issue before it is marked ready for review.

Summary by CodeRabbit

  • New Features

    • Added chibi Professor Mari artwork to Marinara’s Universal Preset for new and existing users.
    • Universal Presets now display their dedicated artwork in the presets panel.
  • Bug Fixes

    • Improved vertical alignment of edit and delete actions in Character editor regex scripts.
    • Prevented character membership notices from appearing in non-conversation chats.

🔄 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/3808 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/19/2026 **Status:** ✅ Merged **Merged:** 7/19/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/roleplay-preset-regex-polish` --- ### 📝 Commits (3) - [`e17a673`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e17a6736a124d448d059522bce7f1fe613357529) Hide membership notices outside Conversation - [`16386b2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/16386b2d093f690fa6a583d80a6767fe08d78a10) Add Universal Preset artwork - [`4fa5c7a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4fa5c7a7b90ade8b07ed2a16cb810e2b74b436a6) Align scoped regex actions ### 📊 Changes **6 files changed** (+50 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) ➕ `packages/client/public/illustrations/marinara-universal-preset.webp` (+0 -0) 📝 `packages/client/src/components/characters/CharacterRegexSection.tsx` (+2 -2) 📝 `packages/client/src/components/panels/PresetsPanel.tsx` (+19 -1) 📝 `packages/server/src/routes/chats.routes.ts` (+4 -4) 📝 `scripts/regressions/open-issues.regression.ts` (+23 -0) </details> ### 📄 Description ## Why Roleplay membership changes should stay inside the scene instead of producing Conversation-style chat notices. Marinara's Universal Preset also needs recognizable artwork, and the Character Advanced regex row needs its actions aligned with the enable toggle. ## What changed - Restrict character join/leave timeline notices to started Conversation chats; Roleplay and Game no longer receive them. - Show the approved chibi Professor Mari artwork for Marinara's Universal Preset by its stable built-in name and author, covering existing and newly created user data without a migration. - Vertically center the Regex Script Edit and Delete actions against the enable toggle. - Add focused source regressions for the membership-mode guard and Universal Preset artwork contract. - Document both user-facing UI changes in the changelog. ## Root causes - Membership notice creation was gated only by whether a chat had started, not by chat mode. - Preset cards always rendered the generic document icon. - The 13px action glyphs reused the 20px switch's top offset, leaving them optically high. ## Validation - `pnpm check` - `pnpm version:check` - `pnpm regression:issues` - `pnpm smoke:ui`: 71 passed and 46 expected viewport skips; one unrelated side-panel animation timing assertion missed once, then passed on an isolated rerun. - `git diff --check origin/staging...HEAD` ## Manual verification - [ ] Manually verify adding and removing characters in Roleplay does not create join/leave notices, while started Conversation chats still do. - [ ] Manually verify Marinara's Universal Preset shows Professor Mari artwork for both existing and new users. - [ ] Manually verify Regex Script Edit/Delete actions align vertically with the enable toggle. ## Tracking No linked issue yet; this draft collects maintainer-requested polish and should be linked to a tracking issue before it is marked ready for review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added chibi Professor Mari artwork to Marinara’s Universal Preset for new and existing users. * Universal Presets now display their dedicated artwork in the presets panel. * **Bug Fixes** * Improved vertical alignment of edit and delete actions in Character editor regex scripts. * Prevented character membership notices from appearing in non-conversation chats. <!-- 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:07:12 +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#6111
No description provided.