Skip to content

v0.2.0

Choose a tag to compare

@lmdanavanem lmdanavanem released this 18 Jun 19:03
· 19 commits to main since this release
Immutable release. Only release title and notes can be modified.

Minor release: runtime per-collection control and an admin statistics view.

Added

  • Comments Settings global (admin group "Comments") to enable or disable commenting per collection at runtime, without redeploying. The submit and tree endpoints consult it on every request and fail open when it has never been saved (or before its table is migrated). <Comments /> renders a "closed" notice when its collection is disabled.
  • Comment Statistics admin view at /admin/comments-statistics: KPIs, per-collection and per-mood breakdowns, and recent comments, filterable by collection, status and period. Queries are auth-gated server-side, so no data is rendered for anonymous requests. A nav link is registered via afterNavLinks for the default Nav.

Fixed

  • Typed the statistics view's date filter as Payload's Where so the package builds cleanly under tsc.

Full changelog: https://github.com/navanem/navanem_payload_comments/blob/main/CHANGELOG.md