human-essentials
human-essentials copied to clipboard
3093 product drive export
Resolves https://github.com/rubyforgood/human-essentials/issues/3093
Description
Adds a button to the product drives page to give the user the ability to download a csv of product drives, filtered by date.
Type of change
- New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Request specs added. I have also tested the feature locally (see screenshots)
Screenshots
Product Drives page now includes an "Export Product Drives" button:
When button is clicked on the above page, the following csv is downloaded:
It seems pretty good to me - the one thing that puzzles me is the "Product-Drives-2022-09-10" appearing at the top of the screenshot of the csv -- is that just an artifact of how you're viewing it?
That's the date (10th September) that I implemented the feature and tested it locally - I use the date the file was downloaded in the filename. It displays the filename like that (as per the screenshot) when I open the csv using a specific Mac app (ie Numbers).