My latest contributions to the Hive Condenser and Wallet apps.
## 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](https://images.hive.blog/DQmRzk6tkau5Aq8nT272SaW2BwjdwhvUEs9j2SpunPMoAZL/Screen%20Shot%202022-07-08%20at%202.24.55%20pm.jpg)
## 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](https://images.hive.blog/DQmecYTZemY8SwU6rrg7awhpNRBsehUp7ivk9RGyZsUUpVw/quochuy-hive-witness.jpg)](https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1)
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](https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1) to support my work for the community.
See: My latest contributions to the Hive Condenser and Wallet apps. by @quochuy