Skip to content

Commit a9af582

Browse files
authored
Swap codicons for Reset and Run/Resume experiment (#1880)
1 parent 9baecc8 commit a9af582

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

extension/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"title": "%command.modifyExperimentParamsAndResume%",
246246
"command": "dvc.modifyExperimentParamsAndResume",
247247
"category": "DVC",
248-
"icon": "$(play)"
248+
"icon": "$(debug-continue-small)"
249249
},
250250
{
251251
"title": "%command.modifyExperimentParamsAndRun%",
@@ -257,7 +257,7 @@
257257
"title": "%command.modifyExperimentParamsResetAndRun%",
258258
"command": "dvc.modifyExperimentParamsResetAndRun",
259259
"category": "DVC",
260-
"icon": "$(debug-rerun)"
260+
"icon": "$(play)"
261261
},
262262
{
263263
"title": "%command.queueExperiment%",
@@ -321,7 +321,7 @@
321321
"title": "%command.resumeCheckpointExperiment%",
322322
"command": "dvc.resumeCheckpointExperiment",
323323
"category": "DVC",
324-
"icon": "$(play)"
324+
"icon": "$(debug-continue-small)"
325325
},
326326
{
327327
"title": "%command.startExperimentsQueue%",
@@ -333,7 +333,7 @@
333333
"title": "%command.resetAndRunCheckpointExperiment%",
334334
"command": "dvc.resetAndRunCheckpointExperiment",
335335
"category": "DVC",
336-
"icon": "$(debug-rerun)"
336+
"icon": "$(play)"
337337
},
338338
{
339339
"title": "%command.selectForCompare%",
@@ -434,13 +434,13 @@
434434
"title": "%command.views.experimentsTree.resumeCheckpointExperiment%",
435435
"command": "dvc.views.experimentsTree.resumeCheckpointExperiment",
436436
"category": "DVC",
437-
"icon": "$(play)"
437+
"icon": "$(debug-continue-small)"
438438
},
439439
{
440440
"title": "%command.views.experimentsTree.resetAndRunCheckpointExperiment%",
441441
"command": "dvc.views.experimentsTree.resetAndRunCheckpointExperiment",
442442
"category": "DVC",
443-
"icon": "$(debug-rerun)"
443+
"icon": "$(play)"
444444
},
445445
{
446446
"title": "%command.views.experimentsTree.selectExperiments%",
@@ -883,22 +883,22 @@
883883
"when": "dvc.experiment.running && dvc.commands.available"
884884
},
885885
{
886-
"command": "dvc.resumeCheckpointExperiment",
886+
"command": "dvc.resetAndRunCheckpointExperiment",
887887
"group": "navigation@1",
888888
"when": "dvc.experiments.webviewActive && !dvc.experiment.running && dvc.commands.available && dvc.experiment.checkpoints"
889889
},
890890
{
891-
"command": "dvc.resumeCheckpointExperiment",
891+
"command": "dvc.resetAndRunCheckpointExperiment",
892892
"group": "navigation@1",
893893
"when": "dvc.params.fileActive && !dvc.experiment.running && dvc.commands.available && dvc.experiment.checkpoints"
894894
},
895895
{
896-
"command": "dvc.resetAndRunCheckpointExperiment",
896+
"command": "dvc.resumeCheckpointExperiment",
897897
"group": "navigation@2",
898898
"when": "dvc.experiments.webviewActive && !dvc.experiment.running && dvc.commands.available && dvc.experiment.checkpoints"
899899
},
900900
{
901-
"command": "dvc.resetAndRunCheckpointExperiment",
901+
"command": "dvc.resumeCheckpointExperiment",
902902
"group": "navigation@2",
903903
"when": "dvc.params.fileActive && !dvc.experiment.running && dvc.commands.available && dvc.experiment.checkpoints"
904904
},
@@ -1035,12 +1035,12 @@
10351035
"when": "view == dvc.views.experimentsTree && dvc.commands.available && viewItem =~ /^(workspace|branch|experiment|queued)$/ && !dvc.experiment.running && !dvc.experiment.checkpoints"
10361036
},
10371037
{
1038-
"command": "dvc.views.experimentsTree.resumeCheckpointExperiment",
1038+
"command": "dvc.views.experimentsTree.resetAndRunCheckpointExperiment",
10391039
"group": "1_modify@1",
10401040
"when": "view == dvc.views.experimentsTree && dvc.commands.available && viewItem =~ /^(workspace|branch|experiment|queued)$/ && !dvc.experiment.running && dvc.experiment.checkpoints"
10411041
},
10421042
{
1043-
"command": "dvc.views.experimentsTree.resetAndRunCheckpointExperiment",
1043+
"command": "dvc.views.experimentsTree.resumeCheckpointExperiment",
10441044
"group": "1_modify@2",
10451045
"when": "view == dvc.views.experimentsTree && dvc.commands.available && viewItem =~ /^(workspace|branch|experiment|queued)$/ && !dvc.experiment.running && dvc.experiment.checkpoints"
10461046
},
@@ -1112,12 +1112,12 @@
11121112
"group": "1_run@1"
11131113
},
11141114
{
1115-
"command": "dvc.resumeCheckpointExperiment",
1115+
"command": "dvc.resetAndRunCheckpointExperiment",
11161116
"when": "view == dvc.views.experimentsTree && !dvc.experiments.webviewActive && !dvc.experiment.running && dvc.experiment.checkpoints",
11171117
"group": "1_run@1"
11181118
},
11191119
{
1120-
"command": "dvc.resetAndRunCheckpointExperiment",
1120+
"command": "dvc.resumeCheckpointExperiment",
11211121
"when": "view == dvc.views.experimentsTree && !dvc.experiments.webviewActive && !dvc.experiment.running && dvc.experiment.checkpoints",
11221122
"group": "1_run@2"
11231123
},
@@ -1127,12 +1127,12 @@
11271127
"group": "navigation@1"
11281128
},
11291129
{
1130-
"command": "dvc.resumeCheckpointExperiment",
1130+
"command": "dvc.resetAndRunCheckpointExperiment",
11311131
"when": "view == dvc.views.experimentsTree && dvc.experiments.webviewActive && !dvc.experiment.running && dvc.experiment.checkpoints",
11321132
"group": "navigation@1"
11331133
},
11341134
{
1135-
"command": "dvc.resetAndRunCheckpointExperiment",
1135+
"command": "dvc.resumeCheckpointExperiment",
11361136
"when": "view == dvc.views.experimentsTree && dvc.experiments.webviewActive && !dvc.experiment.running && dvc.experiment.checkpoints",
11371137
"group": "navigation@2"
11381138
},

extension/package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"command.renameTarget": "Rename",
4242
"command.resetWorkspace": "Reset the Workspace",
4343
"command.runExperiment": "Run Experiment",
44-
"command.resumeCheckpointExperiment": "Resume Checkpoint Experiment",
44+
"command.resumeCheckpointExperiment": "Resume Experiment",
4545
"command.startExperimentsQueue": "Start the Experiments Queue",
46-
"command.resetAndRunCheckpointExperiment": "Reset and Run Checkpoint Experiment",
46+
"command.resetAndRunCheckpointExperiment": "Reset and Run Experiment",
4747
"command.selectForCompare": "Select for Compare",
4848
"command.setupWorkspace": "Setup The Workspace",
4949
"command.showCommands": "Show Commands",

0 commit comments

Comments
 (0)