SteemMe - Graph showing your earned SBD of last 7 Days!

in utopian-io •  7 years ago  (edited)

wallpaper.png

SteemMe V0.0.8 (Commit)

What feature(s) did you add?

Changelog:

  • Added a Graph to show earned SBD of last week

Screen Shot 2018-03-12 at 13.49.42.png

How did you implement it/them?

Changelog:

  • Added a Graph to show earned SBD of last week:
    The Graph / Chart is displayed via ChartJS. To retrieve the account history getAccountHistory from SteemJS is used.

To check if the history dates are inside the last week this function was created:

function isOlderThanOneWeek(date) {
    const today = new Date();
    const emptyToday = new Date(today.getFullYear(), today.getMonth(), today.getDate(), 0, 0, 0);
    const previousWeek = new Date(emptyToday.getTime() - 6 * 24 * 60 * 60 * 1000);

    return (previousWeek.getTime() > date.getTime()) && (date.getTime() < emptyToday.getTime());
}

Roadmap

  • V.0.0.8:
    • Statistics about earned SBD / Steem over last week
  • V.0.1:
    • UI
    • More...

Contribute

Feel free to contribute by forking the GitHub Repo and creating Pull Requests. You can check the Roadmaps to find ideas, or you can implement your own stuff.

How to install it?

Please visit the Google Chrome Webstore and download the extension!

Go to your Extensions Tab and click options to set your Steemit Username
Screen Shot 2018-02-27 at 12.46.46.png

Proof for GitHub

Screen Shot 2018-02-23 at 10.47.12.png

benediktveith is my main GitHub account.
Check here for another proof



Posted on Utopian.io - Rewarding Open Source Contributors

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 the contribution. It has been approved.

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