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

fix: handle missing spaces around @ mentions in cody chat #6842

Merged
merged 4 commits into from
Jan 28, 2025

Conversation

bahrmichael
Copy link
Contributor

@bahrmichael bahrmichael commented Jan 28, 2025

This PR updates cody chat to also use proper regex splitting.

Manual verification that it can handle spaces in the chat:

Screenshot 2025-01-28 at 15 09 37

Test plan

Unit tests + manual testing

@bahrmichael bahrmichael changed the title bahrmichael/fix-serialized-in-chat fix: handle missing spaces around @ mentions in cody chat Jan 28, 2025
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.

LGTM. We tested for some edge cases, which got missed in the fix here: #6837

This handles them correctly.

@thenamankumar thenamankumar enabled auto-merge (squash) January 28, 2025 14:11
@thenamankumar thenamankumar merged commit 6e8d30d into main Jan 28, 2025
23 checks passed
@thenamankumar thenamankumar deleted the bahrmichael/fix-serialized-in-chat branch January 28, 2025 14:14
bahrmichael added a commit that referenced this pull request Jan 28, 2025
… cody chat (#6844)

This PR updates cody chat to also use proper regex splitting.

Manual verification that it can handle spaces in the chat:

<img width="536" alt="Screenshot 2025-01-28 at 15 09
37"
src="https://github.com/user-attachments/assets/9bb65e34-533c-41a6-9c5b-f2133f550bc9"
/>


## Test plan

Unit tests + manual testing
 <br> Backport 6e8d30d from #6842

Co-authored-by: Michael Bahr <1830132+bahrmichael@users.noreply.github.com>
bahrmichael added a commit that referenced this pull request Jan 28, 2025
…s in cody chat (#6843)

This PR updates cody chat to also use proper regex splitting.

Manual verification that it can handle spaces in the chat:

&lt;img width=&quot;536&quot; alt=&quot;Screenshot 2025-01-28 at 15 09
37&quot;
src=&quot;https://github.com/user-attachments/assets/9bb65e34-533c-41a6-9c5b-f2133f550bc9&quot;
/&gt;


## Test plan

Unit tests + manual testing
 <br> Backport 6e8d30d from #6842

Co-authored-by: Michael Bahr <1830132+bahrmichael@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants