Mark items as damaged - changing fee usability issues

Bug #1849370 reported by Josh Stompro
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

EG 3.3.4 Web Staff Client

Hello, we have found that changing the fee in the Mark Items Damaged pop up can be difficult to use.

The selection arrows that allow incrementing the value up and down work fine, it can just be tedious if you are changing from a $100 charge to a $12 charge.

Deleting the value to enter a new value isn't allowed. Once the last digit is deleted, the box flips back to the initial mark damaged screen and doesn't allow any action except for canceling.

Highlighting the value can work, but requires a lot of precision. If you accidentally move the mouse off to the left too far when selecting, out of the box, the whole box just closes.

Selecting the box, entering the new value then deleting the old value can also work, it just isn't intuitive.

It would be nice if deleting the value and entering a new value worked.

Here is a screencast showing what I'm seeing.
https://www.screencast.com/t/vwuAspvBiFa1

Josh

Dan Briem (dbriem)
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Terran McCanna (tmccanna) wrote :

This is still difficult to use in 3.4.

Revision history for this message
Dan Briem (dbriem) wrote :

Here's a branch for testing: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp1849370_mark_damage_modal_usability

The fee input removes itself when cleared because it's bound to same prop that conditionally renders the interface when it's not null.

The input is near the edge so the modal could accidentally close when drag selecting the input value to change it (the ui-bootstrap modal closes on mouseup over the backdrop, not just on click).

In testing I noticed if the cataloged item price is $0 the modal will keep reloading until you click the No Charge button. Also, if you otherwise charge a $0 fee without using the No Charge button, the user will end up being charged the full item price.

This branch uses a separate prop to conditionally render the interface, sets the modal backdrop prop to static, and handles the apply_fines param on submit just before the API call.

tags: added: pullrequest
Revision history for this message
Terran McCanna (tmccanna) wrote :

Is this bug resolved with this fix? https://bugs.launchpad.net/evergreen/+bug/1827942

Revision history for this message
Dan Briem (dbriem) wrote :

Thanks for taking a look, Terran.

No, the other modal fix is for Angular. This is a specific Angular JS modal (and it addresses more than the backdrop prop).

Revision history for this message
Terran McCanna (tmccanna) wrote :

Ah, thank you, Dan!

Changed in evergreen:
milestone: none → 3.5-alpha
Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: added: signedoff
Changed in evergreen:
milestone: 3.5-alpha → 3.4.3
Revision history for this message
Chris Sharp (chrissharp123) wrote :

Pushed to master, 3.3 and 3.4. Thanks, Dan and Terran!

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.