There are some form fields within the POS module that could use a few UX improvements.

Currency Denominations

  • Currency code field - We only expect 3 characters
  • Name - This could be at least half its current width
  • Amount - We only expect up to 6 characters (100.00)

POS Settings

  • Order lookup - We only expect up to 4 digits (probably only 2).

POS Order Lookup

  • Order lookup - This could be a fair bit shorter, maybe half. If an email is the longest thing we expect a user to search by, make it that long.
  • Order lookup - Can we autocomplete as the user is typing? Currently, if I'm looking for order number 55, I have to type 55. It would be nice to only have to type 5 to see all results that include 5. This is especially true for searching by name or email. (Separate issue -
    https://www.drupal.org/project/commerce_pos/issues/2938961)
  • Move the help text below the field and leave the placeholder blank.

Comments

Hubbs created an issue. See original summary.

hubbs’s picture

Issue summary: View changes
hubbs’s picture

@smccabe requested I move "Can we autocomplete as the user is typing? Currently, if I'm looking for order number 55, I have to type 55. It would be nice to only have to type 5 to see all " to a new issue.

shabana.navas’s picture

Status: Active » Needs review
StatusFileSize
new3.76 KB

Fixes added.

shabana.navas’s picture

sorabh.v6’s picture

Assigned: Unassigned » sorabh.v6
sorabh.v6’s picture

Hi, I reviewed the patch in #4and found that the field size for currencyCode field is little small for some major currencies KWD, HKD and some others as well. Therefore, I increased the size to 4. Attaching patch, interdiff, before and after images.

Before

After

sorabh.v6’s picture

StatusFileSize
new35.79 KB

  • smccabe committed 4b1b81f on 8.x-2.x authored by sorabh.v6
    Issue #2938955 by sorabh.v6, shabana.navas, Hubbs: Commerce POS form UX
    
smccabe’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.