Icons can now be organized in subdirectories.
No files matched your search
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@@ -27,10 +27,10 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "referrer",
|
||||
"propertyToCheckFor": "userReferrer",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Referrer",
|
||||
"relatedUiObject": "Referrer"
|
||||
"label": "Add User Referrer",
|
||||
"relatedUiObject": "User Referrer"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
@@ -66,9 +66,9 @@
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "referrer",
|
||||
"name": "userReferrer",
|
||||
"type": "node",
|
||||
"childType": "Referrer",
|
||||
"childType": "User Referrer",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"type": "Referrer",
|
||||
"type": "User Referrer",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
@@ -35,5 +35,5 @@
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"propertyNameAtParent": "referrer"
|
||||
"propertyNameAtParent": "userReferrer"
|
||||
}
|
||||
@@ -17,10 +17,10 @@
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "referrer",
|
||||
"propertyToCheckFor": "userReferrer",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Referrer",
|
||||
"relatedUiObject": "Referrer"
|
||||
"label": "Add User Referrer",
|
||||
"relatedUiObject": "User Referrer"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "Referrer",
|
||||
"type": "User Referrer",
|
||||
"definition": {
|
||||
"text": "This node is used by users to reference other users defining in this way who was the user who brought them into the project. The referrer could have acted by word of mouth, or producing some marketing material with it's referral id. These references are later used at the token distribution process to reward referrers and also users declaring who these referrers are.",
|
||||
"text": "This node is used by users to reference other users defining in this way who was the user who brought them into the project. The userReferrer could have acted by word of mouth, or producing some marketing material with it's referral id. These references are later used at the token distribution process to reward referrers and also users declaring who these referrers are.",
|
||||
"updated": 1622990015308
|
||||
},
|
||||
"paragraphs": [
|
||||
|
||||
@@ -38,7 +38,7 @@ function newSuperalgosDesignSpace() {
|
||||
/* Take types-icons relationships defined at the schema */
|
||||
for (let i = 0; i < PROJECTS_ARRAY.length; i++) {
|
||||
let project = PROJECTS_ARRAY[i]
|
||||
|
||||
|
||||
addSchemaTypes(SCHEMAS_BY_PROJECT.get(project).array.appSchema)
|
||||
addSchemaTypes(SCHEMAS_BY_PROJECT.get(project).array.docsNodeSchema)
|
||||
addSchemaTypes(SCHEMAS_BY_PROJECT.get(project).array.docsConceptSchema)
|
||||
@@ -78,21 +78,24 @@ function newSuperalgosDesignSpace() {
|
||||
|
||||
for (let i = 0; i < iconsArray.length; i++) {
|
||||
let project = iconsArray[i][0]
|
||||
let name = iconsArray[i][1]
|
||||
loadImage(project, name)
|
||||
let path = iconsArray[i][1]
|
||||
loadImage(project, path)
|
||||
}
|
||||
|
||||
function loadImage(project, name) {
|
||||
function loadImage(project, path) {
|
||||
imageLoadedCounter++
|
||||
const PATH = 'Icons/' + project + '/'
|
||||
let image = new Image()
|
||||
image.onload = onImageLoad
|
||||
image.fileName = name
|
||||
image.fileName = path
|
||||
|
||||
function onImageLoad() {
|
||||
image.canDrawIcon = true
|
||||
}
|
||||
image.src = PATH + name
|
||||
image.src = PATH + path
|
||||
let splittedPath = path.split('\\')
|
||||
let name = splittedPath[splittedPath.length - 1]
|
||||
|
||||
let key = project + '-' + name.substring(0, name.length - 4)
|
||||
thisObject.iconsByProjectAndName.set(key, image)
|
||||
|
||||
|
||||