Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(textinput): rename event payload properties for spelling and grammer callbacks #2299

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

Saadnajmi
Copy link
Collaborator

@Saadnajmi Saadnajmi commented Nov 30, 2024

Note

#2290 must merge first

Summary:

macOS TextInput has some specific "Spelling And Grammar" properties that can be enabled or disabled by the user. We had events/callbacks to listen for these changes, with a simple "enabled" as the payload. While working on #2290 I realized it would make more sense to have seprate payloads for each event (spellCheckEnabled, etc). This is however, a breaking change, as it changes what is sent to JS.

Test Plan:

Testing...

BREAKING CHANGE: textinput spelling and grammar callbacks event changed

@Saadnajmi Saadnajmi requested a review from a team as a code owner November 30, 2024 06:02
@Saadnajmi Saadnajmi changed the title refactor(textinput): rename event payload properties for SettingChangeEvent refactor(textinput): rename event payload properties for spelling and grammer callbacks Nov 30, 2024
@Saadnajmi Saadnajmi force-pushed the fabric/text-input-grammer-2 branch from 240a75f to a974384 Compare December 1, 2024 07:09
@Saadnajmi Saadnajmi force-pushed the fabric/text-input-grammer-2 branch from 6ea9b25 to 4db3790 Compare January 16, 2025 16:21
@Saadnajmi Saadnajmi force-pushed the fabric/text-input-grammer-2 branch from 4db3790 to f6e2935 Compare January 16, 2025 16:22
@Saadnajmi Saadnajmi merged commit 8cc0520 into microsoft:main Jan 21, 2025
12 checks passed
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