Story #72 Export Active Member Vehicle Data | User and Technical Documentation - cseseniordesign/reservations GitHub Wiki
End User Documentation
Dev Testing Instructions
- Make sure you are on the most recent version of the
dev-export-vehicle-data
branch.
- Start your dev environment and log in with development2 so you have all permissions.
- Navigate to the Admin -> Users page
- Click the "Show Toolbox" button to open the toolbox with the "Download Vehicle Data" button.
- In the toolbox make sure there is a button to download the vehicle data.
- Click "Download Vehicle Data".
- Ensure that a CSV file has now been downloaded to your computer with a list of the vehicles in the database.
- Ensure there are no errors in the console throughout your testing and that the page is responsive on all screen sizes.
Production Testing Instructions
- Go to https://innovationstudio-manager.unl.edu/login/ and log in with an account that has elevated permissions to view the Admin -> Events page.
- Follow steps 3 and up from the dev testing instructions above.
Technical Documentation
routes/admin/users.rb
- Added logic to pull the vehicles from the database
- Added a check to make sure it only pulls vehicles from current active members
- Exports the data to a CSV
views/admin/users.erb
- Added a button to click for an admin to export the vehicle data