Onboarding 2.0, Item Visiblity, distinguish distribution as pick-up or delivery, and bug fixes!
✍️ Description
This release contains half of the work (other half is in the previous release; 2.3.0) from Ruby For Good Fall 2020! Many issues that we aimed to address were addressed and are included in this release. Here are some of the highlighted changes
✨ What's New?
- We've implemented a new method for processing requests for new accounts for the diaperbase application. New prospective users can now request an account through our application. This request will than be used by our internal team to process the request in a expedited and speedy fashion.
- Diaperbase users can now specify the mode of delivering the distribution they've created! That is, they can distinguish which distributions should be picked-up or delivered directly to them.
- Diaperbase users can now specify if they want specified inventory items to be visible and requestable by their partners.
- Creating a distribution that causes the on-hand total of an inventory item to drop below the specified minimum will cause an banner to appear notifying the user that they may need to add more inventory.
🐞 Bug Fixes
- The extra line that appears when an error occurs in distribution creation has been removed.
- Prevent distributions from failing because email sending fails synchronously. Instead, queue the email send job and allow the distribution to get created. The email will get sent out eventually by sidekiq's retrying.
💖 Other Changes
- Added
letter_opener
to more easily test emails locally.