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

space key no longer triggers commit of selected mention item #4154

Merged
merged 1 commit into from May 16, 2024

Conversation

sqs
Copy link
Member

@sqs sqs commented May 11, 2024

This behavior existed to preserve parity with the pre-Lexical-editor behavior, but I think we should remove it because it will interfere with more complex @-mentions where the "query" does need to include spaces. (For example, think about @-mentioning a title of a doc with spaces in it.)

Test plan

CI

@sqs sqs requested review from a team May 11, 2024 12:57
@sqs sqs force-pushed the sqs/at-mention-spacebar branch from 9b6cb4e to 3cf3f4d Compare May 11, 2024 12:57
Copy link
Member

@thenamankumar thenamankumar left a comment

Choose a reason for hiding this comment

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

I see the SpaceKeyTrigger being removed but are we already capturing the tab? Just wanted to confirm.

Otherwise LGTM.

This behavior existed to preserve parity with the pre-Lexical-editor behavior, but I think we should remove it because it will interfere with more complex @-mentions where the "query" does need to include spaces. (For example, think about @-mentioning a title of a doc with spaces in it.)
@sqs sqs force-pushed the sqs/at-mention-spacebar branch from c6523a0 to 2ec850e Compare May 16, 2024 03:18
@sqs
Copy link
Member Author

sqs commented May 16, 2024

Confirmed Tab still works.

@sqs sqs enabled auto-merge (squash) May 16, 2024 03:20
@sqs sqs merged commit 1d3f665 into main May 16, 2024
18 of 19 checks passed
@sqs sqs deleted the sqs/at-mention-spacebar branch May 16, 2024 03:23
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.

None yet

2 participants