hotwax / receiving

HotWax Commerce Receiving App
https://receiving.hotwax.io/
Apache License 2.0
8 stars 40 forks source link

Incorrect SKU search retains previous results instead of displaying an empty state in the add product modal #395

Open Adameddy26 opened 2 weeks ago

Adameddy26 commented 2 weeks ago

Current behavior

The modal retains and displays the results from the previous valid SKU search, which can cause confusion for users, as the incorrect product appears to be listed.

Expected behavior

When an incorrect SKU is entered, the app should clear the previous results and display an empty state or a message like "No products found."

Steps to reproduce the issue

Go to the 'Add Product' feature in the Shipment/PO module. Search for a product using a valid SKU. Observe that the correct product is fetched and listed. Now, search for a product using an invalid or incorrect SKU. Observe the behavior of the product list.

Environment details

App version: v2.27.2 App environment : UAT

Additional information

See the second half of JAM. https://jam.dev/c/e058556e-1372-41bb-a48a-70600ef31e7b

ashutosh7i commented 2 weeks ago

hello, Can i work on this issue?

amansinghbais commented 2 weeks ago

@ashutosh7i , please go ahead.