yap-blog/tests
matt bb3ab4561d Add moderated threaded comments
Visitors comment with just a name and email; a checkbox controls
whether the email is shown publicly (default private — only the admin
sees it). Every comment lands as pending and is invisible until
approved on the new /admin/comments page (approve / unapprove /
delete, with a pending-count badge in the admin nav and a dashboard
stat). Replies nest under their parent; a reply is only accepted on an
approved comment of the same post, and replies stay hidden while their
parent is unapproved so threads never render out of context. A hidden
honeypot field silently drops naive bots. Comment bodies are plain
text, rendered escaped.

The backup format gains a comments section (export version 2; v1 files
still import) with parent links remapped through file-local ids.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 21:08:08 -04:00
..
e2e Build yap-blog platform 2026-07-02 21:32:33 -04:00
helpers Add moderated threaded comments 2026-07-04 21:08:08 -04:00
integration Add moderated threaded comments 2026-07-04 21:08:08 -04:00
unit Build yap-blog platform 2026-07-02 21:32:33 -04:00
global-setup.ts Build yap-blog platform 2026-07-02 21:32:33 -04:00
setup-env.ts Build yap-blog platform 2026-07-02 21:32:33 -04:00