Simplification of Governance System, Avoiding Self Voting and Implementing Negative Votes

This commit is contained in:
Luis Fernando Molina committed 2021-10-14 18:07:40 +02:00
1 parent 1705961d68
commit 96cb7c9d6f
15 files changed
+3757 -1380

No files matched your search

@@ -911,7 +911,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -3779,7 +3779,7 @@
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
@@ -147,7 +147,7 @@
"userSupporters": [
{
"type": "User Supporter",
"name": "",
"name": "Raplh2502",
"config": "{}",
"project": "Governance",
"id": "c84af7b3-b580-41df-bd9a-d873a126b486",
@@ -188,7 +188,7 @@
},
{
"type": "User Supporter",
"name": "",
"name": "Smidy13",
"config": "{}",
"project": "Governance",
"id": "326139c1-d5bf-4353-9d5c-4277bd670699",
@@ -229,7 +229,7 @@
},
{
"type": "User Supporter",
"name": "",
"name": "harrellbm",
"config": "{}",
"project": "Governance",
"id": "456319d1-ae7f-4bae-9764-5bba2200a7c9",
@@ -270,7 +270,7 @@
},
{
"type": "User Supporter",
"name": "",
"name": "PLuv",
"config": "{}",
"project": "Governance",
"id": "3c1b332e-80e5-45a3-b381-8f988ba7cb54",
@@ -311,7 +311,7 @@
},
{
"type": "User Supporter",
"name": "",
"name": "cozed-gh",
"config": "{}",
"project": "Governance",
"id": "8e626e39-c496-42f9-979c-ee94da1ca13e",
@@ -352,7 +352,7 @@
},
{
"type": "User Supporter",
"name": "",
"name": "ssplatt",
"config": "{}",
"project": "Governance",
"id": "739e3adf-372a-41c9-9102-cc8587f7cd28",
@@ -1159,17 +1159,17 @@
"id": "b85aaac1-0708-4aec-97f9-bc3cc70e530a",
"savedPayload": {
"position": {
"x": 28571.428571428572,
"y": 19850
"x": 28125,
"y": 33200
},
"targetPosition": {
"x": 28571.428571428572,
"y": 19850
"x": 28125,
"y": 33200
},
"floatingObject": {
"isPinned": false,
"isFrozen": false,
"isCollapsed": false,
"isCollapsed": true,
"angleToParent": 1,
"distanceToParent": 3,
"arrangementStyle": 0
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -78,11 +78,5 @@
"childType": "Asset",
"autoAdd": false
}
],
"inMapMode": {
"showNodeType": false,
"showHierarchyHeadRing": false,
"smallIcon": true,
"smallText": true
}
]
}
@@ -54,11 +54,5 @@
"childType": "Feature",
"autoAdd": false
}
],
"inMapMode": {
"showNodeType": false,
"showHierarchyHeadRing": false,
"smallIcon": true,
"smallText": true
}
]
}
@@ -9,6 +9,7 @@
"workDoneLabel": "Done",
"relatedUiObject": "Assets",
"actionFunction": "payload.executeAction",
"actionProject": "Governance",
"relatedUiObjectProject": "Governance"
},
{
@@ -9,6 +9,7 @@
"workDoneLabel": "Done",
"relatedUiObject": "Features",
"actionFunction": "payload.executeAction",
"actionProject": "Governance",
"relatedUiObjectProject": "Governance"
},
{
@@ -9,6 +9,7 @@
"workDoneLabel": "Done",
"relatedUiObject": "Pools",
"actionFunction": "payload.executeAction",
"actionProject": "Governance",
"relatedUiObjectProject": "Governance"
},
{
@@ -9,6 +9,7 @@
"workDoneLabel": "Done",
"relatedUiObject": "Positions",
"actionFunction": "payload.executeAction",
"actionProject": "Governance",
"relatedUiObjectProject": "Governance"
},
{
@@ -9,6 +9,7 @@
"workDoneLabel": "Done",
"relatedUiObject": "User Profile",
"actionFunction": "payload.executeAction",
"actionProject": "Governance",
"relatedUiObjectProject": "Governance"
},
{
@@ -67,11 +67,5 @@
"childType": "Pool",
"autoAdd": false
}
],
"inMapMode": {
"showNodeType": false,
"showHierarchyHeadRing": false,
"smallIcon": true,
"smallText": true
}
]
}
@@ -54,11 +54,5 @@
"childType": "Position",
"autoAdd": false
}
],
"inMapMode": {
"showNodeType": false,
"showHierarchyHeadRing": false,
"smallIcon": true,
"smallText": true
}
]
}
@@ -63,7 +63,7 @@ function newGovernanceUserProfileSpace() {
const SPACE_WIDTH = UI.projects.foundations.spaces.floatingSpace.container.frame.width
const SPACE_HEIGHT = UI.projects.foundations.spaces.floatingSpace.container.frame.height
arrangeNodes(userProfiles, SPACE_HEIGHT * 0.245, 3800, 4)
arrangeNodes(userProfiles, SPACE_HEIGHT * 0.280, 4800, 6)
/*
arrangeNodes(pools, SPACE_HEIGHT * 0.570, 0, 1)
arrangeNodes(features, SPACE_HEIGHT * 0.620, 0, 1)
@@ -104,6 +104,14 @@ function newGovernanceUserProfileSpace() {
break
}
case (yOffset === yStep * 3): {
yOffset = yStep * 4
break
}
case (yOffset === yStep * 4): {
yOffset = yStep * 5
break
}
case (yOffset === yStep * 5): {
yOffset = 0
break
}