mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2604] Chat-scoped Gallery: add emoji/sticker tagging, shrink thumbnails, add import/export (All/Select) #1278
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#1278
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?
Originally created by @kolacheee on GitHub (Jun 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2604
Summary
The in-chat Gallery (the panel reachable from a chat's right-panel toolbar —
ChatGallery/ChatGalleryDrawer, with the Illustrate + Upload Images actions) is missing features that the other gallery surfaces already have, and needs two UX fixes:Background
stagingin #2584 (persona + global galleries), and the custom emoji/sticker tagging (originallyrefactor#2362) in #2585. The tag control (CustomEmojiTagButton) is wired into the character gallery (CharacterEditor), the persona gallery (PersonaEditor), and the global gallery panel (GlobalGalleryPanel).packages/client/src/components/chat/ChatGallery.tsx) does not useCustomEmojiTagButton, so images uploaded/illustrated there can't be tagged as emoji/stickers from the view a user actually reaches in-chat.What needs doing
1. Bring custom emoji/sticker tagging to the chat-scoped gallery
Wire
CustomEmojiTagButton(from #2585) into theChatGalleryimage cards, matching the other galleries: tag an image as emoji or sticker, name it, the dimension size-gate (emoji ≤256×256, sticker ≤512×512), the corner kind badge, and per-gallery name uniqueness. Reuse the existing sharedcustom-emoji.ts+ the gallery tag mutation — no new model needed.2. Shrink the thumbnails
ChatGalleryrenders a fixedgrid grid-cols-2(ChatGallery.tsx:122), so each thumbnail is enormous. Switch to a denser responsive grid — e.g. the auto-fill patternGlobalGalleryPanelalready uses,grid-cols-[repeat(auto-fill,minmax(7rem,1fr))](or smaller) — so images render at a sensible thumbnail size.3. Import / Export galleries
Add a way to export a gallery and import one back, with All and Select… options (mirroring the all-vs-pick choice used by other export flows in the app):
Pointers
packages/client/src/components/chat/ChatGallery.tsx(+ChatGalleryDrawer.tsx)packages/client/src/components/ui/CustomEmojiTagButton.tsx; sharedcustom-emoji.tsGlobalGalleryPanel.tsx,CharacterEditor.tsx,PersonaEditor.tsxrefactorsources #2361 / #2362Notes
@SpicyMarinara commented on GitHub (Jun 17, 2026):
Big UI changes coming, hold on.