Helloo! With few Bluesky clients implementing Bluemoji, there has been conversation around emoji reactions on posts. I feel like standardizing here or having some discussion around it might be worth it. This topic has been touched on before on GitHub, but has been lost during the move to Tangled, so more reasons to restart it.
Here’s my rough vision as a conversation starter:
{
"lexicon": 1,
"id": "community.lexicon.interaction.reaction",
"defs": {
"main": {
"type": "record",
"key": "tid",
"record": {
"type": "object",
"required": [
"createdAt",
"subject",
"value"
],
"properties": {
"createdAt": {
"type": "string",
"format": "datetime"
},
"subject": {
"type": "ref",
"ref": "com.atproto.repo.strongRef"
},
"value": {
"type": "union",
"refs": [
"#unicodeEmoji"
]
}
}
}
},
"unicodeEmoji": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"minGraphemes": 1,
"maxGraphemes": 1
}
}
}
}
}
Most important parts to me is that the value of the reaction is an open union to allow different emoji lexicons and leave it up to consumers if they accept them or not. I don’t think strongRef is good idea here, since for example the emoji lexicon I’m working on right now expects to be edited and conveys immutable data inside the rkey, which is just a emoji’s blob CID.
Also I feel like including some standardized way to represent the Unicode emojis makes sense, be it within this lexicon or a separate definition. Other way I could see it represented is inside the record itself, which could also act as a fallback.
Mainly starting this topic so people have a place for discussion. I’m not sure if I’ll be able to steward this, if there’s a consensus for standardization under here, but hopefully somebody else will be able to pick it up.
