-
Notifications
You must be signed in to change notification settings - Fork 28
Add top-level plots wizard #4586
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d61cbb7
wip
julieg18 0120b14
Undo eslint error
julieg18 e73ce3d
Fix stringified values
julieg18 fe6b487
Update yaml parser
julieg18 6a8f42b
Clean up solution
julieg18 07a0ae7
Rename variable names
julieg18 fe9e4ea
fix indent
julieg18 0a61ee1
Remove file validation
julieg18 c968d3f
Add jest tests for util.ts
julieg18 83d1e50
Simplify dvc.yaml update
julieg18 4dd0948
Update "create plot" command
julieg18 aae7024
Merge branch 'main' into add-plots-wizard
julieg18 91fe539
Add vscode tests
julieg18 feccf20
Add tests for parsing files
julieg18 606b710
Update yaml version
julieg18 dd840f3
Cleanup grammar typos and functions
julieg18 485269d
Clean up file names
julieg18 3039cd2
Add data file validation to plots wizard (#4627)
julieg18 91f45c0
Merge branch 'main' into add-plots-wizard
julieg18 0a0960f
Fix typo in pipeline tests
julieg18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -423,6 +423,12 @@ | |
| "category": "DVC", | ||
| "icon": "$(symbol-class)" | ||
| }, | ||
| { | ||
| "title": "Add Plot", | ||
| "command": "dvc.addTopLevelPlot", | ||
| "category": "DVC", | ||
| "icon": "$(add)" | ||
| }, | ||
| { | ||
| "title": "Show Plots", | ||
| "command": "dvc.showPlots", | ||
|
|
@@ -903,6 +909,10 @@ | |
| "command": "dvc.showPipelineDAG", | ||
| "when": "dvc.commands.available && dvc.project.available" | ||
| }, | ||
| { | ||
| "command": "dvc.addTopLevelPlot", | ||
| "when": "dvc.commands.available && dvc.project.available" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is currently available in the command pallette. |
||
| }, | ||
| { | ||
| "command": "dvc.showExperiments", | ||
| "when": "dvc.commands.available && dvc.project.available" | ||
|
|
@@ -1414,6 +1424,11 @@ | |
| "when": "view == dvc.views.experimentsFilterByTree && dvc.experiments.filtered", | ||
| "group": "navigation@3" | ||
| }, | ||
| { | ||
| "command": "dvc.addTopLevelPlot", | ||
| "when": "view == dvc.views.plotsPathsTree", | ||
| "group": "navigation@0" | ||
| }, | ||
| { | ||
| "command": "dvc.showPlots", | ||
| "when": "view == dvc.views.plotsPathsTree", | ||
|
|
@@ -1704,7 +1719,6 @@ | |
| "appdirs": "1.1.0", | ||
| "execa": "5.1.1", | ||
| "fs-extra": "11.1.1", | ||
| "js-yaml": "4.1.0", | ||
| "json-2-csv": "4.1.0", | ||
| "json5": "2.2.3", | ||
| "lodash.clonedeep": "4.5.0", | ||
|
|
@@ -1718,7 +1732,8 @@ | |
| "tree-kill": "1.2.2", | ||
| "uuid": "9.0.0", | ||
| "vega-util": "1.17.2", | ||
| "vscode-languageclient": "8.1.0" | ||
| "vscode-languageclient": "8.1.0", | ||
| "yaml": "2.3.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@swc/core": "1.3.82", | ||
|
|
@@ -1728,7 +1743,6 @@ | |
| "@types/copy-webpack-plugin": "10.1.0", | ||
| "@types/fs-extra": "11.0.1", | ||
| "@types/jest": "29.5.4", | ||
| "@types/js-yaml": "4.0.5", | ||
| "@types/lodash.clonedeep": "4.5.7", | ||
| "@types/lodash.get": "4.4.7", | ||
| "@types/lodash.isempty": "4.4.7", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "Add Top-Level Plot" to better differentiate between "Add Custom Plot"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ok for now.