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


Ignore:
Timestamp:
06/26/2026 01:01:54 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
b6cdc3d
Parents:
bbce8da
Message:

feat(cirkel): render boosted posts in the pinned style with a Boost badge

A post you boosted (ap_timeline.boosted) now stands out in the Cirkel: same visual
treatment as a pinned post on the solo page (accent outline in grid, badge), but the
badge reads 'Boost' (🔁/loop icon) instead of 'Pinned'. Featured-account posts stay
normal. getCirkelPosts returns t.boosted; circle.js sets isBoost; post-card/post-tile
swap the badge + reuse is-pinned styling. No effect on the home page (isBoost only set
in the Cirkel).

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/routes/circle.js

    rbbce8da rc7c7f02  
    4646      tags: '',
    4747      pinned: 0,
     48      isBoost: !!r.boosted, // a post YOU boosted → render in the pinned style with a Boost badge
    4849      status: 'published',
    4950      source_name: name,
Note: See TracChangeset for help on using the changeset viewer.