https://github.com/Steemia/Steemia
https://github.com/Steemia/Steemia/pull/72
I've completed the Votes Values feature that a majority of our users expect. With this feature, you can see how much value(in SBD) a user has upvoted a post. It really took a long time to do this, but you can find the logic behind the Vote Values feature below.
// Calculate total payout of post
let totalPayout =
parseFloat(post.pending_payout_value) +
parseFloat(post.total_payout_value) +
parseFloat(post.curator_payout_value);
// Calculate ratio
let ratio = totalPayout / voteRshares;
// Caclulate value from rshares and add vote percent
for(i in post.active_votes) {
post.active_votes[i].value = (post.active_votes[i].rshares * ratio).toFixed(2);
post.active_votes[i].percent = post.active_votes[i].percent / 100;
}
Vote value is calculated, but the list is random, if you want to list by value, the following function will rank the value according to the vote value
let active_votes = post.active_votes.slice(0);
active_votes.sort((a,b) => {
return b.value - a.value
})
How does it look?
With the Saving Balance all the transfers out of savings accounts will have 3 days delay during which the sender can notice, recover their account cancel the transfer.
Saving Balance values are added in the wallet section of author and profile pages so that Saving Balance can be monitored beside STEEM and SBD balances.
Recently I added pending payout feature with a pull request. In the next pull request, payout can be tracked with 12 different currencies. Now, if there is a beneficiary in the post, the beneficaries of the post are detected with percents.
Since the reblog process can not be undone, before rebloging a post, an alert was generated to warn the user that this process can not be undone.
You just need to fork the following repository, feel free to send us a Pull Request... ๐๐
https://github.com/Steemia/Steemia