Skip to content

Commit 87e4f87

Browse files
committed
working workflow
1 parent 8d4bb28 commit 87e4f87

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

services/static-webserver/client/source/class/osparc/jobs/ActivityOverview.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ qx.Class.define("osparc.jobs.ActivityOverview", {
6666
});
6767
stack.setSelection([tasksLayout]);
6868

69-
this.__subRunsTable.addListener("backToRuns", e => {
69+
tasksLayout.addListener("backToRuns", () => {
7070
stack.setSelection([runsHistoryLayout]);
7171
});
7272
});
@@ -84,7 +84,7 @@ qx.Class.define("osparc.jobs.ActivityOverview", {
8484
font: "text-14"
8585
});
8686
runsHistoryTitleLayout.add(runsHistoryTitle);
87-
const runsHistoryTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, the history of the project runs is shown."))
87+
const runsHistoryTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, the history of the project runs is shown. Select a run to see its tasks."))
8888
runsHistoryTitleLayout.add(runsHistoryTitleHelper);
8989
runsHistoryLayout.add(runsHistoryTitleLayout);
9090

@@ -112,11 +112,20 @@ qx.Class.define("osparc.jobs.ActivityOverview", {
112112
})).set({
113113
paddingLeft: 10,
114114
});
115+
116+
const prevBtn = new qx.ui.form.Button().set({
117+
toolTipText: this.tr("Return to Runs"),
118+
icon: "@FontAwesome5Solid/arrow-left/20",
119+
backgroundColor: "transparent"
120+
});
121+
prevBtn.addListener("execute", () => tasksLayout.fireEvent("backToRuns"));
122+
latestTasksTitleLayout.add(prevBtn);
123+
115124
const latestTasksTitle = new qx.ui.basic.Label(this.tr("Tasks")).set({
116125
font: "text-14"
117126
});
118127
latestTasksTitleLayout.add(latestTasksTitle);
119-
const latestTasksTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, the latest tasks or simulations of the selected run are shown. If available, the logs can be downloaded."))
128+
const latestTasksTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, the tasks or simulations of the selected run are shown. If available, the logs can be downloaded."))
120129
latestTasksTitleLayout.add(latestTasksTitleHelper);
121130
tasksLayout.add(latestTasksTitleLayout);
122131

services/static-webserver/client/source/class/osparc/jobs/SubRunsBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ qx.Class.define("osparc.jobs.SubRunsBrowser", {
4949
}));
5050

5151
const prevBtn = new qx.ui.form.Button().set({
52-
toolTipText: this.tr("Return to Runs and Clusters"),
52+
toolTipText: this.tr("Return to Runs"),
5353
icon: "@FontAwesome5Solid/arrow-left/20",
5454
backgroundColor: "transparent"
5555
});

0 commit comments

Comments
 (0)