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: at mentions should allow more special characters #7500

Merged
merged 9 commits into from
Mar 26, 2025

Conversation

bahrmichael
Copy link
Contributor

@bahrmichael bahrmichael commented Mar 21, 2025

Closes CODY-5443

Screen.Recording.2025-03-26.at.14.14.48.mov

Test plan

New unit tests, manual testing (see video above)

@bahrmichael bahrmichael requested review from a team and thenamankumar and removed request for a team March 25, 2025 15:31
@@ -235,7 +235,7 @@ export function splitToWords(s: string): string[] {
* - "cody://tabs." -> matches "cody://tabs"
* - "cody://serialized.v1?data=123_." -> matches "cody://serialized.v1?data=123_"
*/
const pattern = /(cody:\/\/(?:serialized[^_]+_|[^_\s.]+))/
Copy link
Member

Choose a reason for hiding this comment

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

Should the above comment be updated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, good catch!

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, having a demo video to make sure it works, would be good.

@bahrmichael bahrmichael enabled auto-merge (squash) March 26, 2025 12:13
@bahrmichael bahrmichael disabled auto-merge March 26, 2025 12:13
@bahrmichael bahrmichael enabled auto-merge (squash) March 26, 2025 13:16
@bahrmichael bahrmichael disabled auto-merge March 26, 2025 13:19
@bahrmichael bahrmichael enabled auto-merge (squash) March 26, 2025 13:24
@bahrmichael bahrmichael disabled auto-merge March 26, 2025 13:43
@bahrmichael bahrmichael enabled auto-merge (squash) March 26, 2025 14:36
@bahrmichael bahrmichael merged commit 9672f44 into main Mar 26, 2025
19 of 22 checks passed
@bahrmichael bahrmichael deleted the bahrmichael/mentions-allow-more-special-characters branch March 26, 2025 14:43
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