My new 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.
## Sanitize input fields
I noticed that when creating a new community, users were allowed to use HTML code. Although the HTML is not interpreted it is still displayed (encoded) on the screen which looks bad. Apparently, there is no sanitising code of user input for those fields. This code change adds input sanitisation at creation and content filtering at display to clean up existing data.
Merge request: https://gitlab.syncad.com/hive/condenser/-/merge_requests/232
## Modifying the community selection on post creation
Myself and other users have often accidentally posted our content in the wrong community because we forgot to select the right one when creating the post. Currently the community selection process is not very obvious. For this change what I've done is:
- create an actually community selector drop down menu in the post editing form
- move it to the bottom right next to the `Post` button
![Community selector](https://gitlab.syncad.com/hive/condenser/uploads/2c64f4229ba3743c83cf0afcb37f9d91/Screen_Shot_2021-04-09_at_4.51.17_pm.jpg)
To change community, you don't have to go back to browse through them anymore, the menu should make it easier.
![Community selector](https://gitlab.syncad.com/hive/condenser/uploads/00cc3a8373a5914ee8dc506928e7af4a/Screen_Shot_2021-04-09_at_5.07.49_pm.jpg)
---
**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 new contributions to the Hive Condenser and Wallet apps. by @quochuy