Closed Bug 1856031 Opened 1 year ago Closed 1 year ago

If adjusted rating is 0, the five star rating component is not shown

Categories

(Firefox :: Shopping, defect)

defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox119 --- verified
firefox120 --- verified

People

(Reporter: jhirsch, Assigned: amy)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

Attachments

(2 files, 1 obsolete file)

If a product has adjusted_rating 0 in the response, like this one: https://www.amazon.com/SAMSUNG-55-Inch-Tracking-Q-Symphony-QN55S90C/dp/B0BWFVCLG9/

then the UI code does not render the star rating component at all (see attached screenshot).

I'm guessing it's a small bug where we don't show the adjusted rating component if adjusted_rating is falsy (false or 0, which is loosely equal to false in javascript).

Whiteboard: [fidefe-shopping]

Seems P1-ish to me. We'll get started on it while we wait for prioritization from Ania

Assignee: nobody → achurchwell

imo, having 5 empty solid stars could be confusing for users (even though they are lighter in color than positive value stars.) Are we okay with doing a half star as the lowest value instead, just to make it explicit that it's a low value?

Flags: needinfo?(asafko)

This patch was included in the fix for bug 1855561, marking as fixed.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(asafko)
Resolution: --- → FIXED

Verified as fixed in our latest Beta 119.0b7 as well as our latest nightly build 120.0a1 (2023-10-10) .

Status: RESOLVED → VERIFIED
Attachment #9355926 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: