Skip to content

Commit 084c978

Browse files
authored
simplify run and reset action name (#3028)
1 parent bed3cba commit 084c978

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

extension/package.nls.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"command.modifyExperimentParamsAndQueue": "Modify Experiment Param(s) and Queue",
3434
"command.modifyExperimentParamsAndRun": "Modify Experiment Param(s) and Run",
3535
"command.modifyExperimentParamsAndResume": "Modify Experiment Param(s) and Resume",
36-
"command.modifyExperimentParamsResetAndRun": "Modify Experiment Param(s), Reset and Run",
36+
"command.modifyExperimentParamsResetAndRun": "Modify Experiment Param(s) and Run",
3737
"command.queueExperiment": "Queue Experiment",
3838
"command.removeExperiment": "Remove Experiment",
3939
"command.removeExperimentQueue": "Remove All Queued Experiments",
@@ -45,7 +45,7 @@
4545
"command.runExperiment": "Run Experiment",
4646
"command.resumeCheckpointExperiment": "Resume Experiment",
4747
"command.startExperimentsQueue": "Start the Experiments Queue",
48-
"command.resetAndRunCheckpointExperiment": "Reset and Run Experiment",
48+
"command.resetAndRunCheckpointExperiment": "Run Experiment",
4949
"command.selectForCompare": "Select for Compare",
5050
"command.setupWorkspace": "Setup The Workspace",
5151
"command.shareExperimentAsBranch": "Share Experiment as Branch",
@@ -69,7 +69,7 @@
6969
"command.views.experiments.removeExperiment": "Remove",
7070
"command.views.experiments.runExperiment": "Modify Param(s) and Run",
7171
"command.views.experiments.resumeCheckpointExperiment": "Modify Param(s) and Resume",
72-
"command.views.experiments.resetAndRunCheckpointExperiment": "Modify Param(s), Reset and Run",
72+
"command.views.experiments.resetAndRunCheckpointExperiment": "Modify Param(s) and Run",
7373
"command.views.experiments.shareExperimentAsBranch": "Share as Branch",
7474
"command.views.experiments.shareExperimentAsCommit": "Commit and Share",
7575
"command.views.experimentsTree.selectExperiments": "Select Experiments to Display in Plots",

extension/src/test/e2e/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const deleteAllExistingExperiments = async () => {
134134
export const runModifiedExperiment = async () => {
135135
const workbench = await browser.getWorkbench()
136136
const options = await workbench.executeCommand(
137-
'DVC: Modify Experiment Param(s), Reset and Run'
137+
'DVC: Modify Experiment Param(s) and Run'
138138
)
139139
await browser.waitUntil(() => options.elem.isDisplayed())
140140
await browser

webview/src/experiments/components/App.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ describe('App', () => {
880880
const menuitems = screen.getAllByRole('menuitem')
881881
const itemLabels = menuitems.map(item => item.textContent)
882882
expect(itemLabels).toStrictEqual([
883-
'Modify, Reset and Run',
883+
'Modify and Run',
884884
'Modify and Resume',
885885
'Modify and Queue',
886886
'Star'
@@ -901,7 +901,7 @@ describe('App', () => {
901901
'Create new Branch',
902902
'Commit and Share',
903903
'Share as Branch',
904-
'Modify, Reset and Run',
904+
'Modify and Run',
905905
'Modify and Resume',
906906
'Modify and Queue',
907907
'Star',

webview/src/experiments/components/table/RowContextMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const getRunResumeOptions = (
124124

125125
return [
126126
withId(
127-
'Modify, Reset and Run',
127+
'Modify and Run',
128128
MessageFromWebviewType.MODIFY_EXPERIMENT_PARAMS_RESET_AND_RUN,
129129
isCheckpoint || !projectHasCheckpoints,
130130
resetNeedsSeparator

0 commit comments

Comments
 (0)