{
-
-
-
- Runtime execution graph. Only steps that are currently running or have already completed are shown.
+
+
+
+ Runtime execution graph. Only steps that are currently running or have already completed are shown.
+
-
}
{!graph && (
@@ -515,15 +515,6 @@ class RunDetails extends Page {
this.setStateSafe({ sidepanelBusy: false });
}
}
-
- private _cloneRun(): void {
- if (this.state.runMetadata) {
- const searchString = new URLParser(this.props).build({
- [QUERY_PARAMS.cloneFromRun]: this.state.runMetadata.id || ''
- });
- this.props.history.push(RoutePage.NEW_RUN + searchString);
- }
- }
}
export default RunDetails;
diff --git a/frontend/src/pages/__snapshots__/Compare.test.tsx.snap b/frontend/src/pages/__snapshots__/Compare.test.tsx.snap
index 0a0556ff288..f907fbf36ba 100644
--- a/frontend/src/pages/__snapshots__/Compare.test.tsx.snap
+++ b/frontend/src/pages/__snapshots__/Compare.test.tsx.snap
@@ -100,11 +100,7 @@ exports[`Compare creates a map of viewers 1`] = `
"search": "?runlist=run-with-workflow",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -315,11 +311,7 @@ exports[`Compare creates an extra aggregation plot for compatible viewers 1`] =
"search": "?runlist=run1-id,run2-id",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -584,11 +576,7 @@ exports[`Compare displays parameters from multiple runs 1`] = `
"search": "?runlist=run1,run2",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -754,11 +742,7 @@ exports[`Compare displays run's parameters if the run has any 1`] = `
"search": "?runlist=run-with-parameters",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -914,11 +898,7 @@ exports[`Compare does not show viewers for deselected runs 1`] = `
"search": "?runlist=run-with-workflow-1,run-with-workflow-2",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -1053,11 +1033,7 @@ exports[`Compare expands all sections if they were collapsed 1`] = `
"search": "?runlist=run-with-workflow-1,run-with-workflow-2",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -1316,11 +1292,7 @@ exports[`Compare renders a page with multiple runs 1`] = `
"search": "?runlist=mock-run-1-id,mock-run-2-id,mock-run-3-id",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={
@@ -1468,11 +1440,7 @@ exports[`Compare renders a page with no runs 1`] = `
"search": "",
}
}
- match={
- Object {
- "params": Object {},
- }
- }
+ match={Object {}}
onError={[Function]}
onSelectionChange={[Function]}
runIdListMask={Array []}
diff --git a/frontend/src/pages/__snapshots__/ExperimentDetails.test.tsx.snap b/frontend/src/pages/__snapshots__/ExperimentDetails.test.tsx.snap
index 54e48c81993..67c50f37959 100644
--- a/frontend/src/pages/__snapshots__/ExperimentDetails.test.tsx.snap
+++ b/frontend/src/pages/__snapshots__/ExperimentDetails.test.tsx.snap
@@ -89,7 +89,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"outlined": true,
"primary": true,
"title": "Create run",
- "tooltip": "Create a new run within this experiment",
+ "tooltip": "Create a new run",
},
Object {
"action": [Function],
@@ -97,7 +97,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"id": "createNewRecurringRunBtn",
"outlined": true,
"title": "Create recurring run",
- "tooltip": "Create a new recurring run in this experiment",
+ "tooltip": "Create a new recurring run",
},
Object {
"action": [Function],
@@ -112,7 +112,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"disabled": true,
"disabledTitle": "Select a run to clone",
"id": "cloneBtn",
- "title": "Clone",
+ "title": "Clone run",
"tooltip": "Create a copy from this runs initial state",
},
]
@@ -128,7 +128,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -155,7 +155,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -232,7 +232,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -256,7 +256,7 @@ exports[`ExperimentDetails fetches this experiment's recurring runs 1`] = `
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -433,7 +433,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"outlined": true,
"primary": true,
"title": "Create run",
- "tooltip": "Create a new run within this experiment",
+ "tooltip": "Create a new run",
},
Object {
"action": [Function],
@@ -441,7 +441,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"id": "createNewRecurringRunBtn",
"outlined": true,
"title": "Create recurring run",
- "tooltip": "Create a new recurring run in this experiment",
+ "tooltip": "Create a new recurring run",
},
Object {
"action": [Function],
@@ -456,7 +456,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"disabled": true,
"disabledTitle": "Select a run to clone",
"id": "cloneBtn",
- "title": "Clone",
+ "title": "Clone run",
"tooltip": "Create a copy from this runs initial state",
},
]
@@ -472,7 +472,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -499,7 +499,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -576,7 +576,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -600,7 +600,7 @@ exports[`ExperimentDetails removes all description text after second newline and
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -764,7 +764,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"outlined": true,
"primary": true,
"title": "Create run",
- "tooltip": "Create a new run within this experiment",
+ "tooltip": "Create a new run",
},
Object {
"action": [Function],
@@ -772,7 +772,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"id": "createNewRecurringRunBtn",
"outlined": true,
"title": "Create recurring run",
- "tooltip": "Create a new recurring run in this experiment",
+ "tooltip": "Create a new recurring run",
},
Object {
"action": [Function],
@@ -787,7 +787,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"disabled": true,
"disabledTitle": "Select a run to clone",
"id": "cloneBtn",
- "title": "Clone",
+ "title": "Clone run",
"tooltip": "Create a copy from this runs initial state",
},
]
@@ -803,7 +803,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -830,7 +830,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -907,7 +907,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -931,7 +931,7 @@ exports[`ExperimentDetails renders a page with no runs or recurring runs 1`] = `
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -1093,7 +1093,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"outlined": true,
"primary": true,
"title": "Create run",
- "tooltip": "Create a new run within this experiment",
+ "tooltip": "Create a new run",
},
Object {
"action": [Function],
@@ -1101,7 +1101,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"id": "createNewRecurringRunBtn",
"outlined": true,
"title": "Create recurring run",
- "tooltip": "Create a new recurring run in this experiment",
+ "tooltip": "Create a new recurring run",
},
Object {
"action": [Function],
@@ -1116,7 +1116,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"disabled": true,
"disabledTitle": "Select a run to clone",
"id": "cloneBtn",
- "title": "Clone",
+ "title": "Clone run",
"tooltip": "Create a copy from this runs initial state",
},
]
@@ -1132,7 +1132,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -1159,7 +1159,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={
@@ -1236,7 +1236,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"push": [MockFunction],
}
}
- location=""
+ location={Object {}}
match={
Object {
"params": Object {
@@ -1260,7 +1260,7 @@ exports[`ExperimentDetails uses an empty string if the experiment has no descrip
"href": "/experiments",
},
],
- "pageTitle": "",
+ "pageTitle": "some-mock-experiment-id",
}
}
updateBanner={