Repository
Main - https://github.com/code-with-sam/finallycomments/
Js Lib - https://github.com/code-with-sam/npm-finallycomments/
What is Finally Comments?
Finally Comments is an embeddable comments system powered by the Steem blockchain. The aim of this project is to promote the Steem ecosystem by breaking the comments system out of the walls of Steem based apps replacing popular comments systems like Disqus & Facebook comments plugin.
Latest Updates
Comment Beneficiary
I'm pleased to release this latest update which brings the ability to add a beneficiary when embedding Finally. This is a beneficiary chosen by the user who embeds Finally and not for me or @finallycomments.
The new feature is included when using embed code generated through the Finally dashboard and when using the JS library. When setting a beneficiary for a thread any comment that is created through that embedded thread will include the beneficiary allowing website owners to earn extra rewards through upvotes on the discussions below their content.
You may notice the note in the above screenshot. I have currently set the max beneficiary at 40% so the author of the comments still receives a fair amount. Open to suggestions if that should be higher/lower. Perhaps there should be a note somewhere about what the current values are for the thread?
Also possible when using the library for example -
finallycomments.init()
let options = {
values: true,
reputation: true,
profile: false,
beneficiary: 'sambillingham',
beneficiaryWeight: '15'
}
finallycomments.appendTo('.finally__example', 'thread', 'finally-hellomars', 'sambillingham', options)
Can be added to existing embeds along with new ones.
Custom Thread Beneficiary
When creating custom threads through the Finally dashboard or API it is now possible to add a Beneficiary. While less important than comment beneficiaries (because the author is already receiving the usual 75% author reward *edit[1]) it is still a useful tool.
It is worth noting that Finally does not take any percentage of rewards for comments or threads created.
Enable/Disable Guest Comments
I decided this feature was best as an option. It is now possible to enable/disable guest commenting on an individual thread basis. Supported via embed code and javascript library as an option. e.g
import finallycomments from 'finallycomments'
finallycomments.init()
let iframe = finallycomments.loadFromSteemitUrl('https://steemit.com/utopian-io/@sambillingham/finally-comments-api-and-new-dashboard-features', { guestComments: true })
With this change I had to re-arange the order that items are loaded. The fame needs to completely load first, pass settings to the frame parent and only then if the settings allow are the requests made for any guest comments. The frontend UI checks the thread settings before rendering the createComment template after clicking reply.
Small Fixes
- Finally included a favicon 👍
- Fixed issues when checking domains against a user
- Show latest embed code with script version & second script tag with init function. latest version of the finally lib is now hosted online and with a versioned filename.
Github
Main PR - https://github.com/code-with-sam/finallycomments/pull/36
Documents the included features - seperated into branches and merged into PR36. Also notes related PRs in the code-with-sam/npm-finallycomments/
Thanks for the continued support. Let me know if you have any issues or ideas 👨🏼💻.
edit[1] - Changed wording to make it more clear
edit[1] - Changed wording to make it more clear