Skip to content

Commit cb581be

Browse files
committed
remove hypertool browser
1 parent fb9fa32 commit cb581be

File tree

1 file changed

+1
-19
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+1
-19
lines changed

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

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ qx.Class.define("osparc.dashboard.Dashboard", {
7979
members: {
8080
__studyBrowser: null,
8181
__templateBrowser: null,
82-
__hypertoolBrowser: null,
8382
__appBrowser: null,
8483
__dataBrowser: null,
8584

@@ -119,16 +118,6 @@ qx.Class.define("osparc.dashboard.Dashboard", {
119118
icon: "@FontAwesome5Solid/copy/"+tabIconSize,
120119
buildLayout: this.__createTemplateBrowser
121120
});
122-
if (osparc.product.Utils.isS4LProduct() && osparc.store.StaticInfo.getInstance().isDevFeaturesEnabled()) {
123-
tabs.push({
124-
id: "hypertoolsTab",
125-
buttonId: "hypertoolsTabBtn",
126-
label: this.tr("HYPERTOOLS"),
127-
icon: "@FontAwesome5Solid/copy/"+tabIconSize,
128-
// initVisibility: "excluded",
129-
buildLayout: this.__createHypertoolsBrowser
130-
});
131-
}
132121
}
133122
if (permissions.canDo("dashboard.services.read")) {
134123
tabs.push({
@@ -148,7 +137,7 @@ qx.Class.define("osparc.dashboard.Dashboard", {
148137
buildLayout: this.__createDataBrowser
149138
});
150139
}
151-
tabs.forEach(({id, buttonId, label, icon, initVisibility, buildLayout}) => {
140+
tabs.forEach(({id, buttonId, label, icon, buildLayout}) => {
152141
const tabPage = new qx.ui.tabview.Page(label, icon).set({
153142
appearance: "dashboard-page"
154143
});
@@ -157,7 +146,6 @@ qx.Class.define("osparc.dashboard.Dashboard", {
157146
tabButton.set({
158147
minWidth: 50,
159148
maxHeight: 36,
160-
visibility: initVisibility ? initVisibility : "visible",
161149
});
162150
tabButton.ttt = label;
163151
tabButton.getChildControl("label").set({
@@ -229,12 +217,6 @@ qx.Class.define("osparc.dashboard.Dashboard", {
229217
return templatesView;
230218
},
231219

232-
__createHypertoolsBrowser: function() {
233-
const templateType = osparc.data.model.StudyUI.HYPERTOOL_TYPE;
234-
const hypertoolsView = this.__hypertoolBrowser = new osparc.dashboard.TemplateBrowser(templateType);
235-
return hypertoolsView;
236-
},
237-
238220
__createAppBrowser: function() {
239221
const appsView = this.__appBrowser = new osparc.dashboard.AppBrowser();
240222
return appsView;

0 commit comments

Comments
 (0)