Closed xbtmatt closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
emojicoin-dot-fun | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 16, 2024 8:53pm |
emojicoin-dot-fun-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 16, 2024 8:53pm |
Description
The frontend right now uses the emoji regex/emoji picker library data for chat emojis. This isn't totally accurate, because the chat emojis for the
emojicoin_dot_fun.move
contract is actually a subset of all chat emojis.This means currently, there's a few emojis that would cause the frontend to throw an error when a user tries to submit a chat message with them.
In order to more accurately match the data on-chain, I've added the chat emoji data to the typescript data, akin to the
symbol-emojis.json
data.This also adds custom types like
ChatEmoji
that gives us IDE suggestions, as well asSymbolEmojiName
andChatEmojiName
types.chat-emojis.json
Testing
Checklist