Changeset 59f0170 in Klonkt for src/views/pages/admin.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/admin.ejs

    r2e9773f r59f0170  
    3131      <a href="/admin/playlists" class="btn"><%= t('admin.b_playlists') %></a>
    3232      <% } %>
    33       <a href="/admin/comments" class="btn"><%= t('admin.b_comments') %></a>
    3433      <% if (primarySite) { %><a href="/admin/seo" class="btn"><%= t('admin.b_seo') %></a><% } %>
    3534      <a href="/admin/settings" class="btn"><%= t('admin.b_settings') %></a>
     
    3938      <a href="/admin/audio" class="btn"><%= t('admin.b_audio') %></a>
    4039      <% } %>
    41       <a href="/admin/comments" class="btn"><%= t('admin.b_comments') %></a>
    4240      <% if (primarySite) { %>
    4341        <a href="/admin/sites/<%= primarySite.slug %>/edit" class="btn"><%= t('admin.b_look') %></a>
Note: See TracChangeset for help on using the changeset viewer.