SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
386 stars 49 forks source link

MSC2545 sticker (+ custom emotes) picker #186

Open crisukbot opened 1 year ago

crisukbot commented 1 year ago

Copied from #8060

What would you like to do? I would like to see native stickers and custom emoticons support in Element, like it works in Cinny or FluffyChat.

image

Why would you like to do it? Clients like Cinny already using native sticker packs instead of integrations in Element. It's work faster and have simplified manage process.

How would you like to achieve it?

Cinny using this specs, and it's work perfectly. There is a small tool to manage sticker packs. Need to just copy logic to Element :)

SpiritCroc commented 1 year ago

We already support sending custom emotes. When you type in :shortcode:, it will suggest you the room's and your account's custom emotes for autocompletion. Also, you need to make sure that you're not using the rich text editor for now to use it.

For stickers, yeah I'd like that too. Sending those is on my list of things I'd like to do if I find enough time.

I'm currently not planning to add any UI to manage stickers and emotes, given you can use Fluffy/nheko/Cinny for that and it'll carry over.

Need to just copy logic to Element :)

Well no, there's more to that than copy-paste :joy:

Sinofine commented 1 year ago

in these days i am managing to build a sticker panel for schildichat with the base of https://github.com/FredHappyface/Android.EweSticker

SpiritCroc commented 1 year ago

With https://github.com/SchildiChat/SchildiChat-android/commit/5f787db4f1e8fceda72b1e01174b88cc482c22fb, it will be possible to write a one-custom-emote-only message and send it as sticker with a dedicated button, if said custom emote has sending as sticker enabled. This doesn't replace a full-blown emoji-picker - in particular, this approach doesn't allow for sending stickers that don't support sending as custom emote. But it's a first step to allow sending MSC2545 stickers from SchildiChat, and thus worth mentioning related to this issue.

bitokulo commented 1 year ago

given you can use Fluffy/nheko/Cinny for that and it'll carry over.

Another app shouldn't be needed, even more if one recommends a newcomer SchildiChat for Matrix, then we must say 'see this awesome feature we have here in Fluffychat? Yeah, you can't have over there'

SpiritCroc commented 10 months ago

There is a PR open on matrix-react-sdk, perhaps it could be adapted to the forked version here instead. The original PR seems to be in limbo sadly. matrix-org/matrix-react-sdk#9240

This issue is about Android, but matrix-react-sdk only applies to desktop/web.

DashieTM commented 10 months ago

This issue is about Android, but matrix-react-sdk only applies to desktop/web.

oh god, sorry, that's on me.