inventory-count icon indicating copy to clipboard operation
inventory-count copied to clipboard

Secondary Product Identifier of First Product Appears in Bold Color on Store View Screen

Open Adameddy26 opened this issue 1 year ago • 8 comments

Current behavior

The secondary product identifier of the first product is displayed in bold color.

Expected behavior

The secondary product identifier of the first product should be displayed in a regular font (non-bold), similar to other products.

Steps to reproduce the issue

Login to the store manager account. Navigate to the "Store View" screen. Open the newly created count having more than 1 item. Observe the display of the secondary product identifier for the first item.

Environment details

App version : v2.1.2 App environment : UAT

Additional information

image

Adameddy26 avatar Oct 11 '24 10:10 Adameddy26

I want to contribute

Amanw-25 avatar Oct 19 '24 06:10 Amanw-25

@Amanw-25 yes you can go ahead with this issue.

amansinghbais avatar Oct 19 '24 06:10 amansinghbais

i want to contribute

rohitbhure65 avatar Oct 19 '24 09:10 rohitbhure65

Actually, the issue is different. The behavior of the secondary identifier becoming bold for the first item is expected. However, when we click on another item, its secondary identifier should also become bold upon selection, which is not happening and is the main issue.

R-Sourabh avatar Nov 14 '24 08:11 R-Sourabh

Lets remove this logic of bold, it doesn't add much and we don't do this anywhere else either.

dt2patel avatar Nov 28 '24 10:11 dt2patel

Custom Highlighting for Selection:

  1. We have applied a custom color to ion-item to visually indicate when an item is selected.
  2. When a color is applied to ion-item, an event called ionColor is emitted.

How ionColor Works:

  1. The ionColor event is triggered only when the component is rendered for the first time or when its color changes.
  2. This means the event does not fire if the color remains the same.

Behavior on the Count-Detail Page:

  1. When the user enters the count-detail page, the list of items is rendered only once.
  2. At this point, the secondary product identifier (SPI) of the initially selected item is correctly highlighted.

Issue When Switching Items:

  1. If the user selects a different count item, the list does not re-render.
  2. Since the color does not change, the ionColor event is not emitted again.
  3. As a result, the secondary product identifier does not appear bold for the newly selected item.

As discussed with @ymaheshwari1 sir, we will keep the functionality to display ion-item selected using color property to ensure a clear visual indication for the user.

@dt2patel

priyanshee1604 avatar Mar 21 '25 11:03 priyanshee1604

Issue verified and currently selected product secondary identifier is displayed as bold. Hence closing this issue.

shubham-namdeo avatar May 07 '25 10:05 shubham-namdeo

In case of similar products, secondary product identifier remains bold for the first product. This can also be regenerated by >rejecting a product and then re-assigning it. Then check on store view.

Image

shubham-namdeo avatar May 09 '25 09:05 shubham-namdeo

i want to contribute on this issue

ratneshranve avatar Oct 11 '25 05:10 ratneshranve

Please go ahead @ratneshranve .

shubham-namdeo avatar Oct 11 '25 05:10 shubham-namdeo

I want to contribute on this issue : The secondary product identifier of the first product is displayed in bold color.

NabilaKhan211 avatar Oct 11 '25 05:10 NabilaKhan211

@NabilaKhan211 Please check for some issue, this is already assigned.

ymaheshwari1 avatar Oct 11 '25 06:10 ymaheshwari1