rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
436 stars 450 forks source link

Autoscrolling when adding new items in donations/distributions/purchases #4440

Closed cielf closed 2 weeks ago

cielf commented 2 weeks ago

Summary

When creating a new donation/distribution/purchase, add autoscrolling, so that when you add a new item, the item is on the screen!

Why

Reduces bank user frustration -- they have to manually scroll every time they add an item now. Some distributions have over a dozen items.

Details

To see the issue ... Sign in as org_admin@example.com. In the left hand menu, click Donations, then "New Donation". Add in the basic info (partner, storage location), then click"add an item"

When you press the "add an item" button, the screen should scroll so that the item selection that is added appears on the screen. (if the first one fits on your screen, do it again, and you'll see)

This is probably a fix in one piece of code that applies across donations/distributions/purchases

Criteria for completion

jp524 commented 2 weeks ago

I'd like to work on this!

dorner commented 2 weeks ago

You got it!