Issue 6600: skip email confirmation when saving new volunteer email, due to how CASA orgs work#6639
Open
Budmin wants to merge 7 commits intorubyforgood:mainfrom
Open
Issue 6600: skip email confirmation when saving new volunteer email, due to how CASA orgs work#6639Budmin wants to merge 7 commits intorubyforgood:mainfrom
Budmin wants to merge 7 commits intorubyforgood:mainfrom
Conversation
compwron
previously approved these changes
Dec 29, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR simplifies the volunteer email update process by removing the email confirmation requirement. When an admin updates a volunteer's email, it now takes effect immediately instead of requiring the volunteer to confirm via email first. Additionally, the form submit button text was changed from "Submit" to "Update" for better UX clarity.
- Updated
VolunteersController#updateto callskip_reconfirmation!before updating volunteer records - Changed button text from "Submit" to "Update" in the volunteer edit form
- Modified tests to verify immediate email updates without confirmation emails
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| app/controllers/volunteers_controller.rb | Added skip_reconfirmation! call to bypass Devise email confirmation when updating volunteers |
| app/views/volunteers/edit.html.erb | Changed button text from "Submit" to "Update" for improved user clarity |
| spec/system/volunteers/edit_spec.rb | Updated all button click actions from "Submit" to "Update" and replaced email confirmation tests to verify immediate email updates |
| spec/requests/volunteers_spec.rb | Modified email update test to verify immediate email change without confirmation email being sent |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
compwron
previously approved these changes
Dec 29, 2025
Collaborator
|
Please fix merge conflicts so we can merge? |
Contributor
Author
|
@compwron Let me know if you need anything else from me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What github issue is this PR for, if any?
Resolves #6600
What changed, and why?
Volunteers aren't sent a confirmation email before their email is updated, it just updates now.
This was changed because it's not needed for CASA's use case.
I also changed the "Submit" button to an "Update" button.
This wasn't in the Issue, I just thought it was more intuitive for users who don't realize they're submitting a form.
How is this tested? (please write rspec and jest tests!) 💖💪
Tests that checked for confirmation emails when updating Volunteer emails were either modified or replaced to check for the record and UI updating as expected.
Screenshots please :)
Run your local server and take a screenshot of your work! Try to include the URL of the page as well as the contents of the page.
(No email in between now...)
Submit -> Update button change
Feelings gif (optional)
What gif best describes your feeling working on this issue? https://giphy.com/
How to embed:
