Changeset c745659 in Klonkt for src/config/database.js


Ignore:
Timestamp:
06/26/2026 11:25:14 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
3289a64
Parents:
eacd3d6
Message:

feat(fedi): comment boost is a toggle with state + coloured action icons

Inbound fediverse comments: the owner like/boost/reply controls are now coloured SVG
icons (gold star / green repeat / accent arrow), matching the News feed. Boost is a
real toggle — ap_interactions.acted_boost remembers what you boosted, the button shows
an 'on' state, and clicking again retracts it (Undo Announce). Like stays fire-and-forget
(no unlike in AS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    reacd3d6 rc745659  
    356356  `);
    357357  ensureColumn('ap_interactions', 'parent_uri', 'TEXT'); // nesting (existing DBs)
     358  ensureColumn('ap_interactions', 'acted_boost', 'INTEGER DEFAULT 0'); // owner boosted this comment (🔁) → can undo
    358359
    359360  // Fediverse CLIENT: accounts WE follow (outbound) + the home timeline of their posts.
Note: See TracChangeset for help on using the changeset viewer.