Ghost/apps/comments-ui
Kevin Ansfield 857588ed60
Released comments-ui 0.16.0 (#19800)
no issue

- defers loading of `admin-auth` frame and it's API request until we are displaying some comments
  - defers the frame load and API request until the comments box is scrolled into view
  - eliminates the requests altogether for posts that have no comments
2024-03-05 16:20:19 +00:00
..
src Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
test Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
.env
.eslintrc.js
.yarnrc
LICENSE
package.json Released comments-ui 0.16.0 (#19800) 2024-03-05 16:20:19 +00:00
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.