1.7 KiB
Plan and impact
Baseline develop 5642c1609c7ab62b10530d8f453c4915988787c8; existing dirty graphify-out/cache/last_query_stamp and untracked .specify/, evidence/ preserved. Graphify BFS query before direct source: Blog -> getBlogs -> BlogPage, getSeoConfig/getMediaUrl/SafeImage. Graph SHA256 6a73473cee9e207543fdeeb668bea544f766200a1b16b8a3a9ce18d4e42e51af; 4304 nodes; build/SHA binding unverified, navigation only. Direct source confirms root metadata image inheritance, slug global fallback, listing synthetic placeholder and SafeImage updating claim. Scope: slug metadata/schema, list mapping and blog-only image wrapper used by public cards. Leave global SafeImage/product semantics unchanged. Independent-review follow-up: homepage normalization must trim imageUrl before checking presence or prefixing BASE_DOMAIN. Add parameterized homepage integration coverage through the real BlogImage for null, undefined, empty and whitespace values, expecting “بدون تصویر” and no img; observe RED before minimal normalization fix, then rerun affected/full storefront tests, typecheck and build. Read-only graph neighborhood inspection retains the graph hash above; HomeClient imports BlogPreviewSection, which uses the API and blog wrapper (graph still shows older SafeImage import, so navigation only). Preserve all pre-existing dirty files and publisher ownership; no commit/push/deploy.
Use explicit [] social images to suppress root defaults. Blog-only wrapper delegates valid images to SafeImage but supplies neutral fallback text and decorative fallback alt; absent images use text not an img. Confirm direct sources/tests rather than treating graph as current evidence.