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

Add chat interface #844

Closed
wants to merge 4 commits into from
Closed

Add chat interface #844

wants to merge 4 commits into from

Conversation

dustinbyrne
Copy link
Contributor

@dustinbyrne dustinbyrne commented Nov 16, 2023

image

Comment on lines 42 to 48
case 'send': {
panel.webview.postMessage({
type: 'response',
message: 'Message received: ' + message.message,
});
break;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is basically the entire API. When the user sends a message, this send event is handled. To respond,

panel.webview.postMessage({
  type: 'response',
  message: 'Your message here',
});

@dustinbyrne
Copy link
Contributor Author

VSIX appmap-0.107.0-rc1.zip

@dustinbyrne dustinbyrne closed this Apr 1, 2024
@dustinbyrne dustinbyrne deleted the feat/chat branch April 1, 2024 20:32
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.

1 participant