SteemMe - Displaying the remaining bandwidth data

Words
223
Reading
1 min
Listen
Play
9y

wallpaper.png

SteemMe

What feature(s) did you add?

V0.0.4 provides a single feature update for SteemMe. It is now possible to see your remaining bandwidth data of the current block. To save space and make the extension handy and easy to overview I also added the first step into a screen navigation logic.

Screen Shot 2018-02-27 at 12.41.43.png
Screen Shot 2018-02-27 at 12.41.32.png

By pressing more a user will open the full overview for Statistics section. All other section will become invisible - animations are still missing to make the transition more beautiful. They will be added soon.

How did you implement it/them?

Basically I have implemented the logic how the bandwidth is calculated and then I created a Utils file to convert the bandwidth bytes in KB / MB / etc..

function bytesToSize(bytes) {
   var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
   if (bytes == 0) return '0 Byte';
   var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
   return (bytes / Math.pow(1024, i)).toFixed(2) + ' ' + sizes[i];
};

Roadmap

  • V.0.0.4:
    • Remaining Bandwidth Data
    • First look at nav logic
  • V.0.0.5:
    • SBD / STEEM Price
  • V.0.0.6:
    • Statistics about earned SBD / SP 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



Posted on Utopian.io - Rewarding Open Source Contributors

SteemMe - Displaying the remaining bandwidth data | Ecency