refactor(emex): rewrite EMEX integration, add category fallback
Replace browser-based Puppeteer scraper with standalone scraper wrapper. Add EMEX as fallback source for categories when PL24 is unavailable. Update vehicle decoding to use new synchronous EMEX API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -111,16 +111,18 @@ export function SchemaViewer({
|
||||
<img
|
||||
src={schemaPic.url}
|
||||
alt={schemaPic.label || "Sema goruntusu"}
|
||||
width={schemaPic.width}
|
||||
height={schemaPic.height}
|
||||
{...(schemaPic.width > 0 && { width: schemaPic.width })}
|
||||
{...(schemaPic.height > 0 && { height: schemaPic.height })}
|
||||
className="max-h-full max-w-full select-none object-contain"
|
||||
draggable={false}
|
||||
/>
|
||||
<HotspotOverlay
|
||||
hotspots={hotspots}
|
||||
imageWidth={schemaPic.width}
|
||||
imageHeight={schemaPic.height}
|
||||
/>
|
||||
{schemaPic.width > 0 && schemaPic.height > 0 && (
|
||||
<HotspotOverlay
|
||||
hotspots={hotspots}
|
||||
imageWidth={schemaPic.width}
|
||||
imageHeight={schemaPic.height}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user