My latest contributions to the Hive Condenser and Wallet apps.

in HiveDevs2 years ago

​## Context
I have been involved (voluntarily) with the development of the Condenser & Wallet apps (that are powering https://hive.blog and https://wallet.hive.blog) for quite a while now. There are other great frontends to Hive out there such as https://peakd.com and https://ecency.com but I have always been more or less faithful with the Condenser.

This is a regular report on my new contributions. Some of the new work below might still be in test and not yet deployed.

Notes: some features or bug fixes might not yet be available as they need to pass review and test by the team.


Revert negative rshares post hiding logic

To prevent abuses, it was decided to revert the changes to auto-hide posts/comments with negative rshares.
MR: https://gitlab.syncad.com/hive/condenser/-/merge_requests/331

External links click confirmation

To prevent phishing links, while not hiding negative rshares posts, an external link confirmation has been implemented for links to domain names that are not whitelisted.

External link confirmation popup

Upgrade to React v18 in test phase

After several months working on upgrading the Condenser from React v16 to React v18, the app is now in testing phase. If you have time you can participate in the test by browsing to https://staging-blog.hive.io/

Here is a light summary of what has been done for the upgrade:

  • upgrade React from v16 to v18
  • upgrade Webpack from v4 to v5
  • upgrade to the latest Koa (web server) version
  • Migrate from Enzyme to React Testing Library
  • Fix critical NPM audit issues

Tests that were performed:

  • Homepage
    • Login/Logout
    • Search
    • All posts
    • My friends
    • My communities
    • My subscriptions
      • bug found and fixed: Clicking on "New post" from a community does not select the community in the post editor
    • Explore communities
      • Join/Leave
      • Sorting
      • Search
  • User profile
    • Blog
    • Posts (all sub-tabs)
    • Replies
    • Social
    • Notifications
      • Filters
      • Load more...
  • Posts
    • Bug found and fixed: Reply to post/comment leads to blank page
    • upvote
  • Comments
    • bug found and fixed: rendering nested comment was broken and required a refactor of the recursive code.
    • bug found and fixed: load only up to depth of 7 then load more
    • bug found and fixed: sorting
    • bug found and fixed: pagination
  • server login
    • bug found and fixed: CSRF token error

Vote for my witness
Support @quochuy Witness.jpg
On Hive, Witnesses are playing the important role of providing a performant and safe network for all of us. You have the power to choose 30 trusty witnesses to package transactions and sign the blocks that will go in the Hive blockchain. Vote for me via HiveSigner to support my work for the community.

Sort:  

Great work https://staging-blog.hive.io/
Nothing has been so easy in life,so I wouldn't fail to give praise to people who deserve it. Congrats for your great work Sir

In your last post, you explained how the witness contributes to the growth of the blockchain and I must appreciate your great work here.
Voted already 👍

Thanks for update and ongoing work being performed. Witnesses keep our blockchain running which is greatly appreciated.

!BEER


The rewards earned on this comment will go directly to the people( @joanstewart ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.

Good work!

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 

Congratulations @quochuy! Your post has been a top performer on the Hive blockchain and you have been rewarded with the following badge:

Post with the highest payout of the day.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Our Hive Power Delegations to the June PUM Winners
Feedback from the July 1st Hive Power Up Day

Man you are very active contributing to the ecosystem, keep on it. More people should vote for you as witness

I really appreciate every of your hardwork and effort in the blockchain it is very much appreciated and a work well-done done. Thanks for been supportive in the blockchain.

great job !

Great work. Your contribution is greatly appreciated

very useful article, i have seen it, how are you today friends

Thank you for your upvotes and support,I'm truly grateful and I appreciate