fix(home): deduplicate featured image cards #10

Merged
WuYongJie merged 1 commits from codex/home-image-recovery into main 2026-11-03 09:55:57 +08:00
Collaborator

The featured API can return the same image ID more than once. Deduplicate homepage cards by image ID before filtering unavailable images, so removing failed images leaves neither repeated placeholders nor inflated failure counts.

Validation: the real React components passed browser checks with duplicated normal and failed records, followed by retry and URL updates; exactly four unique images remained after recovery. Scoped Biome check passed.

The featured API can return the same image ID more than once. Deduplicate homepage cards by image ID before filtering unavailable images, so removing failed images leaves neither repeated placeholders nor inflated failure counts. Validation: the real React components passed browser checks with duplicated normal and failed records, followed by retry and URL updates; exactly four unique images remained after recovery. Scoped Biome check passed.
WuYongJie added 1 commit 2026-11-03 09:55:52 +08:00
WuYongJie merged commit 02b9575a47 into main 2026-11-03 09:55:57 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunanting/ai-chatbot#10
No description provided.