New year code cleaning completed

in #utopian-io9 years ago (edited)

image.png

Finally done with this, I finished rewriting my whole code to implement messaging between the different components of SteemPlus. As i was saying in here, since new features of SteemPlus kept coming one after the other, I never really took the time to reorganize my code to avoid redundancies, and treated each feature as a separate program. With this second update, SteemPlus will finally run as a whole.

To be honest that was very annoying to do but it was essential for three reasons:

  • It makes the code easier to read
  • It runs faster by avoiding redundancies
  • Most importantly, it will allow the full integration with SteemConnect that is coming very very soon,

Basically to achieve that, the changes pushed in this commit and the previous one use Messaging to communicate between the different content scripts of the extension instead of running each of them independently. Therefore, calls to APIs used in more than one feature do not need to be called multiple time.

Since I was at it, I also made minor changes to the layout of some elements.

I'm getting back on it to offer you the SteemConnect version soon (yea I keep talking about it, but now it s coming I swear!)

@stoodkev for @steem-plus



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

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

Achievements

  • 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

Thank you for the contribution. It has been approved.

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

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.100
BTC 64206.40
ETH 1783.22
USDT 1.00
SBD 0.39