-
Notifications
You must be signed in to change notification settings - Fork 112
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
Kedro-Viz VS Extension Spike #1968
Comments
@astrojuanlu @rashidakanchwala After reviewing the Live Server extension and this Loom video, it seems these tools are primarily helpful for displaying web pages with URLs inside VSCode using its internal simple browser or the Live Server extension. However, they do not provide the required functionality for communication between the VSCode extension(Kedro) and the web app(Kedro-Viz). To achieve the desired communication mechanism, VSCode offers the WebView API, which appears to be a promising solution. Here are some relevant resources: I will continue to explore how the VSCode WebView API can be utilized to meet our use case effectively. |
Good find. That's what https://github.com/iterative/vscode-dvc seems to be using too |
@jitu5 did an impressive demo today to show the possibility to trigger "Go to definition" from the webview using the Webview API and kedro viz as a component. We discussed a few things as next steps:
|
Hi, This is the branch under the vscode-kedro repo, vizwebview, which has my latest changes. If you wanted to play around this please follow below steps.
|
Opened an isuse here kedro-org/vscode-kedro#56 |
Closing as the spike was finished, we have proper plan of tasks/release here: kedro-org/vscode-kedro#58 |
Description
Do a technical feasibility spike to determine how Kedro-viz can be embedded into VSCode as an extension.
Tasks to Investigate:
Embedding:
Determine whether to embed Kedro-viz as a React component or run it as a Live Preview using the Live Server extension or following this guy's example here
Communication Mechanism:
Explore how to enable communication between the code and Kedro-viz. For example:
Run Button:
Add a 'run' button in Kedro-viz next to the 'Run Command'. This button should copy/paste the 'run command' to the terminal and execute it.
Context
Why is this change important to you? How would you use it? How can it benefit other users?
Possible Implementation
(Optional) Suggest an idea for implementing the addition or change.
Possible Alternatives
(Optional) Describe any alternative solutions or features you've considered.
Checklist
The text was updated successfully, but these errors were encountered: