Secondary Product Identifier of First Product Appears in Bold Color on Store View Screen
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
I want to contribute
@Amanw-25 yes you can go ahead with this issue.
i want to contribute
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.
Lets remove this logic of bold, it doesn't add much and we don't do this anywhere else either.
Custom Highlighting for Selection:
- We have applied a custom color to ion-item to visually indicate when an item is selected.
- When a color is applied to ion-item, an event called ionColor is emitted.
How ionColor Works:
- The ionColor event is triggered only when the component is rendered for the first time or when its color changes.
- This means the event does not fire if the color remains the same.
Behavior on the Count-Detail Page:
- When the user enters the count-detail page, the list of items is rendered only once.
- At this point, the secondary product identifier (SPI) of the initially selected item is correctly highlighted.
Issue When Switching Items:
- If the user selects a different count item, the list does not re-render.
- Since the color does not change, the ionColor event is not emitted again.
- 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
Issue verified and currently selected product secondary identifier is displayed as bold. Hence closing this issue.
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.
i want to contribute on this issue
Please go ahead @ratneshranve .
I want to contribute on this issue : The secondary product identifier of the first product is displayed in bold color.
@NabilaKhan211 Please check for some issue, this is already assigned.