Integration of Steemit More Info features #6: Voting Values

in #utopian-io7 years ago (edited)

image.png

Another key feature from Steemit More Info, the possibility to see how much your upvote or downvote will be, based on the voting weight applied.

This feature is not available on the Store yet, to get the full list of features currently available, please refer to this post.

New Features

  • The upvote slider now features a voting value, that changes in real time with the chosen voting weight.

  • In a similar manner, you can see how much your downvote (flag) will cost the user:

  • Additionnally, the downvote popup will show you what the total payout value will be after your downvote.

Problems encountered and how to solve them

  • The main problem during the integration of this part was the fact that the listener onchange was only triggering once the slider lost the focus, which means that you would see an update of the voting value only after release the mouse click.
  • We didn't want to use the custom Steemit More Info listeners to avoid interfering with SteemPlus listeners, plus I don't like copy pasta.
  • Eventually, to do that, we had to listen for changes in the DOM and look for change on the slider at that moment :
$("body").on('DOMSubtreeModified', ".weight-display", function() {
            tryUpdateVotingSlider();
  });

Coming soon

  • All Steemit More Info features will be fixed an included in here.
  • Next one will be the detailed Following/Followers Panel (+ Integration with SteemConnect for fast unfollow)
  • Let me know what you want to see next
  • These will be available in the Chrome Store only when all features are ready

Hope this helps!

@stoodkev and @cedricguillas for @steem-plus



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

Nice post, a little more information helps a lot. I don't like copy pasta either! ;-)

You can contact us on Discord.
[utopian-moderator]

Not helpful for me yet!

Keyword yet! Delegation? 😘

So this extension isn’t available yet?

The extension is available and has over 750 users, only those new features are not available.
To see the whole list of features, please check this post.

Yea my bad just found it
Late for me here Canada west coast lol

No problem!

Is it possible for you to add the voting slider for people with less than 500 SP as well?. This would make it easier than opening up the extension and set the percentage in there.

SteemPlus already features a voting slider for Minnows (it s in the extension popup)

Yeah i know that this feature is already available but what i wanted to say was that, if you are already tinkering around with the "original" voting slider, you could as well enable it for minnows, since it probably would be a faster way of voting with <100% for minnows

Not that easy though ^^

Then don't mind what I said. It just sounds rather easy. xD
Your extension is one of the best in the steemit world nonetheless!

Hey @stoodkev I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

is it good for us?

Try it and you ll know ;)

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 54552.37
ETH 2295.79
USDT 1.00
SBD 2.30