aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-03-25 22:19:19 +0800
committerGravatar hedy <[email protected]>2024-03-25 22:24:57 +0800
commitcdaa59fa5ee05a2f47e003c289d57a4e3098c507 (patch)
treeb517b08d9dfd49b8de3ea7aa692f816c8d4bcfaf /tests/helpers.py
parentReminders: Add a button for others to opt-in to a ping (diff)
Reminders: More robust implementation of mention opt-in button
This solves most, if not all issues from the previous commit. - A timeout of 5 minutes is enforced - this means the button can no longer be used either when the reminder arrives or 5 minutes passes since creation, whichever comes first. - Reminder edits in between creation and button clicks will be handled responsibly - This includes both edits of duration, mentions, and deleting reminders altogether. - UX is improved. This list of to-be-mentioned users is sent up-front with the author included. Instructions to click the button comes right after the list. - No updates to the API or site schema required, as the button message will disable itself when it encounters any sort of errors. - Implementation is also somewhat simplified. There are probably more improvements, maybe one caveat, but it's like almost midnight and I want to sleep :/ I sure hope the list above covers most of it. Further testing will be done. Now `.remind 10s test` is ingrained in my muscle memory...
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions