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

VIDCS-3254: Update ChatInput.tsx to fix message sent during composition #14

Merged
merged 7 commits into from
Jan 27, 2025

Conversation

mobilebiz
Copy link
Contributor

@mobilebiz mobilebiz commented Jan 16, 2025

Fixed a bug that caused text to be incorrectly posted during conversion when using double-byte characters (e.g., Japanese).

What is this PR doing?

A new variable, isComposing, is created to hold the state of the conversion mode.
The enter key is disabled during conversion.
Get the onCompositionStart and onCompositionEnd events of the chat text field and change the state of isComposing.

How should this be manually tested?

Input double-byte characters in the chat field.

What are the relevant tickets?

Resolves VIDCS-3254

Fixed a bug that caused text to be incorrectly posted during conversion when using double-byte characters (e.g., Japanese).
@maikthomas maikthomas changed the title Update ChatInput.tsx VIDCS-3254: Update ChatInput.tsx to fix message sent during composition Jan 16, 2025
@maikthomas
Copy link
Contributor

@mobilebiz thank you for your contribution! I am able to reproduce this bug and have created a ticket to track it on our side.

We will validate the fix and will probably need to add an automated test, check our CI, and get this fix included as soon as possible.

Copy link
Contributor

@maikthomas maikthomas left a comment

Choose a reason for hiding this comment

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

Thanks for adding the test @behei-vonage!
Please see the line I think can be removed 🙏

maikthomas
maikthomas previously approved these changes Jan 23, 2025
Copy link
Contributor

@maikthomas maikthomas left a comment

Choose a reason for hiding this comment

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

LGTM! We still need to sort out our CI issues before merging

cpettet
cpettet previously approved these changes Jan 23, 2025
Copy link
Contributor

@cpettet cpettet left a comment

Choose a reason for hiding this comment

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

LGTM Great job! :shipit:

@dwivedisachin dwivedisachin changed the base branch from main to develop January 24, 2025 10:22
@dwivedisachin dwivedisachin dismissed stale reviews from cpettet and maikthomas January 24, 2025 10:22

The base branch was changed.

Copy link
Contributor

@maikthomas maikthomas left a comment

Choose a reason for hiding this comment

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

Reviewed and tested, LGTM!

Copy link
Collaborator

@dwivedisachin dwivedisachin left a comment

Choose a reason for hiding this comment

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

Tested integration tests locally, LGTM!!

@dwivedisachin dwivedisachin merged commit 6355204 into Vonage:develop Jan 27, 2025
4 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.

5 participants