## 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.
<p dir="auto">This is a regular report on my new contributions. Some of the new work below might still be in test and not yet deployed.
<p dir="auto"><strong>Notes: some features or bug fixes might not yet be available as they need to pass review and test by the team.
<hr />
<h2>Spoiler markup support related fixes
<p dir="auto"><a href="https://hive.blog/hive-139531/@quochuy/35gjjb-my-latest-contributions-to-the-hive-condenser-and-wallet-apps">A couple of weeks ago we released a support for spoiler markup allowing Hivers to create posts with initially hidden spoilers. Few minor bugs were raised in relation to this release so here are the fixes:
<h3>Remarkable v2.0.1 does not support the <code>linkify option anymore
<p dir="auto">Upon deployment, the backend was outputting a warning related to the change of activating the <code>linkify option of Remarkable (updated from v1 to v2). This was a very minor since we only use that option to disable <code>linkify because the Condenser is using its own linkify code.<br /><span>
MR: <a href="https://gitlab.syncad.com/hive/condenser/-/merge_requests/351" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://gitlab.syncad.com/hive/condenser/-/merge_requests/351
<h3>Refactoring the embedded player injection code
<p dir="auto"><br /><span><a href="/@tarazkp">@tarazkp noticed that you could not embedded Youtube videos inside a spoiler block. After investigation, I found out that it's due to the way embedded player codes are being transformed and injected in the rendered HTML. The current implementation is changing the structure of the HTML and hence separating the spoiler from the embedded HTML. This logic has now been refactored to allow embedding videos inside spoiler blocks.<span>
MR: <a href="https://gitlab.syncad.com/hive/condenser/-/merge_requests/352" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://gitlab.syncad.com/hive/condenser/-/merge_requests/352
<h3>JSON URL not working anymore
<p dir="auto">Hive posts and user profiles can be accessed with <code>.json in order to access the JSON data of those entities. For example here is the JSON for my profile (might not work until the fix is deployed):<br /><a href="https://staging-blog.hive.io/@quochuy.json" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">test on staging)<span>
<a href="https://hive.blog/@quochuy.json">https://hive.blog/@quochuy.json (
<p dir="auto">And here is the JSON for a post:<br /><a href="https://staging-blog.hive.io/hive-139531/@quochuy/35gjjb-my-latest-contributions-to-the-hive-condenser-and-wallet-apps.json" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">test on staging)<span>
<a href="https://hive.blog/hive-139531/@quochuy/35gjjb-my-latest-contributions-to-the-hive-condenser-and-wallet-apps.json">https://hive.blog/hive-139531/@quochuy/35gjjb-my-latest-contributions-to-the-hive-condenser-and-wallet-apps.json (
<p dir="auto">However, this feature has somehow been broken. This was due to a KOA update. To fix this I had to rewrite some of the custom KOA middlewares were were using in the Condenser.
<h2>Remarkable Spoiler Plugin
<p dir="auto"><span>I forgot to mention this in the previous post but in order to implement the Spoiler support on the Condenser, I developed a simple plugin for Remarkable and published it on NPM. It is now used on Hive Blog and also on <a href="/@peakd">@Peakd. See the link below on how to install and use it in your own project that uses Remarkable to render Markdown markups to HTML.
<p dir="auto"><span><a href="https://www.npmjs.com/package/@quochuync/remarkable-spoiler" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://www.npmjs.com/package/@quochuync/remarkable-spoiler
<hr />
<p dir="auto"><strong>Vote for my witness<br />
<a href="https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link"><img src="https://images.hive.blog/DQmecYTZemY8SwU6rrg7awhpNRBsehUp7ivk9RGyZsUUpVw/quochuy-hive-witness.jpg" alt="Support @quochuy Witness.jpg" /><br />
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. <a href="https://hivesigner.com/sign/account-witness-vote?witness=quochuy&approve=1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Vote for me via HiveSigner to support my work for the community.
~~~ embed:1609796431975530496 twitter metadata:MTM5Mjc2NTQxMjU2NDIxNzg2NHx8aHR0cHM6Ly90d2l0dGVyLmNvbS8xMzkyNzY1NDEyNTY0MjE3ODY0L3N0YXR1cy8xNjA5Nzk2NDMxOTc1NTMwNDk2fA== ~~~
The rewards earned on this comment will go directly to the people( @yahli ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
Wow! Creating a hidden spoiler is a great idea, I just loved the idea when I saw it first while reading a friend's post. I haven't tried using that feature yet so I didn't really notice that fault but is a good thing it is already been fixed.
Well done @quochuy, I hope more people support your work, I will do well to reblog and I hope my followers can find this and read too.
Welcome to the new year sir, I hope this year brings you great success and achievements 🤗.
You are all doing a great work must recommend your efforts in the development of the condenser , rome is not built in a day, I believe in a short time , everything will be fixed...
Great job 💯
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.