From f703a9093b06c17e06d2d511d8baefbc0bd89e1b Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 19 Jun 2021 18:25:01 +0200 Subject: [PATCH] Install Votes Upgraded to Install Missing Votes --- .../User-Profiles/Luis-Fernando-Molina.json | 939 ++++++++++-------- .../Schemas/App-Schema/asset-class.json | 4 +- .../Governance/Schemas/App-Schema/assets.json | 4 +- .../App-Schema/claim-votes-switch.json | 4 +- .../App-Schema/user-profile-votes-switch.json | 4 +- .../Schemas/App-Schema/votes-switch.json | 4 +- .../App-Schema/weight-votes-switch.json | 4 +- .../UI/Function-Libraries/ActionSwitch.js | 8 +- .../UI/Function-Libraries/Assets.js | 4 +- .../Governance/UI/Function-Libraries/Votes.js | 30 +- 10 files changed, 551 insertions(+), 454 deletions(-) diff --git a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json index ac3a2f21f..9f1a29a0a 100644 --- a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json +++ b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json @@ -176,195 +176,6 @@ "config": "{}", "project": "Governance", "weightVotesSwitch": [ - { - "type": "Weight Votes Switch", - "name": "Software Projects Pool Class", - "config": "{}", - "project": "Governance", - "weightVotesSwitch": [], - "poolWeightVotes": [ - { - "type": "Pool Weight Vote", - "name": "Foundations Project Pool", - "config": "{}", - "project": "Governance", - "id": "8b66762f-85ca-4164-b9b6-12eb794ac75d", - "savedPayload": { - "position": { - "x": 30279.035701484092, - "y": 24670.99940637046 - }, - "targetPosition": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Foundations Project", - "id": "2207c69c-ee9d-4453-8bf4-582d79b4b635" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "TensorFlow Project Pool", - "config": "{}", - "project": "Governance", - "id": "57fa43f4-da21-46c1-af6a-b25b1fdcd640", - "savedPayload": { - "position": { - "x": 30261.648578209813, - "y": 24825.31439353323 - }, - "targetPosition": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "TensorFlow Project", - "id": "ea854cf8-47cd-43f0-b58a-13e61ae3106d" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Governance Project Pool", - "config": "{}", - "project": "Governance", - "id": "4edeaaa9-934c-445c-a118-d903a7de6bca", - "savedPayload": { - "position": { - "x": 30169.43339417417, - "y": 24950.261530963722 - }, - "targetPosition": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Governance Project", - "id": "3c80032c-51a8-4fd8-ab65-cf219c03ce95" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Education Project Pool", - "config": "{}", - "project": "Governance", - "id": "3e8eba3a-16d1-489c-9458-79ed73c3e080", - "savedPayload": { - "position": { - "x": 30027.099133469404, - "y": 25012.361334090852 - }, - "targetPosition": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Education Project", - "id": "0a79ec65-6f67-4c18-823f-48a6d0494a81" - } - } - }, - { - "type": "Pool Weight Vote", - "name": "Ethereum Project Pool", - "config": "{}", - "project": "Governance", - "id": "e69b6ff0-a21e-4f0d-aec3-2c0ab58b260c", - "savedPayload": { - "position": { - "x": 29872.784146306636, - "y": 24994.974210816574 - }, - "targetPosition": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": {}, - "referenceParent": { - "type": "Pool", - "name": "Ethereum Project", - "id": "f51d23aa-742c-40d4-b000-2b90c3ae197c" - } - } - } - ], - "assetWeightVotes": [], - "featureWeightVotes": [], - "positionWeightVotes": [], - "id": "445f7d92-d3d6-40e2-9d5e-545590dc0bb7", - "savedPayload": { - "position": { - "x": 29982.386453616553, - "y": 24715.712086223313 - }, - "targetPosition": { - "x": 29795.339513058934, - "y": 24481.162641482904 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 2, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - } - } - }, { "type": "Weight Votes Switch", "name": "Marketing Pool Class", @@ -383,15 +194,15 @@ "name": "First Exchange Listing The Token Pool", "config": "{}", "project": "Governance", - "id": "0b99a9a8-0e1f-414d-8ed5-54e272c415a7", + "id": "fa27ae9a-2aaa-4b77-a865-f42c4b1e3cde", "savedPayload": { "position": { - "x": 30352.819456312947, - "y": 25081.98312900967 + "x": 30558.297826077353, + "y": 24780.60171368038 }, "targetPosition": { - "x": 30066.147614577105, - "y": 24993.5565766864 + "x": 30261.648578209813, + "y": 24825.31439353323 }, "floatingObject": { "isPinned": false, @@ -414,15 +225,15 @@ "name": "10K Stars on Github Pool", "config": "{}", "project": "Governance", - "id": "0d58b22f-16f9-4029-b5c9-885241b1d879", + "id": "6d9d9712-7a90-4dac-bdcb-1c62c2656155", "savedPayload": { "position": { - "x": 30132.903894764, - "y": 25286.034950340945 + "x": 30448.695518767432, + "y": 25059.86383827364 }, "targetPosition": { - "x": 30066.147614577105, - "y": 24993.5565766864 + "x": 30261.648578209813, + "y": 24825.31439353323 }, "floatingObject": { "isPinned": false, @@ -444,15 +255,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "92a7efbd-ec5d-4da3-bd2d-e3d0d47aa7ab", + "id": "128afaa5-16bb-4d08-9f49-abfc954f2b58", "savedPayload": { "position": { - "x": 30066.147614577105, - "y": 24993.5565766864 + "x": 30261.648578209813, + "y": 24825.31439353323 }, "targetPosition": { - "x": 29862.09579324583, - "y": 24773.64101513745 + "x": 29982.386453616553, + "y": 24715.712086223313 }, "floatingObject": { "isPinned": false, @@ -464,6 +275,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Collective Rewards", + "id": "95431b88-cbff-459c-a707-fd3518e79c73" } } }, @@ -479,15 +295,15 @@ "name": "Marketing Assets Pool", "config": "{}", "project": "Governance", - "id": "6396fad6-4f29-4e7e-bb23-cc10b042ccfa", + "id": "1fa92d72-8c7c-4595-90f0-83b72cff9dd8", "savedPayload": { "position": { - "x": 29685.242688599286, - "y": 25346.984698609136 + "x": 30071.811813322256, + "y": 25309.01058195839 }, "targetPosition": { - "x": 29773.669240922558, - "y": 25060.312856873294 + "x": 30027.099133469404, + "y": 25012.361334090852 }, "floatingObject": { "isPinned": false, @@ -509,15 +325,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "6e647581-b9bc-4dd7-81f4-dc71ba0d8a73", + "id": "8a915b0f-36c1-4019-b006-02c4a5d47079", "savedPayload": { "position": { - "x": 29773.669240922558, - "y": 25060.312856873294 + "x": 30027.099133469404, + "y": 25012.361334090852 }, "targetPosition": { - "x": 29862.09579324583, - "y": 24773.64101513745 + "x": 29982.386453616553, + "y": 24715.712086223313 }, "floatingObject": { "isPinned": false, @@ -529,6 +345,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Assets", + "id": "ab43c779-d6d6-451d-a444-cfb8b68df07e" } } } @@ -537,11 +358,11 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "fdb56fa1-ebb2-42ed-bcce-50cd04319327", + "id": "b313f748-da26-4c50-8ba1-36fff49f3a0f", "savedPayload": { "position": { - "x": 29862.09579324583, - "y": 24773.64101513745 + "x": 29982.386453616553, + "y": 24715.712086223313 }, "targetPosition": { "x": 29795.339513058934, @@ -557,6 +378,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Marketing", + "id": "85dbdcb9-5b59-432e-86a0-fab37e20a55d" } } }, @@ -578,15 +404,15 @@ "name": "Usage Pool", "config": "{}", "project": "Governance", - "id": "d3fd676b-5431-497e-aebe-d973c14f99b2", + "id": "a32cb176-83c0-4800-b630-01f1df6d2301", "savedPayload": { "position": { - "x": 30153.427473878022, - "y": 25167.838863387857 + "x": 30415.903264450837, + "y": 24944.46799637495 }, "targetPosition": { - "x": 29888.19285582664, - "y": 25027.658274905938 + "x": 30116.113053014316, + "y": 24933.250638092053 }, "floatingObject": { "isPinned": false, @@ -609,15 +435,15 @@ "name": "User Referrals Pool", "config": "{}", "project": "Governance", - "id": "28175543-6051-481b-a909-ef7ef250da21", + "id": "33a03a57-6811-4cad-94af-14a0597e9fb3", "savedPayload": { "position": { - "x": 29899.41021410954, - "y": 25327.44848634246 + "x": 30256.293641496235, + "y": 25198.485256143435 }, "targetPosition": { - "x": 29888.19285582664, - "y": 25027.658274905938 + "x": 30116.113053014316, + "y": 24933.250638092053 }, "floatingObject": { "isPinned": false, @@ -639,14 +465,14 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "ef1432f0-197d-412e-9126-d3253375faf0", + "id": "c8894826-483a-4c6d-92e7-8190ea952717", "savedPayload": { "position": { - "x": 29888.19285582664, - "y": 25027.658274905938 + "x": 30116.113053014316, + "y": 24933.250638092053 }, "targetPosition": { - "x": 29728.58323287204, + "x": 29862.09579324583, "y": 24773.64101513745 }, "floatingObject": { @@ -659,6 +485,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Users", + "id": "9b6c24b9-e21d-458b-b509-1828d40b4239" } } }, @@ -674,14 +505,14 @@ "name": "Badges Pool", "config": "{}", "project": "Governance", - "id": "663ed15b-db2f-45a9-8d82-8525084dc314", + "id": "cb05c8ff-235b-4b97-9c41-d3cbee5d797d", "savedPayload": { "position": { - "x": 29595.07067249825, + "x": 29995.60835361962, "y": 25358.597762446545 }, "targetPosition": { - "x": 29661.826952685144, + "x": 29928.852073432725, "y": 25066.119388791998 }, "floatingObject": { @@ -704,14 +535,14 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "69fe8cab-d36e-4b56-a3c1-704f629095a7", + "id": "307ed30b-fbb2-49c8-ad8a-7e45d9fd8815", "savedPayload": { "position": { - "x": 29661.826952685144, + "x": 29928.852073432725, "y": 25066.119388791998 }, "targetPosition": { - "x": 29728.58323287204, + "x": 29862.09579324583, "y": 24773.64101513745 }, "floatingObject": { @@ -724,6 +555,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Contributors", + "id": "e2113b73-9a38-4c59-8fbe-95a7539379c5" } } }, @@ -739,15 +575,15 @@ "name": "Stacking Pool", "config": "{}", "project": "Governance", - "id": "68178505-3ca0-4e1b-b855-94b8a0a5726f", + "id": "40d246e2-1cd8-4e8e-a9d9-33a3256f1f75", "savedPayload": { "position": { - "x": 29220.548713335065, - "y": 25092.860261046655 + "x": 29542.876547336626, + "y": 25281.675534674425 }, "targetPosition": { - "x": 29474.565973103552, - "y": 24933.250638092053 + "x": 29702.486170291228, + "y": 25027.658274905938 }, "floatingObject": { "isPinned": false, @@ -769,14 +605,14 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "1331df88-57d8-4484-89fd-e46428f319a0", + "id": "021a8f3b-eccc-4cce-9884-f3b51d7470d8", "savedPayload": { "position": { - "x": 29474.565973103552, - "y": 24933.250638092053 + "x": 29702.486170291228, + "y": 25027.658274905938 }, "targetPosition": { - "x": 29728.58323287204, + "x": 29862.09579324583, "y": 24773.64101513745 }, "floatingObject": { @@ -789,6 +625,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Token Holders", + "id": "c7cd91a3-96b0-4115-aaaa-fddae1c1b246" } } } @@ -797,10 +638,10 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "a08d2034-b8a7-49fc-a791-e374e1b027ad", + "id": "8a321cf8-2b35-4c65-80fc-6474597c9a4e", "savedPayload": { "position": { - "x": 29728.58323287204, + "x": 29862.09579324583, "y": 24773.64101513745 }, "targetPosition": { @@ -817,6 +658,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Community", + "id": "ae18dd6f-80f7-4fa0-a386-7ffd75e45063" } } }, @@ -844,15 +690,15 @@ "name": "Blog-Tutorials Pool", "config": "{}", "project": "Governance", - "id": "cd53b098-ca76-43e9-a653-631ca658569c", + "id": "0d922c8d-d7fe-4ee1-a842-bc09b07f5a39", "savedPayload": { "position": { - "x": 29963.532624493582, - "y": 25367.099487807467 + "x": 30331.26986176251, + "y": 25206.387902865903 }, "targetPosition": { - "x": 29673.18219995838, - "y": 25291.623458684113 + "x": 30036.925346744258, + "y": 25264.36467820457 }, "floatingObject": { "isPinned": false, @@ -875,15 +721,15 @@ "name": "In-App-Docs Pool", "config": "{}", "project": "Governance", - "id": "98888b87-e767-4a80-b1ac-00bc1e3da17d", + "id": "096f39eb-d93d-48a0-a66a-818fdfc36236", "savedPayload": { "position": { - "x": 29863.716930911036, - "y": 25523.348546451492 + "x": 30309.132955114615, + "y": 25390.471846697437 }, "targetPosition": { - "x": 29673.18219995838, - "y": 25291.623458684113 + "x": 30036.925346744258, + "y": 25264.36467820457 }, "floatingObject": { "isPinned": false, @@ -906,15 +752,15 @@ "name": "In-App-Tutorials Pool", "config": "{}", "project": "Governance", - "id": "de5522ed-456e-4b32-9153-651ed32f2c4a", + "id": "1cf165ee-f898-43bc-9601-9158cd23b651", "savedPayload": { "position": { - "x": 29691.12344614189, - "y": 25591.086497614433 + "x": 30183.021994065566, + "y": 25526.38713838971 }, "targetPosition": { - "x": 29673.18219995838, - "y": 25291.623458684113 + "x": 30036.925346744258, + "y": 25264.36467820457 }, "floatingObject": { "isPinned": false, @@ -937,15 +783,15 @@ "name": "Video-Tutorials Pool", "config": "{}", "project": "Governance", - "id": "a79c8f02-a021-4754-a28e-2754c3424c57", + "id": "594d2230-1402-4ed3-8d36-7ef134db9e68", "savedPayload": { "position": { - "x": 29511.677015131176, - "y": 25544.439746280324 + "x": 30001.107079382185, + "y": 25562.21875610712 }, "targetPosition": { - "x": 29673.18219995838, - "y": 25291.623458684113 + "x": 30036.925346744258, + "y": 25264.36467820457 }, "floatingObject": { "isPinned": false, @@ -967,15 +813,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "da58d819-4637-4116-85f1-d2b9bebf219b", + "id": "6e843832-f035-4bf5-a533-e7c24241d5da", "savedPayload": { "position": { - "x": 29673.18219995838, - "y": 25291.623458684113 + "x": 30036.925346744258, + "y": 25264.36467820457 }, "targetPosition": { - "x": 29563.579892648464, - "y": 25012.361334090852 + "x": 29817.00978519531, + "y": 25060.312856873294 }, "floatingObject": { "isPinned": false, @@ -987,6 +833,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Creating", + "id": "e8c86964-e87d-4490-96ad-4bf4be249d51" } } }, @@ -1002,15 +853,15 @@ "name": "In-App-Docs Pool", "config": "{}", "project": "Governance", - "id": "7ac5395d-5f2d-41d5-b872-7723f1774725", + "id": "c9c48c3d-05e2-4620-841e-9326df488b8f", "savedPayload": { "position": { - "x": 29410.12229492184, - "y": 25545.024441799233 + "x": 29909.863127963017, + "y": 25606.808490296327 }, "targetPosition": { - "x": 29376.532952090845, - "y": 25246.91077883126 + "x": 29750.253505008415, + "y": 25352.79123052784 }, "floatingObject": { "isPinned": false, @@ -1033,15 +884,15 @@ "name": "In-App-Tutorials Pool", "config": "{}", "project": "Governance", - "id": "f0e07a33-dc5a-4267-9535-125bfb9cc3c8", + "id": "6da35c2d-089c-4406-ba0d-f899e680ed29", "savedPayload": { "position": { - "x": 29189.486011533227, - "y": 25481.46022357167 + "x": 29683.49722482152, + "y": 25645.269604182387 }, "targetPosition": { - "x": 29376.532952090845, - "y": 25246.91077883126 + "x": 29750.253505008415, + "y": 25352.79123052784 }, "floatingObject": { "isPinned": false, @@ -1064,15 +915,15 @@ "name": "Video-Tutorials Pool", "config": "{}", "project": "Governance", - "id": "c05c7d35-a293-4592-bb48-237b27ccb185", + "id": "3a6da240-0f49-466d-88f9-6ea746d34c55", "savedPayload": { "position": { - "x": 29078.419289122874, - "y": 25280.500121662255 + "x": 29496.23624523993, + "y": 25512.400853482442 }, "targetPosition": { - "x": 29376.532952090845, - "y": 25246.91077883126 + "x": 29750.253505008415, + "y": 25352.79123052784 }, "floatingObject": { "isPinned": false, @@ -1094,15 +945,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "997c4e75-38b7-42e0-b603-e59abc359639", + "id": "b20ba922-208b-4aa8-8a57-270a54a39806", "savedPayload": { "position": { - "x": 29376.532952090845, - "y": 25246.91077883126 + "x": 29750.253505008415, + "y": 25352.79123052784 }, "targetPosition": { - "x": 29563.579892648464, - "y": 25012.361334090852 + "x": 29817.00978519531, + "y": 25060.312856873294 }, "floatingObject": { "isPinned": false, @@ -1114,6 +965,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Translating", + "id": "1dc0d3a0-4a11-43c2-8c53-6b9e86cb0d01" } } } @@ -1122,15 +978,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "b2259481-93d7-4f84-b2ed-b2874d39e7ea", + "id": "4827d415-f407-47f3-b389-d6429c676250", "savedPayload": { "position": { - "x": 29563.579892648464, - "y": 25012.361334090852 + "x": 29817.00978519531, + "y": 25060.312856873294 }, "targetPosition": { - "x": 29608.292572501316, - "y": 24715.712086223313 + "x": 29728.58323287204, + "y": 24773.64101513745 }, "floatingObject": { "isPinned": false, @@ -1142,6 +998,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Production", + "id": "58feb67b-074a-4373-8cc1-9219851b251a" } } }, @@ -1157,15 +1018,15 @@ "name": "Completing Tutorials Pool", "config": "{}", "project": "Governance", - "id": "4fc1c337-9aa0-4373-b3c2-9220a00fa7fd", + "id": "f28026a2-7299-45c3-9f42-e0a64311e114", "savedPayload": { "position": { - "x": 29141.983507350436, - "y": 25059.86383827364 + "x": 29457.77513135387, + "y": 25286.034950340945 }, "targetPosition": { - "x": 29329.030447908055, - "y": 24825.31439353323 + "x": 29524.531411540764, + "y": 24993.5565766864 }, "floatingObject": { "isPinned": false, @@ -1188,15 +1049,15 @@ "name": "Reading the Docs Pool", "config": "{}", "project": "Governance", - "id": "c6dbe6e9-a907-4ce6-bf31-e8680bc77d65", + "id": "57196823-651b-4285-bf18-a4bbd9fa3066", "savedPayload": { "position": { - "x": 29032.381200040516, - "y": 24780.60171368038 + "x": 29237.85956980492, + "y": 25081.98312900967 }, "targetPosition": { - "x": 29329.030447908055, - "y": 24825.31439353323 + "x": 29524.531411540764, + "y": 24993.5565766864 }, "floatingObject": { "isPinned": false, @@ -1218,15 +1079,15 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "13a38528-b019-40e9-a1fd-aeed8f8da1e6", + "id": "2fb14c74-e3b6-43db-86e3-3f67fb3aa657", "savedPayload": { "position": { - "x": 29329.030447908055, - "y": 24825.31439353323 + "x": 29524.531411540764, + "y": 24993.5565766864 }, "targetPosition": { - "x": 29608.292572501316, - "y": 24715.712086223313 + "x": 29728.58323287204, + "y": 24773.64101513745 }, "floatingObject": { "isPinned": false, @@ -1238,6 +1099,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Consumption", + "id": "8a133a29-c678-4da0-8408-1e7f87d9dfa7" } } } @@ -1246,11 +1112,11 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "8534e6cc-b38c-4beb-b0d5-56c55415aca2", + "id": "30929e97-3faa-4a62-b45d-c22716b3df8e", "savedPayload": { "position": { - "x": 29608.292572501316, - "y": 24715.712086223313 + "x": 29728.58323287204, + "y": 24773.64101513745 }, "targetPosition": { "x": 29795.339513058934, @@ -1266,6 +1132,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Education", + "id": "86787666-908c-4b27-8265-cd460732030f" } } }, @@ -1281,15 +1152,15 @@ "name": "Management Pool", "config": "{}", "project": "Governance", - "id": "3c0f718d-ffd7-46db-8d9d-e40090e9a7f2", + "id": "a3cd897e-df9e-49ab-88a7-02869b81523b", "savedPayload": { "position": { - "x": 29254.75819231748, - "y": 24741.492884953437 + "x": 29421.245631943697, + "y": 24950.261530963722 }, "targetPosition": { - "x": 29525.048852688207, - "y": 24611.32776321817 + "x": 29608.292572501316, + "y": 24715.712086223313 }, "floatingObject": { "isPinned": false, @@ -1311,11 +1182,11 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "02f2ad1d-17f4-4f4d-9da1-c43025615b4d", + "id": "40c0e3d0-1165-4ff9-8242-211d9f0a7a85", "savedPayload": { "position": { - "x": 29525.048852688207, - "y": 24611.32776321817 + "x": 29608.292572501316, + "y": 24715.712086223313 }, "targetPosition": { "x": 29795.339513058934, @@ -1331,13 +1202,18 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Management", + "id": "a2acb2b1-c88f-47f2-b31b-b0cde52801ac" } } }, { "type": "Weight Votes Switch", "name": "Features Pool Class", - "config": "{}", + "config": "{\n\"percentage\": 50\n}", "project": "Governance", "weightVotesSwitch": [], "poolWeightVotes": [ @@ -1346,15 +1222,15 @@ "name": "Features Pool", "config": "{}", "project": "Governance", - "id": "5a275935-6d5b-41b0-a49c-2ac5517ec4b7", + "id": "247ec21c-2331-460f-b803-a108db234804", "savedPayload": { "position": { - "x": 29195.339513058934, - "y": 24481.162641482904 + "x": 29254.75819231748, + "y": 24741.492884953437 }, "targetPosition": { - "x": 29495.339513058934, - "y": 24481.162641482904 + "x": 29525.048852688207, + "y": 24611.32776321817 }, "floatingObject": { "isPinned": false, @@ -1376,7 +1252,201 @@ "assetWeightVotes": [], "featureWeightVotes": [], "positionWeightVotes": [], - "id": "91cc4c4f-9c21-452a-a071-943742002da7", + "id": "e7eea9e5-4df6-4a6b-8a2a-5e46373a77fa", + "savedPayload": { + "position": { + "x": 29525.048852688207, + "y": 24611.32776321817 + }, + "targetPosition": { + "x": 29795.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Features", + "id": "8c3175a1-17aa-4e27-bcbe-063468ecc87e" + } + } + }, + { + "type": "Weight Votes Switch", + "name": "Software Projects Pool Class", + "config": "{}", + "project": "Governance", + "weightVotesSwitch": [], + "poolWeightVotes": [ + { + "type": "Pool Weight Vote", + "name": "Foundations Project Pool", + "config": "{}", + "project": "Governance", + "id": "e55378fa-5093-4225-864d-8ff41d99dd6a", + "savedPayload": { + "position": { + "x": 29345.339513058934, + "y": 24740.970262618237 + }, + "targetPosition": { + "x": 29495.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Foundations Project", + "id": "2207c69c-ee9d-4453-8bf4-582d79b4b635" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "TensorFlow Project Pool", + "config": "{}", + "project": "Governance", + "id": "61584484-e4c2-4166-8e41-f8473f8c669f", + "savedPayload": { + "position": { + "x": 29235.5318919236, + "y": 24631.162641482904 + }, + "targetPosition": { + "x": 29495.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "TensorFlow Project", + "id": "ea854cf8-47cd-43f0-b58a-13e61ae3106d" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Governance Project Pool", + "config": "{}", + "project": "Governance", + "id": "a6bb434c-67fd-4429-a4b4-f51a0c9a07ed", + "savedPayload": { + "position": { + "x": 29195.339513058934, + "y": 24481.162641482904 + }, + "targetPosition": { + "x": 29495.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Governance Project", + "id": "3c80032c-51a8-4fd8-ab65-cf219c03ce95" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Education Project Pool", + "config": "{}", + "project": "Governance", + "id": "e718201a-9ce4-4eb5-aade-1e844f59af64", + "savedPayload": { + "position": { + "x": 29235.5318919236, + "y": 24331.162641482904 + }, + "targetPosition": { + "x": 29495.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Education Project", + "id": "0a79ec65-6f67-4c18-823f-48a6d0494a81" + } + } + }, + { + "type": "Pool Weight Vote", + "name": "Ethereum Project Pool", + "config": "{}", + "project": "Governance", + "id": "7ac78464-92ee-470e-ba77-661071937ab5", + "savedPayload": { + "position": { + "x": 29345.339513058934, + "y": 24221.35502034757 + }, + "targetPosition": { + "x": 29495.339513058934, + "y": 24481.162641482904 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Pool", + "name": "Ethereum Project", + "id": "f51d23aa-742c-40d4-b000-2b90c3ae197c" + } + } + } + ], + "assetWeightVotes": [], + "featureWeightVotes": [], + "positionWeightVotes": [], + "id": "f98086f7-1e41-4365-aa6c-4e4cccaf4ae6", "savedPayload": { "position": { "x": 29495.339513058934, @@ -1396,6 +1466,11 @@ }, "uiObject": { "isRunning": false + }, + "referenceParent": { + "type": "Pool Class", + "name": "Software Projects", + "id": "a987f1d3-fc8d-4b7c-99dd-77f15a32f37d" } } } @@ -1417,7 +1492,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": true, + "isCollapsed": false, "angleToParent": 2, "distanceToParent": 3, "arrangementStyle": 0 @@ -1522,92 +1597,54 @@ "config": "{}", "project": "Governance", "featureContributionsFolder": [ - { - "type": "Feature Contributions Folder", - "name": "Visual Debugger Feature Class", - "config": "{}", - "project": "Governance", - "featureContributionsFolder": [], - "featureContributionClaims": [], - "id": "842754e5-a050-40dd-b9dc-e799df666dfe", - "savedPayload": { - "position": { - "x": 34699.91303591268, - "y": 38376.04719845434 - }, - "targetPosition": { - "x": 34546.043252690906, - "y": 38118.51256037378 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Visual Debugger", - "id": "0e329071-a542-405f-ae8c-2933098759c1" - } - } - }, - { - "type": "Feature Contributions Folder", - "name": "Charting System Feature Class", - "config": "{}", - "project": "Governance", - "featureContributionsFolder": [], - "featureContributionClaims": [], - "id": "d9c25551-bcfd-459a-a773-e073f414438c", - "savedPayload": { - "position": { - "x": 34348.66163490899, - "y": 38344.434000174864 - }, - "targetPosition": { - "x": 34546.043252690906, - "y": 38118.51256037378 - }, - "floatingObject": { - "isPinned": false, - "isFrozen": false, - "isCollapsed": false, - "angleToParent": 1, - "distanceToParent": 3, - "arrangementStyle": 0 - }, - "uiObject": { - "isRunning": false - }, - "referenceParent": { - "type": "Feature Class", - "name": "Charting System", - "id": "7edc83c0-74fc-4427-816d-4db5d840577f" - } - } - }, { "type": "Feature Contributions Folder", "name": "Data Mining Feature Class", "config": "{}", "project": "Governance", "featureContributionsFolder": [], - "featureContributionClaims": [], + "featureContributionClaims": [ + { + "type": "Feature Contribution Claim", + "name": "Feature X Data Mining", + "config": "{}", + "project": "Governance", + "id": "edf1a5c9-7802-4856-918c-3cd5a7a9caf7", + "savedPayload": { + "position": { + "x": 30038.782819134452, + "y": 24048.581836534908 + }, + "targetPosition": { + "x": 29884.91303591268, + "y": 23791.047198454347 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Feature", + "name": "Feature X", + "id": "1b9dd977-f388-4434-a3f9-2e7a10726848" + } + } + } + ], "id": "ebad23ed-1a02-4edf-a9d7-fc4b2fd0dacb", "savedPayload": { "position": { - "x": 34270.18492092547, - "y": 38000.60505087761 + "x": 29884.91303591268, + "y": 23791.047198454347 }, "targetPosition": { - "x": 34546.043252690906, - "y": 38118.51256037378 + "x": 29731.043252690906, + "y": 23533.512560373787 }, "floatingObject": { "isPinned": false, @@ -1627,6 +1664,41 @@ } } }, + { + "type": "Feature Contributions Folder", + "name": "Charting System Feature Class", + "config": "{}", + "project": "Governance", + "featureContributionsFolder": [], + "featureContributionClaims": [], + "id": "e745f3cd-4cd9-421b-b9ab-f62650fb56f8", + "savedPayload": { + "position": { + "x": 29533.661634908993, + "y": 23759.43400017487 + }, + "targetPosition": { + "x": 29731.043252690906, + "y": 23533.512560373787 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Charting System", + "id": "7edc83c0-74fc-4427-816d-4db5d840577f" + } + } + }, { "type": "Feature Contributions Folder", "name": "Visual Designer Feature Class", @@ -1634,15 +1706,15 @@ "project": "Governance", "featureContributionsFolder": [], "featureContributionClaims": [], - "id": "942d8eea-3303-4d6f-af60-374e59cf715d", + "id": "3ae7f0f9-be37-4e6c-b3b1-4343e51f80a9", "savedPayload": { "position": { - "x": 34572.93504536193, - "y": 37819.72027217521 + "x": 29455.184920925472, + "y": 23415.60505087761 }, "targetPosition": { - "x": 34546.043252690906, - "y": 38118.51256037378 + "x": 29731.043252690906, + "y": 23533.512560373787 }, "floatingObject": { "isPinned": false, @@ -1661,21 +1733,56 @@ "id": "18584f3f-6e48-4a68-89f1-0268185156e9" } } + }, + { + "type": "Feature Contributions Folder", + "name": "Visual Debugger Feature Class", + "config": "{}", + "project": "Governance", + "featureContributionsFolder": [], + "featureContributionClaims": [], + "id": "d8ab7844-f98f-4ce1-a634-c0ff98af28ca", + "savedPayload": { + "position": { + "x": 29757.935045361937, + "y": 23234.720272175215 + }, + "targetPosition": { + "x": 29731.043252690906, + "y": 23533.512560373787 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + }, + "referenceParent": { + "type": "Feature Class", + "name": "Visual Debugger", + "id": "0e329071-a542-405f-ae8c-2933098759c1" + } + } } ], "featureContributionClaims": [], "id": "f8a482c4-dee0-475a-831b-7514fd255ba6", "savedPayload": { "position": { - "x": 34546.043252690906, - "y": 38118.51256037378 + "x": 29731.043252690906, + "y": 23533.512560373787 }, "targetPosition": { "x": 30023.521626345453, "y": 23466.75628018689 }, "floatingObject": { - "isPinned": true, + "isPinned": false, "isFrozen": false, "isCollapsed": false, "angleToParent": 1, @@ -1707,7 +1814,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 diff --git a/Projects/Governance/Schemas/App-Schema/asset-class.json b/Projects/Governance/Schemas/App-Schema/asset-class.json index c2ddd6147..62485c9d0 100644 --- a/Projects/Governance/Schemas/App-Schema/asset-class.json +++ b/Projects/Governance/Schemas/App-Schema/asset-class.json @@ -9,9 +9,9 @@ "iconPathOff": "configuration" }, { - "action": "Install Assets", + "action": "Install Missing Assets", "actionProject": "Governance", - "label": "Install Assets", + "label": "Install Missing Assets", "askConfirmation": true, "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", diff --git a/Projects/Governance/Schemas/App-Schema/assets.json b/Projects/Governance/Schemas/App-Schema/assets.json index 6c4470d06..6d7a859af 100644 --- a/Projects/Governance/Schemas/App-Schema/assets.json +++ b/Projects/Governance/Schemas/App-Schema/assets.json @@ -9,9 +9,9 @@ "iconPathOff": "configuration" }, { - "action": "Install Assets", + "action": "Install Missing Assets", "actionProject": "Governance", - "label": "Install Assets", + "label": "Install Missing Assets", "askConfirmation": true, "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", diff --git a/Projects/Governance/Schemas/App-Schema/claim-votes-switch.json b/Projects/Governance/Schemas/App-Schema/claim-votes-switch.json index 4cf974141..86d6f15df 100644 --- a/Projects/Governance/Schemas/App-Schema/claim-votes-switch.json +++ b/Projects/Governance/Schemas/App-Schema/claim-votes-switch.json @@ -9,10 +9,10 @@ "iconPathOff": "configuration" }, { - "action": "Install Votes", + "action": "Install Missing Votes", "actionProject": "Governance", "actionFunction": "payload.executeAction", - "label": "Install Votes", + "label": "Install Missing Votes", "relatedUiObject": "Weight Votes Switch", "askConfirmation": true, "confirmationLabel": "Confirm to Install" diff --git a/Projects/Governance/Schemas/App-Schema/user-profile-votes-switch.json b/Projects/Governance/Schemas/App-Schema/user-profile-votes-switch.json index 317b18d85..43837946e 100644 --- a/Projects/Governance/Schemas/App-Schema/user-profile-votes-switch.json +++ b/Projects/Governance/Schemas/App-Schema/user-profile-votes-switch.json @@ -9,10 +9,10 @@ "iconPathOff": "configuration" }, { - "action": "Install Votes", + "action": "Install Missing Votes", "actionProject": "Governance", "actionFunction": "payload.executeAction", - "label": "Install Votes", + "label": "Install Missing Votes", "relatedUiObject": "Weight Votes Switch", "askConfirmation": true, "confirmationLabel": "Confirm to Install" diff --git a/Projects/Governance/Schemas/App-Schema/votes-switch.json b/Projects/Governance/Schemas/App-Schema/votes-switch.json index 3437ff59a..47e4aee77 100644 --- a/Projects/Governance/Schemas/App-Schema/votes-switch.json +++ b/Projects/Governance/Schemas/App-Schema/votes-switch.json @@ -9,10 +9,10 @@ "iconPathOff": "configuration" }, { - "action": "Install Votes", + "action": "Install Missing Votes", "actionProject": "Governance", "actionFunction": "payload.executeAction", - "label": "Install Votes", + "label": "Install Missing Votes", "relatedUiObject": "Weight Votes Switch", "askConfirmation": true, "confirmationLabel": "Confirm to Install" diff --git a/Projects/Governance/Schemas/App-Schema/weight-votes-switch.json b/Projects/Governance/Schemas/App-Schema/weight-votes-switch.json index 2bf3b50a3..da310615f 100644 --- a/Projects/Governance/Schemas/App-Schema/weight-votes-switch.json +++ b/Projects/Governance/Schemas/App-Schema/weight-votes-switch.json @@ -9,10 +9,10 @@ "iconPathOff": "configuration" }, { - "action": "Install Votes", + "action": "Install Missing Votes", "actionProject": "Governance", "actionFunction": "payload.executeAction", - "label": "Install Votes", + "label": "Install Missing Votes", "relatedUiObject": "Weight Votes Switch", "askConfirmation": true, "confirmationLabel": "Confirm to Install" diff --git a/Projects/Governance/UI/Function-Libraries/ActionSwitch.js b/Projects/Governance/UI/Function-Libraries/ActionSwitch.js index ef96b4bfc..113e19280 100644 --- a/Projects/Governance/UI/Function-Libraries/ActionSwitch.js +++ b/Projects/Governance/UI/Function-Libraries/ActionSwitch.js @@ -18,14 +18,14 @@ function newGovernanceActionSwitch() { async function executeAction(action) { switch (action.name) { - case 'Install Assets': + case 'Install Missing Assets': { - UI.projects.governance.functionLibraries.assets.installAssets(action.node, action.rootNodes) + UI.projects.governance.functionLibraries.assets.installMissingAssets(action.node, action.rootNodes) break } - case 'Install Votes': + case 'Install Missing Votes': { - UI.projects.governance.functionLibraries.votes.installVotes(action.node, action.rootNodes) + UI.projects.governance.functionLibraries.votes.installMissingVotes(action.node, action.rootNodes) break } case 'Install Missing Claims': diff --git a/Projects/Governance/UI/Function-Libraries/Assets.js b/Projects/Governance/UI/Function-Libraries/Assets.js index 8403f1f64..64be554bf 100644 --- a/Projects/Governance/UI/Function-Libraries/Assets.js +++ b/Projects/Governance/UI/Function-Libraries/Assets.js @@ -1,11 +1,11 @@ function newGovernanceFunctionLibraryAssets() { let thisObject = { - installAssets: installAssets + installMissingAssets: installMissingAssets } return thisObject - function installAssets( + function installMissingAssets( node, rootNodes ) { diff --git a/Projects/Governance/UI/Function-Libraries/Votes.js b/Projects/Governance/UI/Function-Libraries/Votes.js index 70afdc0c5..1137f4a50 100644 --- a/Projects/Governance/UI/Function-Libraries/Votes.js +++ b/Projects/Governance/UI/Function-Libraries/Votes.js @@ -1,7 +1,7 @@ function newGovernanceFunctionLibraryVotes() { let thisObject = { calculate: calculate, - installVotes: installVotes + installMissingVotes: installMissingVotes } return thisObject @@ -313,7 +313,7 @@ function newGovernanceFunctionLibraryVotes() { } } - function installVotes(node, rootNodes) { + function installMissingVotes(node, rootNodes) { if (node.payload === undefined) { return } if (node.payload.referenceParent === undefined) { node.payload.uiObject.setErrorMessage('To install votes you need a Reference Parent') @@ -346,17 +346,12 @@ function newGovernanceFunctionLibraryVotes() { let destinationNodeChild = destinationNode[property.name] let originNodeChildType = getOriginNodeChildType(destinationNodeChild) - let originNodeChild = UI.projects.foundations.functionLibraries.uiObjectsFromNodes.addUIObject(originNode, originNodeChildType) + let originNodeChild = UI.projects.foundations.utilities.children.findChildReferencingThisNode(originNode, destinationNodeChild) - if ( - destinationNodeChild.type === 'Pool' || - destinationNodeChild.type === 'Asset' || - destinationNodeChild.type === 'Feature' || - destinationNodeChild.type === 'Position' - ) { - originNodeChild.payload.referenceParent = destinationNodeChild + if (originNodeChild === undefined) { + originNodeChild = UI.projects.foundations.functionLibraries.uiObjectsFromNodes.addUIObject(originNode, originNodeChildType) } - + originNodeChild.payload.referenceParent = destinationNodeChild scanNodeBranch(originNodeChild, destinationNodeChild) } break @@ -368,17 +363,12 @@ function newGovernanceFunctionLibraryVotes() { let destinationNodeChild = propertyArray[m] let originNodeChildType = getOriginNodeChildType(destinationNodeChild) - let originNodeChild = UI.projects.foundations.functionLibraries.uiObjectsFromNodes.addUIObject(originNode, originNodeChildType) + let originNodeChild = UI.projects.foundations.utilities.children.findChildReferencingThisNode(originNode, destinationNodeChild) - if ( - destinationNodeChild.type === 'Pool' || - destinationNodeChild.type === 'Asset' || - destinationNodeChild.type === 'Feature' || - destinationNodeChild.type === 'Position' - ) { - originNodeChild.payload.referenceParent = destinationNodeChild + if (originNodeChild === undefined) { + originNodeChild = UI.projects.foundations.functionLibraries.uiObjectsFromNodes.addUIObject(originNode, originNodeChildType) } - + originNodeChild.payload.referenceParent = destinationNodeChild scanNodeBranch(originNodeChild, destinationNodeChild) } }