[Steem Curator] - Utopian Moderator Comment Curation

in utopian-io •  6 years ago  (edited)

Repository:
https://github.com/mightypanda-x/steem-curator

Production URL:

https://steemcurator.com/

Previous Posts

https://busy.org/@mightypanda/steem-curator-mvp-comments-curation
https://busy.org/@mightypanda/steem-curator-easies-curation-and-tech-debt
https://busy.org/@mightypanda/steem-curator-sorting-feature-and-utopian-posts
https://busy.org/@mightypanda/steem-curator---user-preference-settings

New Feature and associated pull request

Utopian moderator comments provide for excellent curation opportunities but it can be tedious to go through each one of those and find out the ones with low payout and past 15 min. This new feature tries to solve for that problem by providing essential information like number of votes, total payout, age of comment and if the user has already voted on the comment.

Pull Request: https://github.com/mightypanda-x/steem-curator/commit/c841c0ed959bf8fae2ac19a90d4b0f61b1fdb63a

Under the hood

src/app/utopian-comments/utopian-comments.component.ts
image.png
Dispatches action to retrieve moderator comments. Attaches a subscriber to the comments observable and updates material table data source with the updated state value. Once we have received a list of the comments, we iterate over each comment and dispatch an event to get more information about each comment like pending payout and age.

image.png
We also retrieve saved user settings and update the url with preferred site.

src/app/utopian/effects/utopian.effects.ts
image.png
Effect handles side effects and intercepts action to get data from service. Based on the data received, it either invokes a success or failure call.

src/app/utopian/reducers/utopian.reducers.ts
image.png
Once the data is received for each comment, this code combs through the information we need and modifies the comment object with that.

Feedback?

If you have any feedback or would like to add some new features, please let me know in the comments below.

Github: https://github.com/mightypanda-x

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for your contribution. Again a nice update to the project. Though anyone can go to the Utopian.rocks website and get the latest info so how it is different to use SteemCurators. Also, it looks like there is a separate code which writes to 'https://auto-upvote.herokuapp.com/utopian/comments', it would be better if you can write about that too.


Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you for your review, @codingdefined!

So far this week you've reviewed 3 contributions. Keep up the good work!

Thanks for the review. Steem curator makes it easy to curate comments by adding time, votes, payout and currently voted by you information. Utopian rocks doesn't have any of that info. The api used is just a html parser but it has cors header set so anyone can use it. Other peices of codes in that project are the ground work for auto voting and will me made public at a later date.

Hey, @mightypanda

Thank you for your contribution

So far you've submitted 50 contributions on Utopian. Keep up the good work!

Your 38 contributions have been appoved and upvoted by Utopian

Here is your contributions details..

  • Bughunting : 32
  • Development : 3
  • Tutorials : 3
Your total payout for 38 contributions is $ 784.13

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 18 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 5 SBD worth and should receive 83 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Hi, @mightypanda!

You just got a 72.7% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by mightyPanda from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Hi @mightypanda!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @mightypanda!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!