casa icon indicating copy to clipboard operation
casa copied to clipboard

Bug: editing volunteer email fails to save

Open compwron opened this issue 3 months ago • 7 comments

Impacted User Types

  • volunteers?
  • supervisors?
  • admins?

Environment

prod

Current Behavior

try to update volunteer email, fails to save - there's not a save button, insta-save ? Submit button - reimbursement seciton.. UI issues?

ex: When I click "generate report," no report is generated. Please include a screenshot!

Expected Behavior

ex: When I click "generate report", a downloadable report should be generated.

How to Replicate

ex:

    • Log in as an admin or supervisor.
    • Click on "Generate Reports" in the left sidebar menu.
    • Filter by a volunteer who has logged at least one case contact.
    • Click "Generate report" at the bottom of the page.

How to access the QA site

Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

Questions? Join Slack!

We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.

compwron avatar Nov 14 '25 19:11 compwron

Hey, I'd like to take a look at this

Budmin avatar Nov 18 '25 21:11 Budmin

@Budmin go for it!

compwron avatar Nov 18 '25 21:11 compwron

@compwron Looking for some direction on this.

try to update volunteer email, fails to save - there's not a save button, insta-save ? Submit button - reimbursement seciton.. UI issues?

There's a "Submit" button that works differently when developing locally and when testing this on the QA site.

Locally:

After hitting submit a confirmation email goes out to the user, and once they click on the confirmation the email updates.

QA:

Same idea, but I couldn't get the email to send. Not sure if this just isn't set up for QA on purpose and it works on the proper site, or if it's supposed to work on the QA site.


There is a notice message that says "Volunteer was successfully updated. Confirmation Email Sent." when updating an email, but the email doesn't actually change until the volunteer clicks on the confirmation link in their email.

This all seems to be handled by devise, and I didn't think fiddling with devise configs was a good idea unless it was clear that's the direction you all want this to go.

Right now, I'm leaning towards this being a UI issue. Making it a little clearer what the Submit button does, and making the update message more accurate to what is actually happening when an email is waiting to be confirmed.

However you want to take care of this is fine with me, I'd just like to know if I'm on the right track with this.

Budmin avatar Nov 24 '25 06:11 Budmin

This issue has been inactive for 258 hours (10.75 days) and will be unassigned after 102 more hours (4.25 days). If you have questions, please

If you are still working on this, comment here to tell the bot to give you more time

github-actions[bot] avatar Dec 05 '25 00:12 github-actions[bot]

QA email doesn't send on purpose, to prevent spam.

the email doesn't actually change until the volunteer clicks on the confirmation link in their email. hmm interesting, seems reasonable, just bad for our use case.

@compwron Looking for some direction on this.

try to update volunteer email, fails to save - there's not a save button, insta-save ? Submit button - reimbursement seciton.. UI issues?

There's a "Submit" button that works differently when developing locally and when testing this on the QA site.

Locally:

After hitting submit a confirmation email goes out to the user, and once they click on the confirmation the email updates.

QA:

Same idea, but I couldn't get the email to send. Not sure if this just isn't set up for QA on purpose and it works on the proper site, or if it's supposed to work on the QA site.

There is a notice message that says "Volunteer was successfully updated. Confirmation Email Sent." when updating an email, but the email doesn't actually change until the volunteer clicks on the confirmation link in their email.

This all seems to be handled by devise, and I didn't think fiddling with devise configs was a good idea unless it was clear that's the direction you all want this to go.

Right now, I'm leaning towards this being a UI issue. Making it a little clearer what the Submit button does, and making the update message more accurate to what is actually happening when an email is waiting to be confirmed.

However you want to take care of this is fine with me, I'd just like to know if I'm on the right track with this.

compwron avatar Dec 05 '25 15:12 compwron

@compwron Makes sense on the QA site.

If you think that the email confirmation doesn't work for our use case, I'll make the changes that make the submit button just update the record.

If you'd like me to change my solution just let me know

Budmin avatar Dec 09 '25 03:12 Budmin

@Budmin yes please make the submit button just update the record. I know it's not normal best practice but in the CASA context it's reasonable. Thanks!

compwron avatar Dec 09 '25 15:12 compwron

This issue has been inactive for 248 hours (10.33 days) and will be unassigned after 112 more hours (4.67 days). If you have questions, please

If you are still working on this, comment here to tell the bot to give you more time

github-actions[bot] avatar Dec 20 '25 00:12 github-actions[bot]