TravelFeed dApp: Introducing a Menu for Curators by jpphotography

View this thread on steempeak.com
· @jpphotography · (edited)
$33.21
TravelFeed dApp: Introducing a Menu for Curators
**Until recently, the TravelFeed curation team was using our own Discord bot to curate posts. This involved looking through posts on a Steem frontend like steemit.com and then pasting them to Discord and adding reactions or chat commands to perform curation actions. With curation moving to our dApp and the existing solution having some problems, the demand for a new curation solution within our dApp came up. With the new solution, logged in curators can curate posts directly from travelfeed.io using a menu only visible for curators!**

![Screenshot 20190416 at 22.36.50.png](https://files.steempeak.com/file/steempeak/jpphotography/Rg3J1aw4-Screenshot202019-04-1620at2022.36.50.png)

#### Repositories
https://github.com/travelfeed-io/travelfeed-io
https://github.com/travelfeed-io/travelfeed-curator

### New Features
#### [PR #41](https://github.com/travelfeed-io/travelfeed-io/commit/362612da013dfc8787fd4dc56a8d0ac36b40c58e)

A "star" indicator displays the curation status of a post. Unlike before, posts that have received an honourable upvote are now indicated by a half-filled star in the top right:

![Screenshot 20190416 at 22.32.55.png](https://files.steempeak.com/file/steempeak/jpphotography/17uSHrbm-Screenshot202019-04-1620at2022.32.55.png)

If the username in the cookie matches one of our curator's usernames, a click on the "star" icon opens the curation menu:

![Screenshot 20190416 at 22.10.13.png](https://files.steempeak.com/file/steempeak/jpphotography/KmPkBjJ4-Screenshot202019-04-1620at2022.10.13.png)

The curator can select between five different curation actions and is then asked to confirm. The menu and confirmation dialogue both use elements from the Material UI React framework.

![Screenshot 20190416 at 22.09.57.png](https://files.steempeak.com/file/steempeak/jpphotography/3PmNwUV4-Screenshot202019-04-1620at2022.09.57.png)

Upon confirmation, a custom_json operation is broadcasted to the blockchain through Steemconnect from the curator's account:

![Screenshot 20190416 at 22.14.43.png](https://files.steempeak.com/file/steempeak/jpphotography/PwL065sF-Screenshot202019-04-1620at2022.14.43.png)

#### [Python script](https://github.com/travelfeed-io/travelfeed-curator)

This python script streams the blockchain for valid custom_json operations by authorised curators and perform the selected action with the @travelfeed account, e.g. leaving a comment or resteeming, upvoting and commenting on the post:

![Screenshot 20190416 at 22.15.03.png](https://files.steempeak.com/file/steempeak/jpphotography/Vts4VOmp-Screenshot202019-04-1620at2022.15.03.png) 

As with our Discord bot before, the script also checks the blockchain stream for posts tagged with "travelfeed" and leaves a comment if they don't meet our criteria (min. 250 words in English).

#### Planned features

Currently, the curator status is determined from the username returned by Steemconnect and saved in a cookie. As soon as our API is integrated into the frontend, the user role will be obtained from our database upon login and saved into a json web token returned to the user and saved as cookie. Instead of defining curators manually within the code, users with the role "curator" in the JWT will then see the curator menu.
Eventually, instead of using custom_json operations, curation actions will be performed directly through the API, but this is not a priority at the moment.

#### GitHub Account
https://github.com/tiotdev
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 124 others
πŸ‘Ž  
properties (23)
post_id73,222,893
authorjpphotography
permlinktravelfeed-dapp-introducing-a-menu-for-curators
categoryutopian-io
json_metadata{"app":"steempeak\/1.9.6","format":"markdown","tags":["utopian-io","development","travelfeed","js","python"],"users":["travelfeed"],"links":["https:\/\/github.com\/travelfeed-io\/travelfeed-io","https:\/\/github.com\/travelfeed-io\/travelfeed-curator","https:\/\/github.com\/travelfeed-io\/travelfeed-io\/commit\/362612da013dfc8787fd4dc56a8d0ac36b40c58e","https:\/\/github.com\/travelfeed-io\/travelfeed-curator","\/@travelfeed","https:\/\/github.com\/tiotdev"],"image":["https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/Rg3J1aw4-Screenshot202019-04-1620at2022.36.50.png","https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/17uSHrbm-Screenshot202019-04-1620at2022.32.55.png","https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/KmPkBjJ4-Screenshot202019-04-1620at2022.10.13.png","https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/3PmNwUV4-Screenshot202019-04-1620at2022.09.57.png","https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/PwL065sF-Screenshot202019-04-1620at2022.14.43.png","https:\/\/files.steempeak.com\/file\/steempeak\/jpphotography\/Vts4VOmp-Screenshot202019-04-1620at2022.15.03.png"]}
created2019-04-16 21:02:09
last_update2019-04-17 19:00:24
depth0
children12
net_rshares58,169,331,551,686
last_payout2019-04-23 21:02:09
cashout_time1969-12-31 23:59:59
total_payout_value25.004 SBD
curator_payout_value8.209 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3,447
author_reputation124,610,763,090,089
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries
0.
accountutopian.pay
weight500
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (189)
@betterthanhome ·
$0.02
I had a problem in the past that every time I posted a blog with more than 250 words I received that comment to use a minimum of 250 words. I donΒ΄t know why it does not work anymore. Also, I asked to review it again I never got any answer.

Is it because I always write in 2 columns in 2 languages?
πŸ‘  
properties (23)
post_id73,223,951
authorbetterthanhome
permlinkre-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190416t212652804z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2019-04-16 21:26:54
last_update2019-04-16 21:26:54
depth1
children2
net_rshares34,593,589,938
last_payout2019-04-23 21:26:54
cashout_time1969-12-31 23:59:59
total_payout_value0.014 SBD
curator_payout_value0.004 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length298
author_reputation103,912,230,383,517
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jpphotography ·
$0.02
With the new system it's no longer necessary to reply with `!review`, all posts that have at least 250 words upon review will be reviewed automatically, including posts that received a comment about needing 250 words in English. If your post appears on [travelfeed.io](https://travelfeed.io/), we will consider it.
The language of the post is detected automatically, e.g. if there are 500 words and the detected probability of them being in English is under 50%, the post would receive a comment. This works fine with languages like Chinese, but not with German since it is too similar to English. Receiving a comment about needing at least 250 words in English does not have an effect on the posts being reviewed as long as the post has over 250 words in total (in any language).
πŸ‘  , ,
properties (23)
post_id73,243,710
authorjpphotography
permlinkre-betterthanhome-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t064444257z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak\/1.9.6"}
created2019-04-17 06:44:45
last_update2019-04-17 06:44:45
depth2
children1
net_rshares41,355,388,501
last_payout2019-04-24 06:44:45
cashout_time1969-12-31 23:59:59
total_payout_value0.018 SBD
curator_payout_value0.005 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length780
author_reputation124,610,763,090,089
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (3)
@betterthanhome ·
cool, thanks so much for the quick answer!
properties (22)
post_id73,246,192
authorbetterthanhome
permlinkre-jpphotography-re-betterthanhome-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t081748817z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2019-04-17 08:17:48
last_update2019-04-17 08:17:48
depth3
children0
net_rshares0
last_payout2019-04-24 08:17:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length42
author_reputation103,912,230,383,517
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@soyrosa ·
$0.02
Nice! There might be quite a few curation groups who’d love to use something similar :-)

Posted using [Partiko iOS](https://partiko.app/referral/soyrosa)
πŸ‘  
properties (23)
post_id73,230,545
authorsoyrosa
permlinksoyrosa-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t002243641z
categoryutopian-io
json_metadata{"app":"partiko","client":"ios"}
created2019-04-17 00:22:45
last_update2019-04-17 00:22:45
depth1
children1
net_rshares36,641,630,925
last_payout2019-04-24 00:22:45
cashout_time1969-12-31 23:59:59
total_payout_value0.016 SBD
curator_payout_value0.005 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length154
author_reputation286,198,047,550,170
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jpphotography ·
We already received a request by another community to build on our code base, it's all open source :)
properties (22)
post_id73,243,781
authorjpphotography
permlinkre-soyrosa-soyrosa-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t064703533z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak\/1.9.6"}
created2019-04-17 06:47:03
last_update2019-04-17 06:47:03
depth2
children0
net_rshares0
last_payout2019-04-24 06:47:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length101
author_reputation124,610,763,090,089
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@for91days ·
Thank you so much for this Julian, this makes the life of a curator much easier.
properties (22)
post_id73,244,243
authorfor91days
permlinkre-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t070637789z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2019-04-17 07:06:39
last_update2019-04-17 07:06:39
depth1
children0
net_rshares0
last_payout2019-04-24 07:06:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length80
author_reputation139,101,986,879,805
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@emrebeyler ·
$13.96
Looks like travelfeed is getting great development iterations. 

Regarding the curation script, it might be good to check if the post is already voted. From my experience, you may need to process same blocks from time to time, and there is a chance that the bot may upvote the post even if it's already voted.




Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/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](https://review.utopian.io/result/3/2-2-2-2-2-2-1-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , , , , , , , , , , , , , ,
properties (23)
post_id73,282,889
authoremrebeyler
permlinkre-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t233508571z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/3\/2-2-2-2-2-2-1-","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"app":"steemit\/0.1"}
created2019-04-17 23:35:09
last_update2019-04-17 23:35:09
depth1
children2
net_rshares23,522,318,030,847
last_payout2019-04-24 23:35:09
cashout_time1969-12-31 23:59:59
total_payout_value10.577 SBD
curator_payout_value3.378 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length762
author_reputation319,480,565,467,431
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (16)
@utopian-io ·
Thank you for your review, @emrebeyler! Keep up the good work!
properties (22)
post_id73,406,013
authorutopian-io
permlinkre-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190417t233508571z-20190420t041626z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-04-20 04:16:27
last_update2019-04-20 04:16:27
depth2
children0
net_rshares0
last_payout2019-04-27 04:16:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length62
author_reputation152,913,012,544,965
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@jpphotography ·
Thanks for the review! Duplicate resteems or upvotes are not an issue since an exception is thrown which is handled if there already is a resteem or vote with the same percentage, the script checks for duplicate comments though.
πŸ‘  
properties (23)
post_id73,412,794
authorjpphotography
permlinkre-emrebeyler-re-jpphotography-travelfeed-dapp-introducing-a-menu-for-curators-20190420t073303213z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak\/1.9.7"}
created2019-04-20 07:33:03
last_update2019-04-20 07:33:03
depth2
children0
net_rshares601,606,315
last_payout2019-04-27 07:33:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length228
author_reputation124,610,763,090,089
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@steem-ua ·
#### Hi @jpphotography!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your **UA** account score is currently 4.883 which ranks you at **#1223** across all Steem accounts.
Your rank has improved 244 places in the last three days (old rank 1467).

In our last Algorithmic Curation Round, consisting of 323 contributions, your post is ranked at **#90**.
##### Evaluation of your UA score:

* Some people are already following you, keep going!
* The readers appreciate your great work!
* Good user engagement!


**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
post_id73,282,977
authorsteem-ua
permlinkre-travelfeed-dapp-introducing-a-menu-for-curators-20190417t233724z
categoryutopian-io
json_metadata{"app":"beem\/0.20.19"}
created2019-04-17 23:37:24
last_update2019-04-17 23:37:24
depth1
children0
net_rshares0
last_payout2019-04-24 23:37:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length646
author_reputation23,203,609,903,979
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey, @jpphotography!

**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](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

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

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id73,300,117
authorutopian-io
permlinkre-travelfeed-dapp-introducing-a-menu-for-curators-20190418t065831z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-04-18 06:58:33
last_update2019-04-18 06:58:33
depth1
children0
net_rshares0
last_payout2019-04-25 06:58:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length595
author_reputation152,913,012,544,965
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@travelfeed ·
<p>Hi @jpphotography,</p><p>Your post has been removed from TravelFeed.io after manual review by our team for the following reason: <em>dev post</em></p>
<p>Since it violates our policies, your post has been hidden from searches on TravelFeed.io, but will remain visible when accessed directly.</p>
<p>To learn more about our policies, you may <a href="https://travelfeed.io/about/faq">check them out here</a>. Please contact us through <a href="https://discord.gg/jWWu73H">our Discord</a> if you wish to appeal.</p>
properties (22)
post_id86,217,427
authortravelfeed
permlinkre-travelfeed-dapp-introducing-a-menu-for-curators-tfcuration
categoryutopian-io
json_metadata{"app":"travelfeed\/3.0.0","users":["jpphotography"]}
created2020-06-02 22:43:48
last_update2020-06-02 22:43:48
depth1
children0
net_rshares0
last_payout2020-06-09 22:43:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length516
author_reputation276,128,422,051,112
root_title"TravelFeed dApp: Introducing a Menu for Curators"
beneficiaries
0.
accounttravelfeed
weight1,000
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000