This commit is contained in:
@@ -255,6 +255,20 @@
|
||||
- backend debug broadcasts
|
||||
|
||||
## Recent Change Log
|
||||
- Date: `2026-03-16`
|
||||
- What changed:
|
||||
- Hardened search result enrichment and recommendation metadata for preview recovery work.
|
||||
- Added provider-aware fetch strategy for source HTML/JSON requests, broader Envato preview parsing, looser Artgrid HTML acceptance, and stronger thumbnail preservation rules.
|
||||
- Added low-value thumbnail detection, ranking penalties for weak visuals, capped filler backfill, and response metadata fields for modal rendering (`mediaMode`, `embedUrl`, `previewBlockedReason`).
|
||||
- Expanded debug summaries with usable-thumbnail and embed counts, and added unit coverage for the new parsing/ranking helpers.
|
||||
- Why it changed:
|
||||
- The latest production log showed Envato enrichment frequently failing, Artgrid enrichment collapsing on `403` plus HTML mismatch, and Gemini seeing too few usable visuals to do meaningful review.
|
||||
- How it was verified:
|
||||
- `go test ./...`
|
||||
- What is still risky or incomplete:
|
||||
- Frontend modal fallback behavior is not updated yet in this batch, so the new response metadata is not fully consumed until the UI patch lands.
|
||||
- Envato source fetches may still fail on some pages if the provider changes challenge behavior again.
|
||||
|
||||
- Date: `2026-03-16`
|
||||
- What changed:
|
||||
- Added in-process query translation / expansion cache inside `GeminiService` so repeated identical searches can reuse the same English query and variant list without re-calling Gemini or Google Translate.
|
||||
|
||||
Reference in New Issue
Block a user