[GH-ISSUE #2609] feat(conversation): sticker selector with in-place management #1281

Closed
opened 2026-10-21 05:30:38 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Jun 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2609

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Port the sticker selector from the refactor (#2362) to Conversation mode. Since there is no global Gallery tab anymore, stickers are added/renamed/deleted directly in the sticker selector, behind an Edit toggle so users don't accidentally delete a sticker when reaching to use one. Import/export of sticker sets is included.

Conversation mode only — no Roleplay/Game codepaths.

Part 2 of 3 of the Conversation custom-emoji / sticker / reactions effort. Builds on the custom-emoji foundation (Part 1): reuses its storage shape, image handling, and import/export patterns.

Scope

  • Storage: a sticker store mirroring the custom-emoji store (Part 1), with sticker dimension limits (≤512×512, per the existing lib/custom-emoji.ts validation).
  • Sticker selector: a picker beside the emoji button. Normal mode = pick a sticker to send. Edit mode = add / rename / delete, plus import a set / export a set.
  • Rendering: sticker:name: renders as a block image on its own line, regardless of token position (Discord-style), in Conversation messages.
  • Sending: selecting a sticker posts it as its own user message, with a send-only vs. send-and-reply choice (mirrors the existing GIF/attachment send guards).
  • Model access: sticker names are advertised to the model the same way emoji names are (Part 1's capped selection), so characters know which stickers exist.

Implementation notes

  • Reuse Part 1's selection/advertising path so the soft-cap and exclusive-weighting behavior is consistent across emojis and stickers.
  • Validate with pnpm check; manual verification in Conversation mode (light/dark, mobile, empty states, accidental-delete guard).
Originally created by @kolacheee on GitHub (Jun 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2609 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Port the **sticker selector** from the `refactor` ([#2362](https://github.com/Pasta-Devs/Marinara-Engine/pull/2362)) to Conversation mode. Since there is no global Gallery tab anymore, stickers are added/renamed/deleted **directly in the sticker selector**, behind an **Edit** toggle so users don't accidentally delete a sticker when reaching to use one. Import/export of sticker sets is included. **Conversation mode only** — no Roleplay/Game codepaths. > Part 2 of 3 of the Conversation custom-emoji / sticker / reactions effort. Builds on the custom-emoji foundation (Part 1): reuses its storage shape, image handling, and import/export patterns. ## Scope - **Storage:** a sticker store mirroring the custom-emoji store (Part 1), with sticker dimension limits (≤512×512, per the existing `lib/custom-emoji.ts` validation). - **Sticker selector:** a picker beside the emoji button. Normal mode = pick a sticker to send. **Edit** mode = add / rename / delete, plus import a set / export a set. - **Rendering:** `sticker:name:` renders as a block image on its own line, regardless of token position (Discord-style), in Conversation messages. - **Sending:** selecting a sticker posts it as its own user message, with a send-only vs. send-and-reply choice (mirrors the existing GIF/attachment send guards). - **Model access:** sticker names are advertised to the model the same way emoji names are (Part 1's capped selection), so characters know which stickers exist. ## Implementation notes - Reuse Part 1's selection/advertising path so the soft-cap and exclusive-weighting behavior is consistent across emojis and stickers. - Validate with `pnpm check`; manual verification in Conversation mode (light/dark, mobile, empty states, accidental-delete guard).
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#1281
No description provided.