Changeset 5045c30 in Klonkt for src/config/database.js


Ignore:
Timestamp:
06/26/2026 12:00:18 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
3384e95
Parents:
484adf8
Message:

feat(cirkel): boosted posts also appear in the Cirkel (mixed by date, deduped)

Option B: when you boost (🔁) a timeline post it's marked ap_timeline.boosted and
shows in the Cirkel alongside the featured accounts' posts, sorted by date. One row
per note → a post that's both featured and boosted appears once (no double). The
Cirkel/tab now also shows when you only have boosted posts (no featured accounts).
No fediverse traffic — the boost itself is the existing user action; this only marks
it locally.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    r484adf8 r5045c30  
    400400    CREATE INDEX IF NOT EXISTS idx_ap_delivery_due ON ap_delivery(next_at);
    401401  `);
    402   // Auto-boost a followed account's posts ("feature an artist"): their new
    403   // top-level posts get re-Announced to our followers automatically.
     402  // "Feature" a followed account: its posts show in the local Cirkel.
    404403  ensureColumn('ap_following', 'auto_boost', 'INTEGER DEFAULT 0');
     404  // A timeline post you boosted (🔁) — also shown in the Cirkel (mixed by date).
     405  ensureColumn('ap_timeline', 'boosted', 'INTEGER DEFAULT 0');
    405406}
    406407
Note: See TracChangeset for help on using the changeset viewer.