KURE Community Curation App, Fundition Update - Unvoting Posts and Comments

in #kure5 years ago (edited)

A vote was previously fixed at whatever value you initially put. This didn't allow for changes, such as wanting to increase, decrease or remove a vote altogether. With unvoting posts and comments, the ability to change a vote is now possible, giving more control over the voting process.


Completed Tasks

  • Unvoting posts and comments


Github commits for work done


Video demonstration

None this time.


Unvoting posts and comments

When you hover over a post or comment you've already upvoted, it will tell you that you can "Unvote" the post.

Clicking on the upvote icon will display a popup where a confirmation is presented to "Confirm unvote". You are asked "Are you sure you want to remove the vote and curation rewards?".

After confirming, the upload icon will spin around until the upvote is removed.

Once the upvote is removed, the upvote icon will be black to indicate a vote was previously made but is no longer applied. The upvote count will go down by one, and the post payout value will decrease if you applied sufficient weight to affect the value.

To send an unvote, it's the same as a regular upvote, with the only difference being the weight applied. It just needs to be 0.

The post still has a vote applied, but a 0% vote. So it's not like there is no vote anymore. To display the unvote changes, I check to see if the upvoters of the current post include the current user. If the current user has a vote equal to 0, that means that they removed a vote that was previously set on the post.


Ongoing Tasks

Look forward to these tasks and others I come up with being worked on next :)

  • Adding sort functions to the Communities and Kurated pages
  • Liking Kurated post submissions in communities
  • Rating Kurated post submissions in communities
  • Tweak comments (limit to 20, show more option, max nested depth)
  • Implement PRPL Pattern for better performance
  • Viewing comments in their own page view
  • Follows, Followers and Post Count on user pages
  • Dark skin for the site
  • Selecting posts to vote at a later time
  • Improve Blog page, with rep, description and location
  • Add a settings page
  • Add nsfw filtering
  • Add progressive image loading
  • Flag a post
  • Steem Wallet

Additional Tasks

None to add.


Thank you @fundition and everyone else who supports my work in developing the community curation networking platform known as KURE!


If you appreciate and value the content, please consider: Upvoting, Sharing or Reblogging below.
Follow me for more content to come!


Like what I do? Then consider giving me a vote on the Witness page :) Thanks!

My goal is to share knowledge, truth and moral understanding in order to help change the world for the better. If you appreciate and value what I do, please consider supporting me as a Steem Witness by voting for me at the bottom of the Witness page.


Posted from KURE

Sort:  

Voted for witness. :)

Posted using Partiko Android

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.033
BTC 61726.60
ETH 3041.60
USDT 1.00
SBD 3.86