Skip to content

feat(study): cancel pending reminders - #28

Merged
raigon-pawa merged 1 commit into
mainfrom
feat/cancel-reminders
Jul 2, 2026
Merged

feat(study): cancel pending reminders#28
raigon-pawa merged 1 commit into
mainfrom
feat/cancel-reminders

Conversation

@raigon-pawa

Copy link
Copy Markdown
Owner

/reminders could list your pending reminders but there was no way to cancel one — a mistaken /remindme ... 2d was stuck for two days.

Now /reminders attaches a dropdown of your pending reminders (label = the message, description = when it fires); picking one deletes it. The DELETE is scoped to id AND user_id, and the view's interaction_check limits it to the invoker, so you can only cancel your own (and the list is ephemeral anyway).

Testing

  • ruff + ruff format + pytest (20 tests) green.
  • Verified the view builds correct options from reminder rows.

🤖 Generated with Claude Code

/reminders previously listed reminders with no way to remove one. It now
attaches a ReminderCancelView dropdown (scoped to the invoker) whose options are
the user's pending reminders; picking one deletes it (guarded by user_id).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@raigon-pawa
raigon-pawa merged commit e2f9e56 into main Jul 2, 2026
2 checks passed
@raigon-pawa
raigon-pawa deleted the feat/cancel-reminders branch July 2, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant