Individual Processes

in #utopian-io8 years ago (edited)

Pull Request

Bug Fixes/Small Things

Linting

The entire codebase was linted so the production build no compiles. There were small errors throughout the codebase like unused imports and a type error when doing (new Date() - new Date(2018, 1, 1). You may now run npm run build.

Tag Column

Although the steem blockchain only considers posts unique by their author and permlink, a tag is still needed on sites like busy.org and steemit.com because the url for a given post is something like <domain>/<tag>/<author>/<permlink>. I also cannot assume that the tag is always going to be nowplaying because some authors will not follow the rules 100%. I am now keeping track of the tag field in the database which will be used when displaying all contestants and their posts.

New Features

Processes

In the past there was a main function that would always have to be edited. With this pull request there is a new folder /src/process which holds files that do one thing: that process. There are three process files currently:

  • scrape (includes approve, comment, vote)
  • postWeek
  • postRecap
  • payout

This leaves a single executable javascript file with one purpose. This will be very useful for scripts and cron jobs. It is a step towards scheduling the weekly recap and new week posts.

Now Playing

Check out the #nowplaying community and bot in action here



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Linting!!!!!!

Thank you for the contribution. It has been approved.

You can contact us on Discord.

[utopian-moderator]

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

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • 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

Coin Marketplace

STEEM 0.10
TRX 0.31
JST 0.032
BTC 110729.03
ETH 3944.87
USDT 1.00
SBD 0.63