mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2632] [MERGED] feat(conversation): sticker selector with in-place management #5698
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#5698
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/2632
Author: @kolacheee
Created: 6/18/2026
Status: ✅ Merged
Merged: 6/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/staging-custom-stickers📝 Commits (10+)
113f4c9feat(custom-emojis): data model + storage for global custom emojis1cea476feat(custom-emojis): routes — upload, serve, list, rename, delete, import/exportffdf5c1feat(custom-emojis): emoji-picker Custom tab + client hookse834059feat(custom-emojis): render :name: tokens as inline images in conversation messages6216af2feat(custom-emojis): jumbo rendering for emoji-only lines1e8338afeat(custom-emojis): :emoji: autocomplete in the conversation composer2ba59cbfeat(emoji): resolve per-source custom emojis in conversations4627ceffeat(emoji): show persona & character emojis in the picker's Custom tab2636930feat(emoji): advertise available custom emojis to the model35ec1fffeat(emoji): add selection preferences (max count + random/semantic)📊 Changes
36 files changed (+3153 additions, -62 deletions)
View changed files
📝
packages/client/src/components/chat/ConversationInput.tsx(+283 -2)📝
packages/client/src/components/chat/ConversationMessage.tsx(+9 -0)📝
packages/client/src/components/chat/ConversationMessageBubble.tsx(+6 -4)📝
packages/client/src/components/chat/ConversationMessageGrouped.tsx(+5 -3)📝
packages/client/src/components/chat/ConversationMessageLine.tsx(+4 -2)📝
packages/client/src/components/chat/ConversationMessageShared.tsx(+18 -3)📝
packages/client/src/components/chat/ConversationView.tsx(+10 -0)➕
packages/client/src/components/chat/CustomEmojiSelectionSettings.tsx(+123 -0)➕
packages/client/src/components/chat/CustomEmojiTab.tsx(+308 -0)➕
packages/client/src/components/chat/StickerPicker.tsx(+413 -0)📝
packages/client/src/components/ui/AppDialogRenderer.tsx(+38 -1)📝
packages/client/src/components/ui/EmojiPicker.tsx(+69 -33)📝
packages/client/src/components/ui/GifPicker.tsx(+25 -12)➕
packages/client/src/hooks/use-conversation-custom-emojis.ts(+88 -0)➕
packages/client/src/hooks/use-conversation-custom-stickers.ts(+88 -0)➕
packages/client/src/hooks/use-custom-emojis.ts(+70 -0)➕
packages/client/src/hooks/use-custom-stickers.ts(+70 -0)📝
packages/client/src/lib/app-dialogs.ts(+11 -0)➕
packages/client/src/lib/custom-emoji-render.tsx(+76 -0)➕
packages/client/src/lib/sticker-render.tsx(+58 -0)...and 16 more files
📄 Description
Linked issue
Closes #2609.
Why this change
Port the sticker selector to Conversation mode (Part 2 of 3, after custom emojis). Stickers are added/renamed/deleted directly in the sticker selector — behind an Edit toggle so users don't delete one while reaching to use it, with set import/export. Selecting a sticker posts it as its own message,
sticker:name:renders as a block image, and sticker names are advertised to the model like emoji names. Conversation mode only — no Roleplay/Game codepaths.What changed
Reuses the custom-emoji foundation (Part 1). Landed:
custom_stickerstable + storage + routes (list / upload / serve / rename / delete + set import/export at/api/custom-stickers, capped 512×512) + shared Zod schema + client hooks.StickerPicker— a popover beside a new sticker button on desktop, and embedded in the mobile composer sheet's now-live Stickers tab. Shows the global pool plus the active persona's and chat bots' gallery stickers; Edit toggle for upload / rename / delete + Import / Export a set; search.sticker:name:as its own user message, mirroring the GIF send guards (persist-only while streaming / in manual group order, else send-and-reply).sticker:name:renders as an own-line block image in Conversation messages (split out before the inline emoji pass so it isn't mistaken for an emoji token).Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Pending playtest.
Docs and release impact
UI evidence (if applicable)
Pending — sticker selector (desktop popover + mobile sheet tab) + a rendered sticker message, after playtest.
Summary by CodeRabbit
New Features
:name:andsticker:name:tokens.:in chat to trigger autocomplete suggestions for custom and standard emojis.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.