Merge pull request #1638 from Luis-Fernando-Molina/develop

Contribution: Governance final touches
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-09-02 13:02:33 -04:00
commit 18bc792f52
7 files changed
+9 -7

No files matched your search

@@ -186,7 +186,9 @@ function newFoundationsChartingSpace() {
}
function resize() {
thisObject.viewport.resize()
if (thisObject.viewport !== undefined) {
thisObject.viewport.resize()
}
thisObject.container.frame.width = browserCanvas.width
thisObject.container.frame.height = COCKPIT_SPACE_POSITION
}
@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryAirdropProgram() {
) {
node.payload.airdropProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Airdrop Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -489,7 +489,7 @@ function newGovernanceFunctionLibraryClaimsProgram() {
node.payload.uiObject.percentageAngleOffset = 180
node.payload.uiObject.percentageAtAngle = true
node.payload.uiObject.setValue(programPowerText)
node.payload.uiObject.setValue(programPowerText, UI.projects.governance.globals.designer.SET_VALUE_COUNTER)
if (percentage !== undefined) {
node.payload.uiObject.setPercentage(percentage.toFixed(2),
@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryGithubProgram() {
) {
node.payload.githubProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Github Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryStakingProgram() {
) {
node.payload.stakingProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Staking Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -102,7 +102,7 @@ function newGovernanceUtilitiesBonusProgram() {
) {
node.payload[programPropertyName].isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Bonus Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -169,7 +169,7 @@ function newGovernanceUtilitiesDecendentProgram() {
) {
node.payload[programPropertyName].isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Decendent Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return