-
Notifications
You must be signed in to change notification settings - Fork 29
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 Data tree view section panel to DVC Explorer #45
Comments
example looks strange a bit since it doesn't show
is there a better way to integrate this? |
I copied that example from dvc docs. Yes, that data tree view will also have actual tracked data files listed similar to what Organizing views in the sidebar using separate expand/collapse sections is fairly standard for different files and outlines display. Since we have a dedicated DVC sidebar we should probably stick with that vscode UX and best practices and just create different views for DVC files, remotes, data pipeline outline display, etc. |
Looking at the getting started example in vscode, I think we should have custom Then we can attach open file actions for the data/script files in a custom data pipeline tree. @shcheklein your thoughts on this? I've been looking through what gets pulled and added by dvc and if we need to go beyond attaching custom actions to the file explorer I started listing in #41 I think custom Data Pipeline Outilne could be a part of that DVC sidebar. |
@RandomFractals I think yes, but it sounds like it's about #47, not #2 . I would not focus on anything related to |
yeah, #47 is for the node graph webview. I just noticed that default yaml outline is not good for us. Will leave it for now. |
snapshot of built-in vscode file explorer from dvc get started project after running
@shcheklein so, you think our custom dvc tree view should display grayed out file tree structure without running for a quick reference, here are the docs on custom vscode tree view: https://code.visualstudio.com/api/extension-guides/tree-view They cover what's doable with vscode tree view api and data provider. we could also see if implementing custom |
Closing as we are starting again with #137 |
Add a custom DVC tree view interface that would mimic regular file explorer but show only dvc tracked data and data pipelines configuration files. See
dvc list
for more info.Additionally, display stages, dependencies, params and outputs nodes for
dvc.yaml
data pipeline files to provide tree view outline for those configs.DVC Workspace Data tree Example
User Experience Notes
Clicking on the dvc-tracked or config files in this tree view will open the corresponding content editor in vscode.
Each folder and data file or dvc config will have dvc command menu items attached for data versioning, dvc checkout, commit, etc. See #2 and #41 for the data file actions to expose via this tree view.
Note: this DVC Data tree view and Remotes List view outlined in #42 will be separate expand/collapse sections in the new custom DVC Explorer. We'll probably add more sections to that sidebar view for experiments, data file revisions list display, etc. later.
The text was updated successfully, but these errors were encountered: