Repository navigation
Replies: 1 comment
|
+1. I hit exactly this. I built a quick version in a private fork to try it. Searching only Unicode names works, but the names are often archaic (☀️ is "black sun with rays", ✴️ is "eight pointed black star"), so the keyword list in your proposal matters more than it first looks. Word-start matching and the stable grid height both sound right. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
The Emoji tab of the project icon picker (Settings → Projects → a project → Project icon) shows 30 fixed emoji and a text field labelled "Paste an emoji". The field looks like a search box, sitting right where the Icons tab has its working search, but typing a word does nothing. Finding anything outside the 30 means opening the OS emoji picker and pasting.
Proposed behaviour
One "Search or paste an emoji" field above the grid, matching the Icons tab:
fire,flameorlitall find 🔥. Exact name matches rank first, then other name matches, then keyword matches, capped at 60 results like the icon search. Matches start at a word, soiredoesn't matchfire.Implementation
The change is web-only and doesn't touch contracts or saved icons. Mobile only renders project icons and has no picker.
emojilib(MIT), a single 265 KB JSON of emoji to CLDR name plus keywords. I picked it overemojibase-databecause it's smaller and has the informal keywords people actually type. It's imported only by the icon picker dialog, whichProjectSettingsPanelalready loads lazily, so the main bundle doesn't grow.filterProjectEmojisnext tofilterProjectIconNamesinapps/web/src/projectIconOptions.ts, a test beside the existing ones, and the field and padded grid inProjectIconPickerDialog.tsx.pingdotgg/t3code#16097 (
:shortcode:autocomplete in the composer) would need the same kind of emoji data, so the choice of dataset may matter beyond this picker.Ready if you want it
The branch is ready in my fork: kixelated/t3code
project-emoji-search.vp run check:changedpasses. I haven't opened a PR, per CONTRIBUTING; if this direction and scope look right, I'll open one, or you're welcome to take the change as-is.(Written by Claude Opus 5.5)
All reactions