Two new repos have appeared in Ghost’s Github organization
comments-ui
There are references in the code to:
- Comment replies
- Comment Likes. Links can be reverted.
- Comment notifications by email
- Admins being able to hide comments
- Users deleting their own comments
- Comment API
- Strong HTML santization. Right now only line breaks, paragraph breaks and links will be allowed.
- It appears you must be a “member” to leave a comment, but you aren’t required to provide a name, just an email. It’s not clear if you ca become a “member” simply by entering your email when leaving a comment.
I see no references to Markdown, but there’s not much need for formatting if the only HTML supported is line breaks, paragraphs and links (perhaps for making bare URLs clickable?)
This is definitely for a “first-party” comment solution because the core Ghost project is also adding a new comments database table to store the comments:
You can see the most recent commits for this work on the simon-says
branch:
https://github.com/TryGhost/Ghost/commits/simon-says
sodo-search
This code has references to providing a search model that uses the Content API to perform searches. That’s how competing third-party search tools work.
There is a reference to “Searching posts, tags and authors”
This looks like a self-contained tool that could work with any theme like the “member portal”.
The project provides a SVG “search” icon as well.
This feature has already been merged into the “main” branch, meaning the code for it will be shipped in the next release. Currently, it’s set to be released first in “Labs”. Even then, there’s a reference it being behind an “alpha” flag for now, so maybe it won’t be visible in the next release or it will require a change in the config file to expose it.
When enabled, it will inject some JavaScript into the header, causing the search elements to appear, much like how the member portal feature is handled.
I haven’t tried to build and run either feature myself, but others are welcome to explore more.