Emoji picker (Super+.): search, tabs, skin tones, recents, text-input-v3 insertion
CI / test (push) Canceled after 0s

Compositor-drawn Win+. style picker. The focused app keeps keyboard focus so
its text-input-v3 field stays enabled; the emoji goes in with commit_string,
or onto the clipboard with a visible notice when the app has no text field.
Shortcut lives in the shortcut table (rebindable in Settings > Shortcuts).

- compositor/wayland/text_input.mbt: zwp_text_input_manager_v3 (global 12)
- compositor/emoji: Emoji 18.0 + CLDR 49 data (Unicode License), search,
  picker model, CBDT/CBLC + GSUB reader for Noto Color Emoji
- Chandra's own pinned bitmap Noto Color Emoji (scripts/fetch-emoji-font.sh,
  just emoji-font); Fedora's COLRv1 copy can't be drawn. Missing font shows
  an error panel.
- raster WIT: emoji-font, emoji-has, emoji-image; served by wasmhost
- state.edn :emoji {:recent [...] :skin-tone n}
- tests incl. a fake text-input client; docs/emoji-picker.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hkABDGJixotaqFv2X2
This commit is contained in:
Claude committed 2026-11-26 07:00:22 +00:00
1 parent 738928352e
commit 27252a97ab
39 files changed
+4942 -41

No files matched your search

+15
View File
@@ -148,3 +148,18 @@ pub fn load_image(path : String) -> UInt {
}
}
}
///| Open the colour emoji font (on the host): its path, or what to tell the user.
pub fn emoji_font() -> Result[String, String] {
@hostraster.emoji_font()
}
///| For each of `texts`, whether the font has one picture for it.
pub fn emoji_has(texts : Array[String]) -> Array[Bool] {
@hostraster.emoji_has(texts)
}
///| The picture for emoji `text` scaled to fit `px` x `px`, for `Image` draw ops; 0 when none.
pub fn emoji_image(text : String, px : Int) -> UInt {
@hostraster.emoji_image(text, px)
}