Skip to content

Commit ebc9e8f

Browse files
authored
Merge branch 'master' into 2024/fix/tracing
2 parents e62cb83 + ad0a35d commit ebc9e8f

File tree

35 files changed

+348
-347
lines changed

35 files changed

+348
-347
lines changed

packages/models-library/src/models_library/api_schemas_dynamic_sidecar/ports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class OutputStatus(StrAutoEnum):
1111
UPLOAD_STARTED = auto()
1212
UPLOAD_WAS_ABORTED = auto()
1313
UPLOAD_FINISHED_SUCCESSFULLY = auto()
14-
UPLOAD_FINISHED_WITH_ERRROR = auto()
14+
UPLOAD_FINISHED_WITH_ERROR = auto()
1515

1616

1717
class InputStatus(StrAutoEnum):
1818
DOWNLOAD_STARTED = auto()
1919
DOWNLOAD_WAS_ABORTED = auto()
2020
DOWNLOAD_FINISHED_SUCCESSFULLY = auto()
21-
DOWNLOAD_FINISHED_WITH_ERRROR = auto()
21+
DOWNLOAD_FINISHED_WITH_ERROR = auto()
2222

2323

2424
class _PortStatusCommon(BaseModel):

services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/notifications/_notifications_ports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def send_output_port_upload_finished_with_error(
5252
self, port_key: ServicePortKey
5353
) -> None:
5454
await self._send_output_port_status(
55-
port_key, OutputStatus.UPLOAD_FINISHED_WITH_ERRROR
55+
port_key, OutputStatus.UPLOAD_FINISHED_WITH_ERROR
5656
)
5757

5858
async def send_input_port_download_started(self, port_key: ServicePortKey) -> None:
@@ -74,5 +74,5 @@ async def send_input_port_download_finished_with_error(
7474
self, port_key: ServicePortKey
7575
) -> None:
7676
await self._send_input_port_status(
77-
port_key, InputStatus.DOWNLOAD_FINISHED_WITH_ERRROR
77+
port_key, InputStatus.DOWNLOAD_FINISHED_WITH_ERROR
7878
)

services/dynamic-sidecar/tests/unit/test_modules_notifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def test_notifier_send_input_port_status(
289289
await port_notifier.send_input_port_download_finished_succesfully(
290290
port_key
291291
)
292-
case InputStatus.DOWNLOAD_FINISHED_WITH_ERRROR:
292+
case InputStatus.DOWNLOAD_FINISHED_WITH_ERROR:
293293
await port_notifier.send_input_port_download_finished_with_error(
294294
port_key
295295
)
@@ -378,7 +378,7 @@ async def test_notifier_send_output_port_status(
378378
await port_notifier.send_output_port_upload_finished_successfully(
379379
port_key
380380
)
381-
case OutputStatus.UPLOAD_FINISHED_WITH_ERRROR:
381+
case OutputStatus.UPLOAD_FINISHED_WITH_ERROR:
382382
await port_notifier.send_output_port_upload_finished_with_error(
383383
port_key
384384
)

services/static-webserver/client/compile.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"class": "osparc.Application",
5757
"theme": "osparc.theme.products.s4l.ThemeDark",
5858
"name": "s4llite",
59-
"title": "Sim4Life Lite",
59+
"title": "Sim4Life.lite",
6060
"include": [
6161
"iconfont.material.Load",
6262
"iconfont.fontawesome5.Load",

services/static-webserver/client/source/class/osparc/dashboard/ContextBreadcrumbs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ qx.Class.define("osparc.dashboard.ContextBreadcrumbs", {
5252
__rebuild: function() {
5353
this._removeAll();
5454

55+
if (this.getCurrentWorkspaceId() === -2) {
56+
return;
57+
}
58+
5559
if (this.getCurrentFolderId()) {
5660
const currentFolder = osparc.store.Folders.getInstance().getFolder(this.getCurrentFolderId());
5761
this.__createUpstreamButtons(currentFolder);

services/static-webserver/client/source/class/osparc/dashboard/Dashboard.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ qx.Class.define("osparc.dashboard.Dashboard", {
138138
});
139139
const tabButton = tabPage.getChildControl("button");
140140
tabButton.set({
141-
minWidth: 50
141+
minWidth: 50,
142+
maxHeight: 36,
142143
});
143144
tabButton.ttt = label;
144145
tabButton.getChildControl("label").set({

services/static-webserver/client/source/class/osparc/dashboard/FolderButtonBase.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,10 @@ qx.Class.define("osparc.dashboard.FolderButtonBase", {
112112
},
113113

114114
_shouldApplyFilter: function(data) {
115-
console.log("_shouldApplyFilter", data);
116115
return false;
117116
},
118117

119118
_shouldReactToFilter: function(data) {
120-
console.log("_shouldReactToFilter", data);
121119
return false;
122120
}
123121
},

services/static-webserver/client/source/class/osparc/dashboard/GridButtonNew.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ qx.Class.define("osparc.dashboard.GridButtonNew", {
3737
});
3838

3939
if (title) {
40+
title = osparc.utils.Utils.replaceTokens(
41+
title,
42+
"replace_me_product_name",
43+
osparc.store.StaticInfo.getInstance().getDisplayName()
44+
);
45+
4046
const titleLabel = this.getChildControl("title");
4147
titleLabel.set({
4248
value: title,
@@ -45,6 +51,12 @@ qx.Class.define("osparc.dashboard.GridButtonNew", {
4551
}
4652

4753
if (description) {
54+
description = osparc.utils.Utils.replaceTokens(
55+
description,
56+
"replace_me_product_name",
57+
osparc.store.StaticInfo.getInstance().getDisplayName()
58+
);
59+
4860
const descLabel = this.getChildControl("subtitle-text");
4961
descLabel.setValue(description.toString());
5062
}

services/static-webserver/client/source/class/osparc/dashboard/ListButtonNew.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ qx.Class.define("osparc.dashboard.ListButtonNew", {
3434
});
3535

3636
if (title) {
37+
title = osparc.utils.Utils.replaceTokens(
38+
title,
39+
"replace_me_product_name",
40+
osparc.store.StaticInfo.getInstance().getDisplayName()
41+
);
42+
3743
const titleLabel = this.getChildControl("title");
3844
titleLabel.set({
3945
value: title,

services/static-webserver/client/source/class/osparc/dashboard/NewStudies.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,7 @@ qx.Class.define("osparc.dashboard.NewStudies", {
167167
const newStudyClicked = () => this.fireDataEvent("newStudyClicked", templateInfo);
168168

169169
const title = templateInfo.title;
170-
let desc = templateInfo.description;
171-
if (desc) {
172-
desc = osparc.utils.Utils.replaceTokens(
173-
desc,
174-
"replace_me_product_name",
175-
osparc.store.StaticInfo.getInstance().getDisplayName()
176-
);
177-
}
170+
const desc = templateInfo.description;
178171
const newPlanButton = new osparc.dashboard.GridButtonNew(title, desc);
179172
newPlanButton.setCardKey(templateInfo.idToWidget);
180173
osparc.utils.Utils.setIdToWidget(newPlanButton, templateInfo.idToWidget);

0 commit comments

Comments
 (0)