create account

Kolony.org Dev Log - episode 3 by hivetrending

View this thread on: hive.blogpeakd.comecency.com
· @hivetrending ·
$78.15
Kolony.org Dev Log - episode 3
Kolony.org is a new Hive front-end built for speed and designed to run on all platforms. It can be installed on mobile devices as an app or used in a browser. In addition, it can talk to either HiveAuth or HiveKeychain to sign in.

Since publishing my last post, Kolony.org has seen some improvements. I wanted to share some details about the recent changes, why, and how they were done. And talk about what is coming next.

---

### Added a refresh button to the random page

The random page shows you a random, recently-published blog post. Before, the only way to advance to a new, randomly-selected post was to refresh the page. The refresh button makes this action more convenient and quicker.

### Replaced default PWA icons with the Kolony logo.

Previously, the "install app" menu in Chrome browser and Brave showed the wrong logo image. This fix took a long time to figure out. The nuxt-PWA nodeJS package was caching old images inside its folder, and the web host was caching the node_modules folder in production. So I had to set an environment variable for the host to stop caching the environment.

### Bundle size reduced by 250KB by eliminating unneeded font-awesome icons.

Shrinking the bundle size makes the site load much faster. Win-win! The default behavior was to load 100% of the icons. I had to change nuxt.config.js to tell the framework which icons are needed explicitly.

### Add image rendering for blog posts.

It made no sense to have a section for the photography community and not display the photos in the posts. Therefore, posts will show their images now. However, they come from 3rd party image servers and take much longer to load compared to text from the posts. 

There is still some funkiness with image sizing for some posts. In some cases, images overflow their parent CSS containers. I'll tweak this later.

### Fixed identification of VIMM posts

VIMM posts weren't being identified correctly because the URL routing is different compared to other Hive front-ends. This has been semi-fixed. There is still some weirdness for "going live" VIMM posts.

### Corrected labeling and linking for posts published via the Exxp WordPress plug-in.

In some cases, Exxp provides a canonical URL in the post metadata. When present, Kolony will use the canonical URL to link back to the original WordPress site. In other cases, Kolony has to fall back to linking to hive.blog because the canonical URL is missing.

### Added Social media content preview cards.

When you share links on Twitter, Discord, etc., previously, you would get a dull, generic content preview. Now, you will get a rich card with a preview of the blog text. And if an image is attached to the post, the first image will appear in the content preview card.


