Skip to content

Commit 48f7ef9

Browse files
committed
comments
1 parent 46d3496 commit 48f7ef9

File tree

1 file changed

+39
-0
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+39
-0
lines changed

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,45 @@
1515
1616
************************************************************************ */
1717

18+
/**
19+
Supports:
20+
"categories": [{
21+
"id": "string", // required
22+
"title": "string", // required
23+
"description": "string" // optional
24+
}],
25+
"resources": [{
26+
"resourceType": "study", // it will start an empty study
27+
"title": "string", // required
28+
"icon": "fontAwesome inner link | url", // optional
29+
"newStudyLabel": "string", // optional
30+
"idToWidget": "string" // optional
31+
}, {
32+
"resourceType": "template", // it will create a study from the template
33+
"expectedTemplateLabel": "string", // required
34+
"title": "string", // required
35+
"icon": "fontAwesome inner link | url", // optional
36+
"newStudyLabel": "string", // optional
37+
"category": "categories.id", // optional
38+
"idToWidget": "string" // optional
39+
}, {
40+
"resourceType": "service", // it will create a study from the service
41+
"expectedKey": "service.key", // required
42+
"title": "string", // required
43+
"icon": "fontAwesome inner link | url", // optional
44+
"newStudyLabel": "string", // optional
45+
"category": "categories.id", // optional
46+
"idToWidget": "string" // optional
47+
}, {
48+
"showDisabled": true, // it will show a disabled button on the defined item
49+
"title": "string", // required
50+
"icon": "fontAwesome inner link | url", // optional
51+
"reason": "string", // optional
52+
"newStudyLabel": "string", // optional
53+
"category": "categories.id", // optional
54+
"idToWidget": "string" // optional
55+
}]
56+
*/
1857
qx.Class.define("osparc.dashboard.NewPlusMenu", {
1958
extend: qx.ui.menu.Menu,
2059

0 commit comments

Comments
 (0)