๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป 10101 Club Status Update: ๐Ÿ“ˆ STEEM Power History

in Steem Dev โ€ข 10 months ago (edited)

With the Steemit Interface DAO Proposal very, very close to being approved (click the big button at the end of this post if you haven't voted already), I wanted to complete a feature that I've been working on before my attention hopefully shifts to steemit.com for a prolonged period. It's a feature that I've been thinking about for a long time and one which I thought would look rather cool... An Historic STEEM Power chart...

image.png
Separator-code.png

๐Ÿ’ฐ What's Included

This chart contains all rewards that a user has earned, all STEEM powered up as well as all Power Downs.

Due to the nature of curation rewards in particular, this means that the tool processes tens of thousands of data points so the graph processes this to produce a data point every 2 weeks.

Because there's a lot of calculating to be done, particularly for older accounts, I didn't want this to hinder the performance of the existing page so I decided to render this chart after the rest of the page has loaded. My initial plan was to do this via AJAX but this caused me all kinds of problems and wouldn't work (Google Charts waits for the page to load before initiating the graph so if the page has already loaded before my graph is ready, it simply doesn't display)... so I ended up implementing a less elegant solution by including an iFrame. Initially, this calls in a "Loading" page and once the rest of the page is loaded, it then calls the charting page to generate this graph.

Separator-code.png

๐Ÿฌ Club Dolphin

Part of my motivation for creating this - other than it just being quite a "cool" thing to do ๐Ÿค“ - is my view on "club dolphin" status. The graph above is mine - showing that at one point, I'd achieved quintuple dolphin status before powering down. To me, this means that I shouldn't be celebrating becoming a dolphin until I've reached at least the same point again.

Separator-code.png

๐Ÿ› Bugs

Unfortunately, this has been quite buggy on the live server. API calls wouldn't get called or would return null (even if they worked perfectly on my localhost) which resulted in me having to include additional code to retry failed API attempts.

The page still crashed occasionally for this reason so if you do encounter an error or some of the charts displaying incomplete data, please refresh the page and try again - it tends to sort itself out.

If the problems persist, I might remove the graph or maybe force the user to "click" in order to load it - I might even implement this solution before you've read this post!

In fact, I've decided to implement this feature whilst I write this post and because of it, I've moved the graph underneath the club status information and above the "Shared Wallets". Yes, that's definitely playing nicer now!

image.png
Separator-code.png

ใ‹ Limitations

The calculations aren't perfect - some are stored as STEEM, others as VESTS so since these values and multipliers from one to another change over time, they don't always correlate to today's prices. For that reason, the graph displayed is approximate and I've removed all hover states (which show values) for this reason.

Separator-code.png

๐Ÿ’ฑ Enhancements

At some point, this chart could be enhanced to include things like Delegations or Transfers Out without too much difficulty... which might be quite cool additions. We'll see.

Footer-Top-green.png

As always, please let me know what you think and for any suggestions for further enhancements.

If you're new to my work or haven't got it bookmarked, you can find it here...

https://raptor.in.ua/clubstatus.php?author=the-gorilla





ย 

ย 

Separator-code.png

the-gorilla's Alternative Steemit Interface

In case you didn't know, I've created an interface to help you find content that you're interested in more easily.

Posts by voting bot users, abusers and spam tags are hidden and you can search by multiple tags - allowing you to find the content that you're interested in more easily.

๐Ÿ‘‰ Launch Alternative Steemit Interface ๐Ÿ‘ˆ




Separator-tools.png

the-gorilla's Club Status Tool

I've also created a tool to help users review their club status - showing them where their power's coming from, how much they're powering up, transferring out, STEEM Power history and who they share a wallet with amongst other things.

Please use it wisely.

๐Ÿ‘‰ Launch Club Status Tool ๐Ÿ‘ˆ

Footer-Bottom.png

Sort: ย 

I'm glad you're working on that historical SP tool; it was one of the features I often checked on the old SteemPeak front end. Their problem was that you couldn't set date range parameters (last month, last year, all, etc.) just click a "more" button to load another month's data, and it quickly became a snarled mess.

Edited to add: great to see that your proposal suddenly got a bunch of traction!

ย 10 months agoย 

Their problem was that you couldn't set date range parameters (last month, last year, all, etc.) just click a "more" button to load another month's data, and it quickly became a snarled mess.

I understand their reasons for doing this - the number of data points required could fairly easily hit 100,000 which either the API or server processing the data won't be happy with. Sometimes, it's better not to offer anything than a clunky solution though.

Edited to add: great to see that your proposal suddenly got a bunch of traction!

We've made it, the proposal has been approved ๐Ÿฅณ The hard work begins...

Pasรฉ por aquรญ dejandole un saludo
Y ademรกs marcando como favorito su herramienta para calcular el club!

Siga con el buen trabajo dentro de Steemit!!

ย 10 months agoย 

Thank you, I'm pleased that you like it ๐Ÿ™‚

Congratulations on the proposal

image.png

Just checked my graph. Love it.

I don't use this tool much now but it was always open in one of my tabs back then. I found it quite handy then, didn't think it could get any more cooler.

Happy for the great repsonse on your proposal.

ย 10 months agoย 

There's always a way of making something cooler ๐Ÿค“

Congratulations on your proposal, I think you must be excited! In fact, I think it's fantastic and exciting, I hope everything goes well.๐Ÿ™‚

ย 10 months agoย 

Excited, nervous, under pressure... I feel great responsibility and don't want to let anybody down!

The graph in the tool is genuinely cool. It's like a timeline, really. Kudos to you for the developments you are bringing to the platform and, hopefully, in the form of a new face of Steemit. Good luck! ๐Ÿ€

Loading...

This post has been featured in the latest edition of Steem News...