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

Sending KeyEvents from IME #1297

Merged
merged 8 commits into from
Apr 26, 2024
Merged

Conversation

Schahen
Copy link
Collaborator

@Schahen Schahen commented Apr 19, 2024

Release Notes

Features - Web

  • Basic IME keyboard support

@Schahen Schahen marked this pull request as draft April 19, 2024 16:16
@Schahen Schahen marked this pull request as ready for review April 26, 2024 13:15
@Schahen
Copy link
Collaborator Author

Schahen commented Apr 26, 2024

Merged jb-main since it contained fixes for failing pipeline

Copy link
Member

@MatkovIvan MatkovIvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code LGTM, but I'd wait second reviewer

@@ -37,7 +37,9 @@ internal class WebImeInputService(parentInputService: InputAwareInputService) :
onEditCommand: (List<EditCommand>) -> Unit,
onImeActionPerformed: (ImeAction) -> Unit
) {
backingTextArea = BackingTextArea(imeOptions, onEditCommand, onImeActionPerformed)
backingTextArea = BackingTextArea(imeOptions, onEditCommand, onImeActionPerformed) { evt ->
sendKeyEvent(evt)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this receives multiple callbacks, I'd prefer named parameters instead of trailing lambda syntax

Copy link
Collaborator

@igordmn igordmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please, add Release Notes as in the template

@Schahen Schahen merged commit a82ef0f into jb-main Apr 26, 2024
3 checks passed
@Schahen Schahen deleted the shagen/ime-keyboard-with-keyboard-events branch April 26, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants