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/services/ActivityPubService.js

    rbbce8da rc7c7f02  
    10631063    if (!_cirkelPosts) _cirkelPosts = db.prepare(`
    10641064      SELECT t.id, t.author_uri, t.author_name, t.author_handle, t.author_icon, t.author_url,
    1065              t.content, t.url, t.published, t.media_json
     1065             t.content, t.url, t.published, t.media_json, t.boosted
    10661066      FROM ap_timeline t
    10671067      LEFT JOIN ap_following f ON f.slug = t.slug AND f.actor_uri = t.author_uri
Note: See TracChangeset for help on using the changeset viewer.