mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
X tester (Brandon McConnell): "The hitbox size for the emoji category buttons in the emoji picker is really small, making it difficult to quickly navigate the emoji picker", and "should be able to swipe through these emoji categories, which is currently unsupported." Black box, Apple's emoji keyboard (iPhone 17 simulator, iOS 27.2, Safari, HID touch paths): the grid scrolls sideways, sections left to right, emoji filling each column top to bottom. A tap on a category jumps the grid to its start when the finger lifts (a held finger moves nothing). A finger sliding along the bar scrubs the grid live and continuously: each icon's slot runs through its own category (its left edge at the category's start, its right edge at the next one's), the grid staying where the finger lifts. Scrolling the grid by hand moves the bar's chip. While scrubbing Apple's bar shows a capsule behind every icon and hides the chip; Hex keeps #2142's chip and moves it with the finger. The simulator has no haptics, so whether Apple's bar ticks is unknown; Hex gives the light selection tick it gives the skin tones, per new category, when haptics are allowed. EmojiCategoryBar now tracks the touch itself instead of one UIButton per category: a tap selects on lift, a move past 8 pt starts a scrub that reports the category under the finger and how far across its slot, and its buttons only draw and speak (VoiceOver activates them through accessibilityActivate). EmojiPanelView's band routing (#2142) now hands every touch under the grid between ABC and delete to the bar, so each category takes the full height to the panel's bottom edge and the full width of its slot (32.6 pt on a 402 pt iPhone); it maps a scrub onto the grid (scrub(toSection:fraction:)), and while a finger scrubs the grid follows the bar rather than the other way round. Live (iPhone 17 Pro simulator, Release, Hex keyboard in a Safari field): taps at y 797 (under the icons, at the panel's bottom edge) and y 760 (between the grid and the icons) open Food and drink and Travel and places; sliding from Frequently used to Symbols moves the grid through every category with the chip under the finger. Memory (footprint, one run): tapping every category peaked at 44.5 MB and scrolling past every emoji by hand at 44.4; one slide across five categories peaked at 46.0, three slides back and forth across the bar at 47.5 and ten at 48.3, back to 42-43 MB resident after. Scrubbing redraws a screen of emoji per move, so its peak sits 1.5-4 MB over browsing; throttling it to 30 or 15 Hz only took off about 1 MB, so it isn't. Tests: EmojiSuggesterTests testTheBarsKeysTakeTheWholeBandUnderTheGrid now checks the bar takes every point of every slot from the grid to the panel's edge (it checked the buttons), and testSlidingAlongTheBarScrubsTheGrid covers tap on lift, a small move staying a tap, the scrub through every category with one tick each, the grid moving within a category, the end of the bar at the end of the grid, and the chip following a hand scroll. Full HEXMobileTests: 530 run, 0 failed, 1 skipped. |
||
| .. | ||
| emoji-index-de.txt | ||
| emoji-index-en.txt | ||
| emoji-index-es.txt | ||
| emoji-index-nb.txt | ||
| EmojiGlyphs.swift | ||
| EmojiLibrary.swift | ||
| EmojiPanelView.swift | ||
| EmojiSuggester.swift | ||
| EmojiUsageStore.swift | ||
| EmojiViews.swift | ||
| LICENSE-Unicode.txt | ||