Toggling quantities by Doses or Packs in Rnr approval screen- New UI

8 views
Skip to first unread message

Adugna Worku

unread,
Aug 30, 2018, 11:53:13 AM8/30/18
to openlmis_prod...@googlegroups.com, openlm...@googlegroups.com

Hi All,

I have been working on a new feature (https://openlmis.atlassian.net/browse/OLMIS-4968) for toggling product quantity unit in Rnr product grid UI from dispensing unit to packs size and vise versa in Rnr approval page. This feature will help Rnr approver to see quantities either in dispensing unit or pack size.

Design 1:
The first implementation was the same as how toggling works on the fulfillment page by adding toggle button at the top of the page, and when one of the button is checked, the quantity unit in the product grid will be converted to associated unit accordingly. The toggling spans all the reported columns Rnr read-only columns and Approved quantity editable column too. But after a while toggling quantity unit for a reported  read-only columns in approval page produced a calculation problem.

Problem:
When the quantity unit toggled from dispensing unit to pack size, since there are some rounding of numbers going on b/c of a rounding threshold, the arithmetic calculation to get stock on hand will yield a wrong value because of the rounding of the participant columns in the calculation. The SOH calculation would only make sense when the quantity unit is in dispensing unit. B/c of this, it is decided that, we only toggle the Approved Quantity editable column and let the rest of the reported columns not participate in unit conversion.

Design 2:
At this point, unit conversion only applies to Approved quantity column. And to save the user from confusion, the toggle button at the top of the table was removed and alternative UI change has been suggested.
The current UI suggestion would be to append a label at the left side of the Approved Quantity text box and when ever the page loads or the approver types amount in dispensing unit, the calculated pack size conversion will be seen on the label.
image.png

So this is to kindly ask a feedback about if the last suggestion aligns with our UI style guide. Plus any suggestion or recommendation would also be great.

Thanks,
Adugna

Brandon Bowersox-Johnson

unread,
Aug 31, 2018, 12:44:58 PM8/31/18
to Christine Lenihan, Adugna Worku, openlmis_prod...@googlegroups.com, openlm...@googlegroups.com
I agree that Option 2 makes the most sense. However, the mock-up makes it look like we would design a custom widget/component just for that field. The design in the mock-up almost looks like a button to me. Instead I would suggest we try to use existing components. Perhaps we can just show both numbers in text, eg “210 units (11 packs of 20)”.  I also like the idea of putting the details like pack size the dispensing unit string into a tooltip.

To have quality data, users need to know exactly what units they are counting in! Thanks for working on this, and thanks for providing specific mockups and options for input! 

Brandon 


From: 30101422100n behalf of
Sent: Thursday, August 30, 2018 9:28 AM
To: Adugna Worku; openlmis_prod...@googlegroups.com; openlm...@googlegroups.com
Subject: Re: Toggling quantities by Doses or Packs in Rnr approval screen- New UI
 

Hi Adugna,

 

Overall I think I like design 2 better (if this is an either-or situation), since the user can see both pieces of information at the same time, rather than switching back and forth. I had a few questions/thoughts though:

  • I think this could be confusing if the pack size is not displayed – looking at the screenshot, for example, it is easy to confuse the “unit” of a 10 tab strip with the pack – so the label saying 9 packs looked like it was referring to 90 10-tab strips,  not 787 doses
  • Since pack size may or may not be included, would it be possible to include a tooltip or something similar to provide more detail on how the “9 packs” is being calculated?

 

Best,

 

Christine Lenihan |christin...@villagereach.org

Manager, Information Systems

 

VillageReachStarting at the Last Mile

2900 Eastlake Ave. E, Suite 230,  Seattle, WA 98102, USA

DIRECT: 1.206.639.2359 CELL: 1.508.641.5564  FAX: 1.206.860.6972

SKYPE: christine.lenihan.vr

www.villagereach.org

Connect onFacebook,Twitterand ourBlog

--
You received this message because you are subscribed to the Google Groups "OpenLMIS Product Committee" group.
To unsubscribe from this group and stop receiving emails from it, send an email toopenlmis_product_co...@googlegroups.com.
To post to this group, send email to openlmis_prod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis_product_committee/CAOye8iGWH9oYirMh57L3D3mSrVP9V_pbkX9ZKyr6cGZX6du_mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "OpenLMIS Product Committee" group.
To unsubscribe from this group and stop receiving emails from it, send an email toopenlmis_product_co...@googlegroups.com.
To post to this group, send email to openlmis_prod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis_product_committee/72FE09B3-DD78-4830-913E-4B86ACF49E78%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.

Chongsun Ahn

unread,
Aug 31, 2018, 2:56:29 PM8/31/18
to Adugna Worku, Christine Lenihan, Brandon Bowersox-Johnson, openlmis_prod...@googlegroups.com, openlm...@googlegroups.com
Hey Adugna,

I do think design 2 has less problems of complexity; however, I agree with Brandon that I would prefer not to introduce a new widget, especially for something that is not likely to be repeated anywhere else in the system. Is it possible to reuse the “packs to ship” column that can already be configured in the requisition template? I know we want this information to only show up in the approve requisition process, so can we add an option in the requisition template to show the “packs to ship” column only for the approve requisition screen? That way, this packs information can also be configured to not show up at all if desired.

Shalom,
Chongsun

-- ​
There are 10 kinds of people in this world; those who understand binary, and those who don’t.

Software Development Engineer
 
VillageReach Starting at the Last Mile
2900 Eastlake Ave. E, Suite 230,  Seattle, WA 98102, USA
DIRECT: 1.206.512.1536   CELL: 1.206.910.0973   FAX: 1.206.860.6972
SKYPE: chongsun.ahn.vr
Connect on Facebook, Twitter and our Blog

<image001.png>

 

So this is to kindly ask a feedback about if the last suggestion aligns with our UI style guide. Plus any suggestion or recommendation would also be great.

 

Thanks,
Adugna
-- 
You received this message because you are subscribed to the Google Groups "OpenLMIS Product Committee" group.
To unsubscribe from this group and stop receiving emails from it, send an email toopenlmis_product_co...@googlegroups.com.
To post to this group, send email to openlmis_prod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis_product_committee/CAOye8iGWH9oYirMh57L3D3mSrVP9V_pbkX9ZKyr6cGZX6du_mg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups "OpenLMIS Product Committee" group.
To unsubscribe from this group and stop receiving emails from it, send an email toopenlmis_product_co...@googlegroups.com.
To post to this group, send email to openlmis_prod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis_product_committee/72FE09B3-DD78-4830-913E-4B86ACF49E78%40villagereach.org.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.
To post to this group, send email to openlm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openlmis-dev/MWHPR02MB21925F392EE4C24A42EBDD68AE0F0%40MWHPR02MB2192.namprd02.prod.outlook.com.
Reply all
Reply to author
Forward
0 new messages