human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

4473 expand reminder date possibilities

Open jlandiseigsti opened this issue 1 year ago • 8 comments

Resolves #4473

Description

Replaces Reminder Day with Reminder Schedule. This is a recurring schedule that can occur on alternating months, or send reminders based on days of the week. Anywhere that a Organization or Partner Group could have a reminder day now has a reminder schedule.

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

System tests to walk through the process. Model tests to ensure the translation from the form to the ical schedule happens correctly. Validation tests to ensure that bad data doesn't get submitted.

jlandiseigsti avatar Aug 22 '24 20:08 jlandiseigsti

Hi, @cielf , I'll get to work addressing those issues.

I believe the ice cube gem allows for "Last"...I'll implement that.

jlandiseigsti avatar Sep 19 '24 18:09 jlandiseigsti

One product question: if an organization wants to indicate that they want to stop sending reminders, how should they indicate on the edit page? Unlike the Partner Group page, there's not a Send Reminder Checkbox.

jlandiseigsti avatar Sep 19 '24 18:09 jlandiseigsti

One product question: if an organization wants to indicate that they want to stop sending reminders, how should they indicate on the edit page? Unlike the Partner Group page, there's not a Send Reminder Checkbox.

My assumption is that they either delete the date, if set to "Date", or choose the Blank Option in every Nth Day, if set to "Day of the Wee". But I wanted to confirm that.

jlandiseigsti avatar Sep 19 '24 19:09 jlandiseigsti

Also, regarding these two corrections:

2/ The reminder date doesn't seem to be persisting. 3/ It's not giving an error if I enter a negative date.

Was the value for Every N Months empty when these happened? That's the only way I was able to recreate the errors (as I had written it that Every N Months blank meant no reminder, and thus no validation/saving.) If so, that's great news, as I'm removing the Every N Months. If there was a value for Every N Months when those bugs occurred, there's something else going on I have to figure out.

jlandiseigsti avatar Sep 19 '24 20:09 jlandiseigsti

One product question: if an organization wants to indicate that they want to stop sending reminders, how should they indicate on the edit page? Unlike the Partner Group page, there's not a Send Reminder Checkbox.

My assumption is that they either delete the date, if set to "Date", or choose the Blank Option in every Nth Day, if set to "Day of the Wee". But I wanted to confirm that.

That sounds good as a mechanic to me. It matches up to what they would do now.

cielf avatar Sep 19 '24 23:09 cielf

Also, regarding these two corrections:

2/ The reminder date doesn't seem to be persisting. 3/ It's not giving an error if I enter a negative date.

Was the value for Every N Months empty when these happened? That's the only way I was able to recreate the errors (as I had written it that Every N Months blank meant no reminder, and thus no validation/saving.) If so, that's great news, as I'm removing the Every N Months. If there was a value for Every N Months when those bugs occurred, there's something else going on I have to figure out.

Might have been -- there's a placeholder of 1 and I might have just left it like that.

cielf avatar Sep 19 '24 23:09 cielf

@dorner I'll be doing a final functional check on this in the next couple of days. Please take a technical review pass on it. Thanks.

cielf avatar Sep 23 '24 02:09 cielf

Hey @jlandiseigsti Found an unexpected result...

If you have a deadline day of the 1st.
Then you click Day of Month and put 1 in the reminder date, you get an error, "Reminder day cannot be the same as deadline day." Which is fine. But if you then click Day of the Week, and set the Reminder Day of the Week to Second Sunday, you still have the error (see below) Screenshot 2024-10-04 at 11 49 13 AM

(Edit: I went in and cleared the reminder day and it still wouldn't clear the error)

cielf avatar Oct 04 '24 15:10 cielf

Hey @jlandiseigsti -- are you still working on this, or shall we see if we can get someone else to finish up?

cielf avatar Oct 31 '24 11:10 cielf

Hey @jlandiseigsti -- are you still working on this, or shall we see if we can get someone else to finish up?

Hi @cielf – I think it would be best if I handed it off right now. Life's gotten kind of hectic and I'm not sure when I'll be able to devote the time to finishing it.

jlandiseigsti avatar Oct 31 '24 14:10 jlandiseigsti

@jlandiseigsti Ok, I'l mark it "Help Wanted", pointing to this PR. If no one picks it up, please feel free to continue with it if things get calmer.

cielf avatar Oct 31 '24 19:10 cielf

This is being taken over / superseded by #5190

cielf avatar May 11 '25 14:05 cielf