Skip to content

Filter newer emoji by minimum macOS version - #339

Merged
ospfranco merged 2 commits into
ospfranco:mainfrom
vexlin:feat/emoji-macos-compatibility
Oct 14, 2026
Merged

ospfranco merged 2 commits into
ospfranco:mainfrom
vexlin:feat/emoji-macos-compatibility

Conversation

@vexlin

@vexlin vexlin commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Dependency

Depends on #338, which completes the default catalog through Emoji 15.0.
This PR is a draft for sequencing only; the compatibility implementation and local verification are complete.
Until #338 merges, the upstream diff includes that PR's catalog refresh.
Review only the compatibility changes.

Summary

  • Add the remaining 44 default emoji through Emoji 17.0: 28 from 15.1, eight from 16.0, and eight from 17.0.
  • Add optional macos_version metadata and filter the selectable catalog using React Native's existing full Platform.Version value; no native bridge change or OS-minimum increase.
  • Use numeric major/minor/patch comparisons with minimum-version semantics, so future macOS releases automatically retain support for existing entries.
  • Exclude unsupported emoji from browsing, search, and visible favorites while retaining their saved usage counts.
  • Keep the existing seven-supported-favorites limit and replacement behavior; hidden entries neither consume those slots nor get evicted by new selections.
  • Resolve insertion from the displayed rows so hidden favorites and empty padded cells cannot shift the selected emoji.
  • Preserve the existing cp: persistence encoding, text symbols, and catalog entries from Add missing Emoji 14.0 and 15.0 entries #338.
  • Document compatibility thresholds and add focused native-free regression tests without new dependencies.

Skin-tone selection and Emoji 18.0 are deliberately out of scope.

Compatibility

Emoji additions Minimum macOS
Through 15.0 14.0, Sol's existing minimum
15.1 14.4
16.0 15.4
17.0 26.4

Sources: pinned Unicode 17.0 data, Apple Sonoma updates, Apple Sequoia updates, and Apple Tahoe updates.

Entries without a newer minimum remain available on all supported macOS releases.
On upgrade, formerly hidden favorites participate in the normal top-seven ranking; still-unsupported counts remain retained.

Verification

  • bun test src/lib/emojiCompatibility.test.js: 18 passed, 0 failed.
  • Catalog audit: 1,924 unique entries, all 44 additions match official descriptions and the required macOS thresholds, all 1,880 entries from Add missing Emoji 14.0 and 15.0 entries #338 preserved exactly, no missing default emoji through 17.0.
  • Temporary real-store integration smoke in isolated processes with simulated macOS versions 14.0.0, 14.3.9, 14.4.0, 14.10.0, 15.3.9, 15.4.0, 26.3.9, 26.4.0, and 27.0.0: browsing/search availability, visible favorites, native-boundary selection, padding, persistence, and hidden-history preservation all passed.
  • Native Debug build succeeded on macOS 26.6.2 (Apple silicon), Xcode 26.5, using local signing overrides.
  • The running app reported full macOS version 26.6.2; its native picker rendered orca as the first result for orca.
  • After reauthorizing the rebuilt local app in Accessibility, the real selection/native insertion path inserted exactly 🐦‍🔥🫆🫍 into a temporary TextEdit document.
  • The selected orca usage count survived a native app restart; pre-test user favorites were restored afterward.

Verification limits

Older macOS versions were simulated at the React Native platform boundary, not tested on physical machines or VMs.
Native selection was driven through the debug runtime rather than physical keyboard/mouse automation.

bun run typecheck reports the same four diagnostics observed before this PR: two URL.host errors in src/components/Favicon.tsx, and LegendList className prop errors in src/widgets/emojis.widget.tsx and src/widgets/settings/items.tsx.
No additional TypeScript diagnostics were reported; those unrelated type issues remain outside this change.

@ospfranco
ospfranco marked this pull request as ready for review October 14, 2026 13:27
@ospfranco
ospfranco merged commit 76abc42 into ospfranco:main Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants