You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): product thumbnails render as "[object Object]" for TGDD listings #810
Found in a live audit of rate.vn (round 4). On merchant pages such as /merchants/ad185bf1-8344-499e-80c2-c552ebba67d0, listing thumbnails request /merchants/[object%20Object] (404, broken image).
Cause: 14 rate.products rows (all platform = 'tgdd') store the literal string "[object Object]" as the first entries of images, followed by real CDN URLs. The web reads images[0] in about 20 places (merchant listings, product page, compare, home, catalog).
Fix (web): pick the first entry that is an actual URL (http(s)://, protocol-relative or root-relative) through one helper used everywhere images[0] is read.
Follow-up for the TGDD crawler owner (not in this repo): the crawler stringifies image objects instead of reading their URL field; the stored rows need a re-crawl or cleanup.
Acceptance: no [object Object] image request on merchant, product, compare or catalog pages; unit test for the helper.
[Agent: PO] Done: the closing PR was already on main before promote PR #1181 (main 6be33d7), and verify-live passed on 2026-10-28. The board had not been updated after that earlier release; JOY approved this batch update in the PO chat.
Activity
fix(web): filter junk images in hero suggestions, JSON-LD and thumbna…
fix(web): check the thumbnail too and require a host in image URLs (#810
fix(web): skip stored image entries that are not URLs (#810) (#871)
JOY commentedon Oct 28, 2026
[Agent: PO] Done: the closing PR was already on main before promote PR #1181 (main 6be33d7), and
verify-livepassed on 2026-10-28. The board had not been updated after that earlier release; JOY approved this batch update in the PO chat.