![13493DC0-6580-41DF-BA9A-DFB26324E3AD.png](https://files.peakd.com/file/peakd-hive/hivetrending/48p3zrvTv1ysjNe3ZsA2qRTnnrktcApHdamN1ER6hKyamA9WBbytFkgsKUb3vRD7Qh.png)


### Added kolony.org links to POSH tracking (thanks, @rishi556)

Because content previews were implemented, it became viable to use Kolony.org with the HivePOSH system. This should now be working, such that if you have registered your Twitter handle with HivePOSH and you tweet a link to Kolony.org Hive content, Poshbot should pick it up.

### Added another name to the bot listโ€”24 and counting.

Kolony.org maintains a list of bot accounts that are hidden from discussion threads. This makes the discussion threads cleaner to read and easier to engage with. 

### Miscellaneous tweaks and fixes

Many tweaks have been made to formatting and caching to improve the quality of life for Kolony readers. Try it out!

----

## Next
What is next in the Kolony dev backlog?

### Upvotes

Kolony has an upvote button, but it is not currently wired up. I plan to add a vote-weight selection slider to the app, similar to PeakD. However, having upvotes without a slider is not viable since anyone above 500HP wants to choose the voting power.

### PWA Navigation Bar

If you use Kolony in its app form, the experience is a little clunky because it does not have a back button as the browser does.

What I plan to do to solve this is add a navigation bar that appears in the app only when you are using the PWA.

There is a trick to doing this. The PWA has an option where the developer can specify an entry-point URL. You can append string parameters
To this URL like `"start_url": "./?mode=standalone"` and then put code in the app to behave differently when the mode=standalone param is present.

### Posting From Kolony

Lower priority, I would like to add a Markdown editor to Kolony so that the app can be used to publish new posts. 

In discussions with other devs, some ideas came up about using Ceramic accounts. And some ideas about how we could support posting links to Kolony for other users to discuss.

### Smoothing HiveAuth Flow

Kolony's HiveAuth sign-in flow is functional. But the design is ugly and could use an overhaul. The menu flow could also be streamlined to make it easier for new users to understand.

--- 

Thanks for reading! Follow me for future dev updates.
๐Ÿ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 223 others
๐Ÿ‘Ž  , ,
properties (23)
authorhivetrending
permlinkkolonyorg-dev-log-episode-3
categoryhive-139531
json_metadata"{"app":"peakd/2022.11.1","format":"markdown","description":"Updates on the develop of a minimalistic Hive front-end.","tags":["kolony","dev"],"users":["rishi556"],"image":["https://files.peakd.com/file/peakd-hive/hivetrending/48p3zrvTv1ysjNe3ZsA2qRTnnrktcApHdamN1ER6hKyamA9WBbytFkgsKUb3vRD7Qh.png"]}"
created2022-11-20 22:37:06
last_update2022-11-20 22:37:06
depth0
children17
last_payout2022-11-27 22:37:06
cashout_time1969-12-31 23:59:59
total_payout_value39.102 HBD
curator_payout_value39.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,115
author_reputation56,528,345,472,403
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id118,490,631
net_rshares159,566,234,996,768
author_curate_reward""
vote details (290)
@ackza ·
We need a hive front end that looks exactly like reddit
๐Ÿ‘Ž  ,
properties (23)
authorackza
permlinkrlplgc
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-11-21 17:48:15
last_update2022-11-21 17:48:15
depth1
children0
last_payout2022-11-28 17:48:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length55
author_reputation280,217,039,543,030
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,510,542
net_rshares-42,070,867,196
author_curate_reward""
vote details (2)
@poshtoken · (edited)
$0.02
https://twitter.com/27706436/status/1594748397084360713
https://twitter.com/949799861322469377/status/1594767853508562958
<sub> The rewards earned on this comment will go directly to the people( @seckorama, @enjar ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.</sub>
๐Ÿ‘  
properties (23)
authorposhtoken
permlinkre-hivetrending-kolonyorg-dev-log-episode-3-1695
categoryhive-139531
json_metadata"{"app":"Poshtoken 0.0.1","payoutToUser":["seckorama","enjar"]}"
created2022-11-21 17:44:09
last_update2022-11-21 19:01:21
depth1
children0
last_payout2022-11-28 17:44:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length331
author_reputation3,940,239,237,157,028
root_title"Kolony.org Dev Log - episode 3"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id118,510,467
net_rshares63,029,965,008
author_curate_reward""
vote details (1)
@rufans · (edited)
$0.20
Good to see that a new front end is coming to hive. Good job. 

Interestingly, this is exactly the type of project I had in mind to do while learning to build on hive blockchain. But I just havenโ€™t started. I have visited Kolony.org and seen how the project is coming to live gradually. 


Iโ€™m a frontend  dev with Nextjs and Tailwindcss as my stack. I just canโ€™t wait to begin contributing to hive related code bases.
๐Ÿ‘  
properties (23)
authorrufans
permlinkrlryxx
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-11-23 00:34:45
last_update2022-11-23 01:20:00
depth1
children2
last_payout2022-11-30 00:34:45
cashout_time1969-12-31 23:59:59
total_payout_value0.098 HBD
curator_payout_value0.098 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length418
author_reputation100,907,475,944,628
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,543,926
net_rshares412,931,084,671
author_curate_reward""
vote details (1)
@hivetrending ·
$0.02
It is definitely a learning journey. I have enjoyed building with VueJS and NuxtJS for this project. 

TailwindCSS looks very powerful but I havenโ€™t tried using it, yet.
๐Ÿ‘  
properties (23)
authorhivetrending
permlinkre-rufans-rls09i
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.11.1"}
created2022-11-23 01:03:18
last_update2022-11-23 01:03:18
depth2
children1
last_payout2022-11-30 01:03:18
cashout_time1969-12-31 23:59:59
total_payout_value0.009 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length169
author_reputation56,528,345,472,403
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,544,445
net_rshares42,868,317,535
author_curate_reward""
vote details (1)
@rufans ·
Wow. I really wish I can contribute to Kolony.org but I havenโ€™t learned/used vuejs.
properties (22)
authorrufans
permlinkrls150
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2022-11-23 01:22:12
last_update2022-11-23 01:22:12
depth3
children0
last_payout2022-11-30 01:22:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length83
author_reputation100,907,475,944,628
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,544,739
net_rshares0
@seckorama ·
$0.13
How to share on Twitter? Just copy&paste the link?
๐Ÿ‘  ,
properties (23)
authorseckorama
permlinkre-hivetrending-20221121t184743977z
categoryhive-139531
json_metadata{"tags":["kolony","dev"],"app":"ecency/3.0.29-vision","format":"markdown+html"}
created2022-11-21 17:47:18
last_update2022-11-21 17:47:18
depth1
children7
last_payout2022-11-28 17:47:18
cashout_time1969-12-31 23:59:59
total_payout_value0.064 HBD
curator_payout_value0.064 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length50
author_reputation456,267,361,868,320
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,510,525
net_rshares268,204,503,727
author_curate_reward""
vote details (2)
@ackza · (edited)
Retweet the @poshtoken bot post above
๐Ÿ‘Ž  ,
properties (23)
authorackza
permlinkrlplhk
categoryhive-139531
json_metadata{"users":["poshtoken"],"app":"hiveblog/0.1"}
created2022-11-21 17:49:00
last_update2022-11-21 17:49:30
depth2
children5
last_payout2022-11-28 17:49:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length37
author_reputation280,217,039,543,030
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,510,563
net_rshares-42,071,201,352
author_curate_reward""
vote details (2)
@seckorama · (edited)
? where above?
I mean that I can share the post from Kolony.org directly to Twitter, but there's no link/icon/whatever for sharing...
properties (22)
authorseckorama
permlinkre-ackza-20221121t18588662z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.29-vision","format":"markdown+html"}
created2022-11-21 17:57:45
last_update2022-11-21 18:05:54
depth3
children4
last_payout2022-11-28 17:57:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation456,267,361,868,320
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,510,815
net_rshares0
@hivetrending ·
Copy&paste the link will work
properties (22)
authorhivetrending
permlinkre-seckorama-rlpreb
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.11.1"}
created2022-11-21 19:56:36
last_update2022-11-21 19:56:36
depth2
children0
last_payout2022-11-28 19:56:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length29
author_reputation56,528,345,472,403
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,513,495
net_rshares0
@thekittygirl ·
$0.13
I wasn't aware of this project, so I'm glad you shared the update in THE TERMINAL Discord! โญ๏ธ
๐Ÿ‘  ,
properties (23)
authorthekittygirl
permlinkre-hivetrending-rlofgv
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.11.1"}
created2022-11-21 02:41:21
last_update2022-11-21 02:41:21
depth1
children3
last_payout2022-11-28 02:41:21
cashout_time1969-12-31 23:59:59
total_payout_value0.066 HBD
curator_payout_value0.065 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length93
author_reputation180,829,604,535,875
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,494,637
net_rshares269,870,477,450
author_curate_reward""
vote details (2)
@hivetrending ·
$0.03
Thanks for checking it out!
๐Ÿ‘  
properties (23)
authorhivetrending
permlinkre-thekittygirl-rloga4
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.11.1"}
created2022-11-21 02:58:51
last_update2022-11-21 02:58:51
depth2
children2
last_payout2022-11-28 02:58:51
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation56,528,345,472,403
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,494,884
net_rshares64,316,322,485
author_curate_reward""
vote details (1)
@thekittygirl ·
If we find a bug, or have suggestions, should we report here or on Discord?
properties (22)
authorthekittygirl
permlinkre-hivetrending-rlogk4
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2022.11.1"}
created2022-11-21 03:04:54
last_update2022-11-21 03:04:54
depth3
children1
last_payout2022-11-28 03:04:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation180,829,604,535,875
root_title"Kolony.org Dev Log - episode 3"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id118,494,973
net_rshares0