Repository navigation
Filter newer emoji by minimum macOS version - #339
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
macos_versionmetadata and filter the selectable catalog using React Native's existing fullPlatform.Versionvalue; no native bridge change or OS-minimum increase.cp:persistence encoding, text symbols, and catalog entries from Add missing Emoji 14.0 and 15.0 entries #338.Skin-tone selection and Emoji 18.0 are deliberately out of scope.
Compatibility
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.26.6.2; its native picker rendered orca as the first result fororca.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 typecheckreports the same four diagnostics observed before this PR: twoURL.hosterrors insrc/components/Favicon.tsx, andLegendListclassNameprop errors insrc/widgets/emojis.widget.tsxandsrc/widgets/settings/items.tsx.No additional TypeScript diagnostics were reported; those unrelated type issues remain outside this change.