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

4976 product drive participant dropdown fix #4997

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tbenny001
Copy link

@tbenny001 tbenny001 commented Feb 9, 2025

Resolves #4976

Description

When creating a new donation and choosing Product Drive as the source, the Product Drive Participant drop down displays a blank entry when the participant has no business name. This PR addresses this issue by falling back to the contact name of the product drive participant if the participant does not have a business name.

Also adding DockerDesktopWSL/ to the .gitignore file

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

New Rspec tests and manual verification

Screenshots

Creating a Product Drive Participant with no business name:
image

Before:
Screenshot (3)

After:
Screenshot (4)

Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @tbenny001 -- Thanks for taking this on!
At first it looked pretty good, but I tried the following sequence, and the blanks came back.
First I tried adding through the community|product drive participants -- looked good! --

Then I tried adding the product participant without a business name through the "Create New Participant" on the product participant field in New Donation. When I did that, the product participant was blank, and the product participants without business names were blank in the drop down when I looked at it

I'm sure it's something simple that just needs to be tweaked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Donation - dropdown for product drive participants should show contact name if no business name given.
2 participants