My latest contributions to Steemit Condenser app

in #development3 months ago

Since Steemit Inc is focusing their effort on SMT and Communities, there have been less community contributions being released to the frontend, they are still happening but onto a beta website for testing Communities.

Having a day job, I have so much time I can give for other projects, however, I'm trying to contribute to the Steemit Condenser and Wallet apps because I believe making them better is beneficial for everyone. That is why I have been working for free for these two projects, here are some example of work I've done in the past:

I'm still quite a newbie in terms of developing with React but we have started using it at work so I'm getting better at it.

My Recent contributions

Image upload à la GitHub

Royachiron raised the following issue When uploading image, you can't just drop it - text cursor must stay where you want the image to be posted. When it finishes, it jumps to end of text. I think everyone has that annoying experience, if you drag and drop and image into the post editor, you cannot continue typing while it is uploading or else the image will then suddenly appear in between the letters you are typing.

I've attempted to fix this by doing what GitHub does, when you drag and drop an image, it will insert a temporary image tag into the text field and will replace it once the image is successfully uploaded:

I've also enabled drag and drop of multiple images at once. You could do that currently but only one of the images dropped will be uploaded. The feature is not perfect yet, I've restricted the number of images to 10 max and they are uploaded one after the other:

Images upload on Steemit Condenser

Author dropdown

@roadscape raised this one revamp author dropdown component #3509. So instead of relying on global data, he wanted the click on the author avatar to trigger a profile fetch instead and store the info in a React store.

Revamped author profile popup

This has allowed fetching for extra info and enhancing the content of the author profile popup. Working on this ticket taught me a bit about how to use Redux Saga for React.

UI look and feel

I have previously redesigned the comment section of a blog post to show clear separation of each comment block and have promised to apply similar changes to the list of posts from various feeds on the site. I've also taken this opportunity to do some more styling changes to add more visual contrast for better readability. This change has been mentioned by @roadscape during his presentation of the Communities beta site at Steem Fest 4:

Steemit new look and feel for post list

Steemit new look and feel for comments

There have been a couple of reviews after discussion with @roadscape and @therealwolf.

Ad hiding header bug

A lot of us have encountered this annoying bug where the header would hide the title of a blog post. It had been raised several times on GitHub:

The issue was because the Condenser failed to notice when an ad has been successfully inserted into the header and hence could not dynamically push down the content behind the header bar. There have been multiple attempts to fix this by listening to Google DFP's Javascript events and reacting to them but for some reasons it does not always work.

Recently, @blocktrades has raised the issue again and I thought I'd give it another shot. I gave up on listening to the Google DFP events and started to think of an alternative solution. Instead of waiting for an event that tells me that the ad has been inserted, I could maybe wait for an event telling me that the header DOM tree has been modified and the native Javascript feature that allows that is the MutationObserver that I have used several times in the past including:

To make the feature re-usable, I created a wrapper React component, all you need to do is wrap your DOM node inside a <ReactMutationObserver> tag with a callback function that will be called when the change you are monitoring is occuring.

Screen Shot 2019-12-08 at 2.00.50 pm.jpg

Minor bug fixes

While testing the Communities beta, I found out few small issues and found some fixes for them:

Support my work by voting for my witness
Support @quochuy Witness.jpg
On Steem, 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 Steem blockchain. Vote for me via SteemConnect to help me do more useful projects for the communities.


Thanks for all your hard work. Would be awesome to see some sort of image browser integrated on Condenser so that when you click on images you can see a larger version of them. Pretty typical experience on the internet.

I thought of this and also a way to bundle multiple images so you can have a sort of scrollable gallery.

Posted using Partiko iOS

That would be glorious!

Dang cool work!

Next one is to get rid of the "$" that still for some reason still shows. It confuses too many people who think there is some sort of dollar currency involved in steem.

Can you create an issue on condenser GitHub. This needs Steemit Inc input on what to display instead etc... I can work on it but they need to agree or else they won’t merge

Posted using Partiko iOS

Ad hiding header bug
A lot of us have encountered this annoying bug where the header would hide the title of a blog post. It had been raised several times on GitHub:

Removing it would be a lot better. Has to be one of the ugliest things I've seen on the internet. lol.

I agree, however it pays wages of many companies' employees. STEEM price is too low so Steemit Inc needs money input from somewhere else.

IDC about having ads, that's fine. But whoever thought it was a good idea to put it above the logo and navigation is an idiot. Lol. Harsh yes. But seriously one of the dumbest most unappealing things you could possibly do. Mix it in with the post feed or something instead. At least put it below the logo and nav. The first thing you see and main focus of a website should not be a banner ad.

If that ad was there when I first came to Steemit, I probably would have never joined. It looks scammy and cheap. At least put in below the header or something. I like to turn my ad blockers off on sites I support. But the setup on Steemit just annoys the hell out of me.

Ahhh lol. Yea. I did suggest to place it between the header and the top of an article. But I guess we need to place it on a spot that triggers the most ad impression. I will ask them again.

Posted using Partiko iOS

Yeah it's just not appealing. Especially to potential new users. I understand needing to make money. But I have never seen another website throw an ad banner above everything else lol. Between the header and article would be 10000x better. I'll even shut the ad blocker off and come back to Steemit as my interface if they do it.

There are actually quite a few that do that.
CNN is one of them:
Screen Shot 20191209 at 4.18.05 pm.jpg

Weird. None for me. I turned my blocker off and still none.


Nevermind. Took about 15-20 seconds for it to pop up. But, that's hideous and mainstream news corporations should not be an example for us. Look at other social media sites. The ads are integrated into the content. These are two completely different kinds of things. If we're going to compare we should be doing so with our competition. They have ads hidden and catered to you based on everything you post.

You can afford "secondary" ads placements if you have enough traffic. But as traffic goes down, you will probably wants to improve ads revenue by better placement. But often, best ad placement does not rhyme with good looking website...

But also don't like a banner at the topmost. I rather have one right after the website's header like here:
Screen Shot 20191209 at 4.35.57 pm.jpg

Thanks a lot for your work and notably the contributions to Keychain. Keep up the good work! =)

your contribution encourages me to put more efforts into my program learning TKs

Posted using Partiko iOS

If you can then you should try

learn from you 😄

Posted using Partiko iOS

All look great and too much effort, hope it'll run smooth with no bugs. However, any idea if there's any legit Android app for Steemit? There was Partiko, besides its rewarding points for viewing ads it did have a neat interface and many features like checking users' info from within the post, for instance, but some features stopped working properly like notifications, and its last update was mid June.. Developers not responding to inquiries on discord.

If there's anything similar or android-friendly enough kindly advise.

Hello quochuy ! -I really Appreciate the hard work and creativity you are putting in to get us benefitted. Hats off ! Though I am new to Steemit but sure will help people in whatever way I can to grow together.

it's very interesting I have to learn a lot more with you.

Your post has been curated by the bitcoin myk project. Tokens are available for this account you can trade for steem at: Join our curation priority list to earn more tokens by registering at:

Visit our discord at:

Bitcoin MYK
Register - Bitcoin MYK
This post earned 50 BTCMYK

@quochuy, Working for free showcase your Passion towards this space. Your Contributions are really appreciable. Stay blessed.

Posted using Partiko Android

Hi, @quochuy!

You just got a 1.07% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

16.22 USD has been spent to promote this content using Steemium thanks to @likwid.
Learn more here!

Congratulations @quochuy! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

Your post got the highest payout on one week

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

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Thanks for all your contributions

Great ideas indeed! Things like Keychain definitely make SteemIt better for everyone. :)

Posted using Partiko iOS

Congratulations @quochuy!
Your post was mentioned in the Steem Hit Parade in the following category:

  • Pending payout - Ranked 1 with $ 186,39

Just two words: Thank you!

Amazing article

You got a 42.50% upvote from @minnowvotes courtesy of @steemium!

Thanks for the post.