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.




| Comment | File | Size | Author |
|---|---|---|---|
| #8 | Screen Shot 2018-01-25 at 11.46.46 PM.png | 35.79 KB | sorabh.v6 |
| #7 | pos_form_ux-2938955-7.patch | 3.76 KB | sorabh.v6 |
| #7 | pos_form_ux-2938955-interdiff-4-7.txt | 660 bytes | sorabh.v6 |
| #7 | Screen Shot 2018-01-25 at 11.54.30 PM.png | 34.31 KB | sorabh.v6 |
| #5 | Screen Shot 2018-01-25 at 4.03.58 PM.png | 52.47 KB | shabana.navas |
Comments
Comment #2
hubbs commentedComment #3
hubbs commented@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.
Comment #4
shabana.navas commentedFixes added.
Comment #5
shabana.navas commentedComment #6
sorabh.v6Comment #7
sorabh.v6Hi, 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
Comment #8
sorabh.v6Comment #10
smccabe commented