From 5cfa6c8847fd692a76f54ade33294399b4d011a0 Mon Sep 17 00:00:00 2001 From: Claude VM Date: Thu, 21 May 2026 14:58:29 +0300 Subject: [PATCH] fix(geoportal-v2): disable Ortofoto ANCPI button in PIZ modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gis-api currently returns 501 basemap_not_supported for basemap='orto' (needs orchestrator-side basemap endpoint that proxies the eTerra account pool — not yet wired). Showing a clickable button that errors out is bad UX; gate it with a dashed style + 'curând' badge + tooltip explaining the dependency so the user reaches for Google Satellite (default, fully working) instead. Re-enable when orchestrator ships the basemap endpoint. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/modules/geoportal/v2/exports/export-modal.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/modules/geoportal/v2/exports/export-modal.tsx b/src/modules/geoportal/v2/exports/export-modal.tsx index 04221a0..8340fde 100644 --- a/src/modules/geoportal/v2/exports/export-modal.tsx +++ b/src/modules/geoportal/v2/exports/export-modal.tsx @@ -206,15 +206,11 @@ export function ExportModal({