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

Chat: fix welcome messages in chat view #3155

Merged
merged 7 commits into from
Feb 13, 2024
Merged

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Feb 13, 2024

CLOSE #3085

The regex for allowed URIs in chat messages was updated to allow additional custom URI schemes like 'command:cody.*'. This allows linking directly to Cody guides and other custom VS Code commands from within the chat.

Previously only the _cody.vscode.open command is allowed in the chat view, which blocked the Cody Commands and Getting Started Guide commands from working in the chat view.

This PR adds the command:cody. prefix to fix the aforementioned issue.

image

Test plan

Click on the Cody Commands and Getting Started Guide links in a new chat to make sure they work:

Screen.Recording.2024-02-13.at.7.51.33.AM.mov

@abeatrix abeatrix requested review from umpox and a team February 13, 2024 15:55
@abeatrix abeatrix changed the title Chat: allows cody commands in chat view Chat: fix welcome messages in chat view Feb 13, 2024
@abeatrix abeatrix merged commit 4756dc7 into main Feb 13, 2024
17 of 19 checks passed
@abeatrix abeatrix deleted the bee/fix-welcome-links branch February 13, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants