DrupalPod icon indicating copy to clipboard operation
DrupalPod copied to clipboard

Adding interactivity to the Getting Started page

Open mradcliffe opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe

Follow-up from #27

Instead of telling of users how to find something with text we should use links or buttons to open or focus the relevant panel of VS Code.

Describe the solution you'd like

It should be possible to use a messaging pattern to communicate between the extension's panel html and the extension itself.

There's a postMessage method available on window.parent in a WebView DOM, and then the extension can listen for those messages. And vice versa.

The extension can then invoke other parts of VS Code API to open different parts of the site.

Describe alternatives you've considered

Additional context

mradcliffe avatar Sep 15 '21 21:09 mradcliffe