Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "Assign New Volunteer" defaults to first name on picklist for new cases #5292

Closed
bcastillo32 opened this issue Oct 20, 2023 · 2 comments · Fixed by #5307
Closed

Bug: "Assign New Volunteer" defaults to first name on picklist for new cases #5292

bcastillo32 opened this issue Oct 20, 2023 · 2 comments · Fixed by #5307
Assignees

Comments

@bcastillo32
Copy link
Collaborator

bcastillo32 commented Oct 20, 2023

Impacted User Types

  • volunteers
  • supervisors
  • admins

Environment

dekstop

Current Behavior

When editing a new case to "Assign a New Volunteer" for the first time, the drop-down is defaulted to the first name on the list.
image

Expected Behavior

For new cases that have never had a volunteer assigned, the drop-down should default to a "null" picklist item. It can be a blank a string but if you have a different suggestion, please let @bcastillo32 know.

How to Replicate

ex:

  1. Log in as an admin.
  2. Click on "Cases" in the left sidebar menu.
  3. Click "+New Case"
  4. Fill out Form details
  5. Submit form - click "+Create CASA Case"
  6. Click "Edit Case Details" and notice "Assign New Volunteer" has defaulted to the first list item on the picklist

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 https://rubyforgood.herokuapp.com/ #casa channel to ask questions quickly and hear about office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.

@bcastillo32 bcastillo32 added Type: Bug Help Wanted This is a special label that enables github to showcase issues that want help labels Oct 20, 2023
@bcastillo32 bcastillo32 changed the title Bug: Assign New Volunteer defaults to first name on picklist Bug: "Assign New Volunteer" defaults to first name on picklist for new cases Oct 20, 2023
@sarvaiyanidhi
Copy link
Contributor

Hi @bcastillo32,

I was thinking instead of showing nil value, can we show text as "Please Select Volunteer" with value as nil so it prompts error if user don't select any volunteer as shown in below screenshot

volunteer-select

If it is good I can submit PR as it is very small fix.

Thanks

@bcastillo32 bcastillo32 removed the Help Wanted This is a special label that enables github to showcase issues that want help label Oct 20, 2023
@bcastillo32
Copy link
Collaborator Author

Hi @bcastillo32,

I was thinking instead of showing nil value, can we show text as "Please Select Volunteer" with value as nil so it prompts error if user don't select any volunteer as shown in below screenshot

volunteer-select

If it is good I can submit PR as it is very small fix.

Thanks

Yes that works! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
2 participants