[PR #4166] [MERGED] Keep Kaomoji in Conversation and smooth Roleplay typing #6262

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

📋 Pull Request Information

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

Base: staging ← Head: agent/conversation-only-kaomoji-roleplay-input


📝 Commits (2)

  • 50a381f Keep kaomoji in Conversation and smooth Roleplay input
  • 46669fe Harden Roleplay kaomoji absence coverage

📊 Changes

4 files changed (+87 additions, -86 deletions)

View changed files

📝 e2e/core-flows.e2e.ts (+60 -26)
📝 packages/client/src/components/chat/ChatInput.tsx (+1 -42)
📝 packages/client/src/components/ui/KaomojiPicker.tsx (+19 -16)
📝 scripts/regressions/roleplay-streaming.regression.ts (+7 -2)

📄 Description

Linked issue

Closes #4165

Why this change

Kaomoji is a Conversation-only affordance, but the shared Roleplay composer still exposed a standalone picker. Its search field also used the generic primary color and a different visual treatment from the neighboring Emoji/GIF searches. Separately, Roleplay input scheduled an extra presence timer on every keystroke, contributing to a small responsiveness gap compared with Conversation.

What changed

  • Removed the Kaomoji icon, state, and popover from the Roleplay composer while retaining the Conversation media-picker tab.
  • Restyled Kaomoji search to match the Emoji/GIF search shell and use the configured chat-chrome accent for its icon and placeholder.
  • Removed the redundant Roleplay input-presence timer and update presence only when the draft crosses the empty/non-empty boundary.
  • Added desktop/mobile coverage for Conversation-only Kaomoji, search styling, accent resolution, and Roleplay absence.

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

Automated validation run:

  • pnpm check
  • pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/roleplay-streaming.regression.ts
  • pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --grep 'kaomoji stays in Conversation|Roleplay composer does not offer kaomoji' --project=desktop-chromium --workers=1
  • pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --grep 'kaomoji stays in Conversation|Roleplay composer does not offer kaomoji' --project=mobile-chromium --workers=1
  • git diff --check

Manual verification notes

  • Manually verify the Kaomoji tab remains available in a Conversation chat.
  • Manually verify no Kaomoji action appears in Roleplay on desktop or mobile.
  • Manually compare sustained Roleplay typing responsiveness with Conversation.
  • Manually verify the search field in light and dark themes with a non-pink custom accent.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

No docs or release metadata changes are needed; this corrects existing composer behavior and styling.

UI evidence (if applicable)

Automated browser assertions cover the affected desktop and mobile paths. No screenshot is attached.

Summary by CodeRabbit

  • New Features

    • Updated the Kaomoji picker with a cleaner search layout and improved dialog presentation.
    • Kaomoji picker accents, icons, and search fields now align with the configured chat accent color.
  • Bug Fixes

    • Removed the Kaomoji option from the Roleplay composer.
    • Composer input state now updates immediately when text is added or cleared, improving responsiveness.

🔄 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/4166 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/27/2026 **Status:** ✅ Merged **Merged:** 7/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/conversation-only-kaomoji-roleplay-input` --- ### 📝 Commits (2) - [`50a381f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/50a381fef20dcc8c0b8472eb58248793b5edb910) Keep kaomoji in Conversation and smooth Roleplay input - [`46669fe`](https://github.com/Pasta-Devs/Marinara-Engine/commit/46669febaaf581d76218b65041b1ff6ce205f521) Harden Roleplay kaomoji absence coverage ### 📊 Changes **4 files changed** (+87 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `e2e/core-flows.e2e.ts` (+60 -26) 📝 `packages/client/src/components/chat/ChatInput.tsx` (+1 -42) 📝 `packages/client/src/components/ui/KaomojiPicker.tsx` (+19 -16) 📝 `scripts/regressions/roleplay-streaming.regression.ts` (+7 -2) </details> ### 📄 Description ## Linked issue Closes #4165 ## Why this change Kaomoji is a Conversation-only affordance, but the shared Roleplay composer still exposed a standalone picker. Its search field also used the generic primary color and a different visual treatment from the neighboring Emoji/GIF searches. Separately, Roleplay input scheduled an extra presence timer on every keystroke, contributing to a small responsiveness gap compared with Conversation. ## What changed - Removed the Kaomoji icon, state, and popover from the Roleplay composer while retaining the Conversation media-picker tab. - Restyled Kaomoji search to match the Emoji/GIF search shell and use the configured chat-chrome accent for its icon and placeholder. - Removed the redundant Roleplay input-presence timer and update presence only when the draft crosses the empty/non-empty boundary. - Added desktop/mobile coverage for Conversation-only Kaomoji, search styling, accent resolution, and Roleplay absence. ## 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` Automated validation run: - `pnpm check` - `pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/roleplay-streaming.regression.ts` - `pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --grep 'kaomoji stays in Conversation|Roleplay composer does not offer kaomoji' --project=desktop-chromium --workers=1` - `pnpm exec playwright test -c playwright.config.ts e2e/core-flows.e2e.ts --grep 'kaomoji stays in Conversation|Roleplay composer does not offer kaomoji' --project=mobile-chromium --workers=1` - `git diff --check` ### Manual verification notes - Manually verify the Kaomoji tab remains available in a Conversation chat. - Manually verify no Kaomoji action appears in Roleplay on desktop or mobile. - Manually compare sustained Roleplay typing responsiveness with Conversation. - Manually verify the search field in light and dark themes with a non-pink custom accent. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) No docs or release metadata changes are needed; this corrects existing composer behavior and styling. ## UI evidence (if applicable) Automated browser assertions cover the affected desktop and mobile paths. No screenshot is attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated the Kaomoji picker with a cleaner search layout and improved dialog presentation. * Kaomoji picker accents, icons, and search fields now align with the configured chat accent color. * **Bug Fixes** * Removed the Kaomoji option from the Roleplay composer. * Composer input state now updates immediately when text is added or cleared, improving responsiveness. <!-- 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:08:43 +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#6262
No description provided.