agency: 🔥 reaction on every agency-card button tap#102
Merged
MagMueller merged 1 commit intomainfrom May 7, 2026
Merged
Conversation
When the keyboard is stripped after a Yes / Skip / Edit tap, the card loses its only visual indicator that the user already weighed in. Across a feed of 30+ cards in a half-hour /agency cycle, "did I already answer this one?" becomes a real question. Drop a 🔥 reaction on the card itself via setMessageReaction. Universal across all kinds (action / dismiss / refine / custom) — the choice itself is recorded in agency.db; the reaction is just a persistent "this card was answered" marker. setMessageReaction replaces the prior set, so tapping a second custom button on a multi-option card just keeps the fire — reactions don't accumulate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stripped keyboard + recorded decision in agency.db is enough for the bot's logic, but on the user side the card now looks identical to a fresh one. Across a 30+ card /agency feed, "did I already answer this one?" gets confusing.
Universal 🔥 reaction on every Yes / Skip / Edit / custom tap. `setMessageReaction` replaces prior reactions, so tapping a second custom button keeps the fire instead of accumulating.
Test plan
Summary by cubic
Add a 🔥 reaction to agency cards on any Yes/Skip/Edit/custom tap so users can see which cards were answered after the keyboard is removed. Reactions replace previous ones via setMessageReaction, so only a single 🔥 remains even if multiple buttons are tapped.
Written for commit 33879fe. Summary will update on new commits.