Skip to content

fix(suggest): only personal dictionary shortcuts override the typed word - #932

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/emoji-shortcut-autocorrect
Nov 26, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/emoji-shortcut-autocorrect

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Since #924 (4.3.7 beta 2, also in 4.3.7 stable) any exactly matched shortcut was moved first and auto-corrected, even over a valid word. The source dictionary was not checked, so emoji dictionary shortcuts replaced words with emojis. #931 exempted exact shortcuts, so it did not cover this.

Fix: the rule now requires the personal dictionary as the source.

Verification: the new test failed before the change; all of SuggestTest passes after it. The test simulates an emoji dictionary shortcut.

https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk

The exact-shortcut rule from #924 did not check the source dictionary.
Shortcuts of other dictionaries, such as the emoji dictionary, were moved
to the first position and auto-corrected, even over a valid typed word.

Claude-Session: https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk
@LeanBitLab
LeanBitLab merged commit 6cf7b60 into main Nov 26, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/emoji-shortcut-autocorrect branch November 26, 2026 11:15
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.

1 participant