mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4042
Author: @SpicyMarinara
Created: 7/24/2026
Status: ✅ Merged
Merged: 7/24/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/4038-kaomoji-picker📝 Commits (3)
a676376feat(chat): add a built-in kaomoji picker to the composer8960f47fix: address CodeRabbit review on the kaomoji pickerb19c52cMerge branch 'staging' into fix/4038-kaomoji-picker📊 Changes
7 files changed (+443 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+30 -0)📝
packages/client/src/components/chat/ConversationInput.tsx(+1 -0)📝
packages/client/src/components/chat/ConversationMediaPickerPanel.tsx(+3 -1)➕
packages/client/src/components/ui/KaomojiPicker.tsx(+209 -0)➕
packages/client/src/lib/kaomoji-catalog.ts(+188 -0)📝
packages/client/src/localization/locales/en.json(+11 -0)📄 Description
Why
Requested in #4038 (humorously, but a real feature request the maintainer accepted): there was no built-in way to insert kaomoji — users had to find them on an external site and paste them in. This adds a first-class kaomoji picker to the composer, with search.
What changed
lib/kaomoji-catalog.ts— a curated, categorized kaomoji set (Happy, Love, Sad, Angry, Surprised, Shrug & Flip, Cute & Misc) where each entry carries lowercase search keywords, plussearchKaomoji()which requires all query tokens to match and ranks whole-word hits first (sotable man angry throwsurfaces(ノಠ益ಠ)ノ彡┻━┻).components/ui/KaomojiPicker.tsx— a picker with a search box, category tabs, and a 2-column grid. It renders as an anchored portal popover for the Roleplay/Game composer, and has anembeddedmode for inline use in the Conversation media panel.ChatInput.tsx— a kaomoji button (SmilePlus) beside the emoji button, opening the popover; inserts at the cursor via the existing emoji-insert handler.ConversationMediaPickerPanel.tsx/ConversationInput.tsx— a new Kaomoji tab in the Conversation media panel.chat.input.kaomojiadded to the English locale; community locales fall back to English.Not literally "every kaomoji from kaomoji.you shipped by default" (that part was the joke) — this is a solid built-in set that's easy to extend by adding entries to the catalog.
Test plan
table man angry throwand confirm the table-flip ranks at/near the top; confirm an empty result shows "No kaomoji found."pnpm checkpasses. (Passed in the authoring session; re-verify locally.)Fixes #4038.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.