Changeset 59f0170 in Klonkt for src/views/pages/my-site.ejs


Ignore:
Timestamp:
06/24/2026 02:26:32 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
dc8e9bd
Parents:
2e9773f
Message:

refactor(comments): remove native comments — social is fediverse-only

Removes routes/comments.js + admin-comments.js (+ mounts), the comment section &
reply UI on posts, comment loading in the post route, the admin moderation page +
links, and the per-site comment-moderation settings. The 'From the fediverse'
section is now the post's comment area. The .comment CSS stays (reused there);
the comments table is left in place (dead) so old-data cascade-deletes still work.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/my-site.ejs

    r2e9773f r59f0170  
    77    <a href="/user/<%= mySite.slug %>/posts/new" class="btn">✍️ <%= t('myst.new_post') %></a>
    88    <a href="/admin/sites/<%= mySite.slug %>/edit" class="btn">🎨 <%= t('myst.appearance') %></a>
    9     <a href="/user/<%= mySite.slug %>/admin/comments" class="btn">💬 <%= t('myst.comments') %></a>
    109    <a href="/user/<%= mySite.slug %>" class="btn">👁️ <%= t('myst.view_site') %></a>
    1110    <a href="/account" class="btn">👤 <%= t('myst.account') %></a>
Note: See TracChangeset for help on using the changeset viewer.