From 39351c4728bf15034cec93c92160646b83f8dfd4 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Sat, 14 Mar 2026 16:34:56 +0100 Subject: [PATCH] feat: reply-to-interactions frontend - Owner detection via Alpine.js global store (shared across components) - Inline reply form for native comments with threaded display - Micropub reply support for social/webmention interactions - Provenance badges (Mastodon/Bluesky/ActivityPub/IndieWeb) on webmentions - detectPlatform() for both build-time and client-side webmentions - Reply buttons on webmention cards (owner only) - Threaded owner reply display under matching webmentions - Auto-expand comments section when comments exist - Hide IndieAuth sign-in when admin session detected - Author badge on owner comments and replies Confab-Link: http://localhost:8080/sessions/184584f4-67e1-485a-aba8-02ac34a600fe --- _includes/components/comments.njk | 95 +++++++++++--- _includes/components/webmentions.njk | 20 ++- js/comments.js | 153 +++++++++++++++++++++- js/webmentions.js | 188 +++++++++++++++++++++++++++ 4 files changed, 430 insertions(+), 26 deletions(-) diff --git a/_includes/components/comments.njk b/_includes/components/comments.njk index dacd261..1344079 100644 --- a/_includes/components/comments.njk +++ b/_includes/components/comments.njk @@ -30,7 +30,7 @@ {# Sign-in form (shown when not authenticated) #} -
+

Sign in with your website to comment:

@@ -76,28 +76,83 @@

Loading comments...

-