Repository navigation
Add preferred emoji skin tone setting - #340
Merged
Merged
Conversation
Owner
|
Get rid of the search item, leave it in the settings, keep it simple |
Contributor
Author
|
Done in bde928f: removed the skin-tone launcher search actions and their window-display handling. The preference now lives only in Settings → General → Emoji Skin Tone. Updated the helper text, README, and PR description. All 23 emoji tests pass; verified the removed search actions and retained setting in the refreshed debug app. |
vexlin
marked this pull request as ready for review
October 20, 2026 03:02
Contributor
Author
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 and review scope
Prerequisites #338 (catalog refresh) and #339 (macOS emoji compatibility) are now merged.
This PR adds the preferred skin-tone setting.
Behavior
Review feedback addressed
Removed the six skin-tone launcher search actions and their window-display handling, as requested.
The preference remains in Settings only; the normal Emoji Picker launcher entry is unchanged.
Updated the Settings helper text and README to remove the launcher instructions.
Unicode and compatibility
Use the fully-qualified uniform-tone variants in Unicode Emoji 17.0: 330 emoji families and 1,650 tone variants.
Store one exact light-tone sequence per family, then substitute its modifier at the Unicode-defined positions.
This handles variation selectors, ZWJ sequences, and same-tone multi-person emoji without blindly appending a modifier.
The Unicode source and redistribution notice accompany the data.
Variant compatibility is independent of the default emoji's age.
For example, bunny-ear and wrestling emoji existed earlier, but their new tone variants require macOS 26.4.
The existing numeric minimum-version comparison also accepts future macOS releases automatically.
No new runtime dependency, network request, or macOS deployment-target change.
Mixed tones for individual people and one-off overrides are outside this global-preference feature.
Verification
After the review changes
bun test src/lib/emojiCompatibility.test.js src/lib/emojiSkinTones.test.js: 23 passed, 0 failed.emoji skin tonereturns no skin-tone actions, while searchingemojistill includes Emoji Picker.Original feature verification (before the review changes)
bun run typecheckreported four pre-existing diagnostics: twoURL.hosterrors inFavicon.tsxand two LegendListclassNameerrors in the emoji/settings item lists; no additional diagnostics.Typecheck was not rerun for the review-only removal.
Limitation: older macOS releases were not available for native font/rendering or end-to-end insertion testing.
Compatibility boundaries were exercised programmatically, not on older hardware.