bea074b23d
ref MOM-135 MOM-211 MOM-213 - Bumped up the default comments count from 5 to 20 comments before pagination kicks in. - Moved the pagination (`Show X previous comments)` to bottom of the page (soon to be reworded to `Show x more comments`) - Updated tests and added a new helper for adding multiple comments easier. |
||
---|---|---|
.. | ||
src | ||
test | ||
.env | ||
.eslintrc.js | ||
.yarnrc | ||
LICENSE | ||
package.json | ||
playwright.config.ts | ||
postcss.config.cjs | ||
README.md | ||
tailwind.config.js | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Comments UI
Comments widget that is embedded at the bottom of posts in Ghost.
Development
Pre-requisites
- Run
yarn
in Ghost monorepo root
Running via Ghost yarn dev
in root folder
You can automatically start the comments dev server when developing Ghost by running Ghost (in root folder) via yarn dev --all
or yarn dev --comments
. This will host the comments JavaScript files, and makes sure that Ghost uses these locally hosted assets instead of the ones from the CDN.
Copyright & License
Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.