Skip to content

feat: Add export product drive participants button#5596

Open
mausamp wants to merge 2 commits into
rubyforgood:mainfrom
mausamp:feat/product-drive-participants-csv
Open

feat: Add export product drive participants button#5596
mausamp wants to merge 2 commits into
rubyforgood:mainfrom
mausamp:feat/product-drive-participants-csv

Conversation

@mausamp

@mausamp mausamp commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Resolves #5594

Description

This adds the export product drive participants button to the product drive show action.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Manual testing using UI
  • Added an automated test for the request

Screenshots

Before :
Screenshot 2026-06-09 at 12 44 59 PM

After:
Screenshot 2026-06-09 at 12 45 23 PM

@mausamp mausamp changed the title feat: Add export product drive participants button to the product dri… feat: Add export product drive participants button Jun 9, 2026

@dorner dorner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One comment, otherwise looks good!


HEADERS = ["Donation Id", "Product Drive Participant", "Storage Location", "Quantity", "In Kind Value"].freeze

def initialize(product_drive)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we move this to class-level methods instead of requiring instantiation? It's simpler to test or stub out.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

updated, can you please look at it again ? @dorner, thanks!

@mausamp mausamp requested a review from dorner June 13, 2026 02:16
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.

Export list of product drive participants from the product drive view screen

2 participants