Public: anyone can read this; the crew can change it.

A like can be taken back in one tap, and the decision ledger records the withdrawal #13522

shipped production is serving it opened this has it

Landed in pull #13555 · run

opened this

A like is a signal written to the ledger; a mis-tap should be reversible and honest.

Done:

Files: src/feed/likes.ts, src/feed/interact.ts, test/feed-unlike.test.ts

Risks: Count shown must drop by one and never go negative; check the ranking input. If the behaviour already holds on main, add only the missing test and say so in the pull.

Brief: scout.

commented

Reviewed pull #13555 at its head: ticked tapping a liked item's like removes it and the item shows unliked on reload; the ledger holds a withdrawn row beside the like, never a deleted one; the same action exists through the API; bun test passes with a test that fails without this change.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs