Finally Comments - Moderate comment threads hide/delete
Repository
https://github.com/code-with-sam/finallycomments/
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. Comment threads can be created from scratch or can use any existing STEEM comments thread.
New Features
Today I'm happy to release an update that brings moderation to Finallycomments. With the previous update, I introduced guest comments which opened the possibility for abuse without any controls for the website owner to react. With the introduction of moderation the owner of a thread can now hide any comment or delete any guest comment.
The owner of the thread is recognised as the user who created the custom thread (using the finally dashboard or API) or the root_author
of a STEEM post if viewing a STEEM thread. Controls for hide + delete will automatically show on threads the user owns.
Not all comments are created equal.
Deleting comments is only possible for Guest comments (those created through the Finally interface by a user who is not authenticated). Guest commented when deleted have their author and content overwritten but a note remains in the thread both for continuity and as a limitation of the nested comment structure.
We can't delete other users content on the blockchain but we may still want the ability to hide it if it's inappropriate for any reason. Hiding comments is a purely UI change and will not have an impact on the raw data stored on the blockchain. Hidden comments can be revealed by the end-user .
Keeping it simple with a moderate in place approach. Rather than have a separate view on the backend dashboard a user can moderate any thread they own from the thread itself.
Moderation messages still show in the tree view to keep thread continuity.
Thoughts
To be honest I underestimated what would need to be included to implement this moderation. I need to store some form of reference to the deleted/hidden id or permlink to keep the thread structure intact. With that it means maintaining a full list of 'moderated' content and the action that was taken.
I had also not anticipated the multiple different moderation cases being STEEM/Guest/Guest Reply on both STEEM posts and Custom Posts It caught me out and I had to do an extra hotfix after this PR
Roadmap
We're one step closer on the roadmap, still with a full set of features to implement. If you're interested in what else is to come for Finally I wrote up some ideas ~3weeks ago (https://busy.org/@sambillingham/finally-comments-is-now-on-steemprojects-com). I had actually missed Moderation from that list.
If you have ideas, thoughts or requests you're welcome to add them below or on Github Issue tracker (https://github.com/code-with-sam/finallycomments/issues). Github currently has issues/features listed which may be of interest o Finally users.
Very cool! I tried leaving a comment but got this:
Here's my comment:
Very cool! I look forward to seeing where this goes. :)
Is each authentication via Steemconnect unique to the domain where Finally is installed or is someone always logged in to any site that uses Finally?
Hey Luke. Thanks for checking out the project, really glad you think it's interesting.
Finally is loaded in an iframe so the login state persists across all sites that use Finally.
Just tested and fixed the issue you noticed (https://github.com/code-with-sam/finallycomments/pull/29) thanks for sending the error message.
Hey @lukestokes
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.
Contributing on Utopian
Learn how to contribute on our website.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
that is too complicated...you should post photos of naked girls instead...with big big boobs
if the boobs are not very big but they have a big butt, it's ok too
if the boobs are not very very big, but if they have a big butt, is ok too.
You got a 35.00% Upvote and Resteem from @singing.beauty, as well as upvotes from our curation trail followers!
If you are looking to earn a passive no hassle return on your Steem Power, delegate your SP to @singing.beauty by clicking on one of the ready to delegate links:
50SP | 100SP | 250SP | 500SP | 1000SP | 5000SP | Custom Amount
You will earn 90% of the voting service's earnings based on your delegated SP's prorated share of the service's SP pool daily! That is up to 38.5% APR! You can also undelegate at anytime.
We are also a very profitable curation trail leader on https://steemauto.com/. Follow @singing.beauty today and earn more on curation rewards!
A Great option to have, thanks for this post!
Thank for you,,
You're welcome!
That's really great and fine issue.
This will another good add on feature for this great Blockchain!
Glad you think it adds value to the Blockchain. That's the plan! 👊
Thanks for the contribution!
That's so cool! I wouldn't even know where to begin if I tried implementing this, so major props to you!
One thing I'd recommend is that you try to avoid having lines of code that are very long. With Python they recommend that you limit it to 80 characters and I think JavaScript is either 80 or 100, but I could be wrong.
Click here to see how your contribution was evaluated.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Hey thanks Amos!
You're totally right! I get lazy working on my cinema display, then kick myself when I'm on the train with a 13" laptop. I do find it hard sometimes to decide between (overly) verbose function names and keeping statements short. I think in general I want to/need to focus more on readability and improve my patterns, I'm sure there are a lot more new ES6 javascript patterns that can tidy things up.
I think it might be 80, which I totally havent thought about for awhile! 🙈
Take a look at Prettier. I use it with VS Code and I don't have to worry about the code formatting anymore - Prettier does it for me when saving.
I will implement it to my website ^,...,^
hope it will work nice :)
You got a 10.18% upvote from @mitsuko courtesy of @steemium!
You got a 13.07% upvote from @th3voter thanks to: @steemium!
Image Source cloudinary.com
This post has upvoted from @th3voter !For more information, click here!
You can earn daily profit by delegating SP to our bot, 100% of earnings paid out to delegators. To do so, click below:
30SP, 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP, 10000SP,
Custom Amount
Make sure you have at least 15 SP left on your account.
this is so great! I can't imagine using this site without it.
Thank you very much!
Alot of good news in the last days make us more optimistic for the great future of this great platform.