Currently, the snooze functionality stops snoozing (and reminders restart) if the snooze label has expired. However, the snooze label stays on the issue, which is misleading when looking at issue lists.
Instead, if the reminder task finds an expired snooze, it should remove that label.
This probably involves changing some logic in ReminderTask so that there is an is_snoozed check on the issue, instead of combining the delay time and snooze time functionality into a single if check. (This will probably also be more readable, so that's a general win.)
Currently, the snooze functionality stops snoozing (and reminders restart) if the snooze label has expired. However, the snooze label stays on the issue, which is misleading when looking at issue lists.
Instead, if the reminder task finds an expired snooze, it should remove that label.
This probably involves changing some logic in
ReminderTask
so that there is anis_snoozed
check on the issue, instead of combining the delay time and snooze time functionality into a singleif
check. (This will probably also be more readable, so that's a general win.)