Changeset b7d4458 in Klonkt for src/routes/circle.js


Ignore:
Timestamp:
06/27/2026 08:10:43 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
c21197a
Parents:
92f6976
Message:

feat(nsfw): custom content-warning text + blur in the Cirkel

  • Per-post content-warning text (like Mastodon): editor field; used as the on-site veil/banner label and the fediverse Note summary (falls back to 'Gevoelige inhoud').
  • Cirkel feed now blurs remote sensitive posts: ap_timeline gets nsfw+cw (captured from the incoming Note's sensitive/summary), getCirkelPosts returns them, circle.js maps them so post-card/tile show the veil.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/circle.js

    r92f6976 rb7d4458  
    5353      pinned: 0,
    5454      isBoost: !!r.boosted, // a post YOU boosted → render in the pinned style with a Boost badge
     55      nsfw: r.nsfw ? 1 : 0, // remote sensitive post → blur in the Cirkel (post-card/tile)
     56      content_warning: r.cw || '',
    5557      status: 'published',
    5658      source_name: name,
Note: See TracChangeset for help on using the changeset viewer.