Knacksteem.org - Development of Profile Dashboard Page.

in #utopian-io6 years ago (edited)

Repository

https://github.com/knacksteem/knacksteem.org

Pull Request

https://github.com/knacksteem/knacksteem.org/pull/39

Issue

https://github.com/knacksteem/knacksteem.org/issues/35

Task Request

https://steemit.com/knacksteem/@knowledges/development-task-request-help-build-knacksteem-front-end-800-steem-bounty

New Features

Profile Dashboard Page

Below is the new profile dashboard page with user data from the STEEM blockchain.

Profile dashboard shot

The user interface was created by using React components made available by the antd component library.

The most challenging aspect of this pull was correctly computing:

  • Voting power for a given user.
  • Vote worth for a given user.

With searches for API's that execute this task seamlessly proving abortive, a custom solution had to be engineered.

To solve these problems, data had was fetched from the following endpoints on the Steem blockchain exposed via https://api.steemjs.com.

  • /getRewardFund?name={entity}
  • /getDynamicGlobalProperties
  • /getCurrentMedianHistoryPrice
  • /getUsers?name=[{username}]

The computations were run on the client as a short gap solution although in the future with interests of concurrency at hand it would be best to move computations to the server.

https://github.com/knacksteem/knacksteem.org/pull/39/commits/4ec8f647572115ed1282cc928982b0914179df27

https://github.com/knacksteem/knacksteem.org/pull/39/commits/8d428fe056644e30faabd3277765ce3f98f89a17

https://github.com/knacksteem/knacksteem.org/pull/39/commits/a0aaa6f43cf937b52805fd9e05788c07b65f08f9

https://github.com/knacksteem/knacksteem.org/pull/39/commits/564a1497f38d40195fab9f246caba484bc576ab7

https://github.com/knacksteem/knacksteem.org/pull/39/commits/7e84a20787c08e0b2aa53f7da0ed7faefca6f59c

What's next?

The next pull for this task will add moderation features: ban/unban & add /remove moderator or supervisor capabilities.

Github Account

https://github.com/creatrixity

Sort:  
  • I love the very healthy discussions in the GitHub PR
  • package-lock.json was still present in the PR but was required to be taken out.
  • The code was reviewed by the project member in an exemplary way.

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, @helo! Keep up the good work!

Hello! Your post has been resteemed and upvoted by @ilovecoding because we love coding! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On!

Reply !stop to disable the comment. Thanks!

Hey, @creatrixity!

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!