Event JSON
{
"id": "87c8a52b86df18c619256b7efc416ed8f7f0d67bcc8ea355a8c2fa975192e330",
"pubkey": "c2e7055a3c3e1b323c99ea4368ea0f5a1833f2a8364b8998374b9f2b50fc3bcb",
"created_at": 1744634331,
"kind": 1934,
"tags": [
[
"title",
"Mark tasked as complete"
],
[
"a",
"31933:fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52:TENEX-pfkmc9",
"",
""
]
],
"content": "The task list should have an option next to the View button to react to the task\n\nwhen we press the button it shows a dropdown with emojis, for now we'll have only one:\n[checkmark] (so we consider it complete)\n\nwhen we press an item in the dropdown it creates an event on the task event:\n\ntask.react(\u003cemoji\u003e)\n\nwe need to place this in a new component \u003cTaskReactButton taskEvent={taskEvent} /\u003e\n\nThe TaskCard component should get reaction events with useSubscribe([ { kinds: [ NDKKind.React ], \"#e\": [ task.id ] }]) and if there are reaction events it should show them as the label of the button (so if we react to a task with ✅ we would show the checkbox emoji -- if there are more than one reaction events just show the most recent one",
"sig": "52b1934b7dc3cd6141d696c001aa65b3852042bad10674b64c5cdc4307931c940107f788d0cf28ad8f3c583be1ee2990b8064892b817946fa5ffabf6dd709b47"
}