fix: recover territorial demarcation QA and prepare retained geometry restoration

This commit is contained in:
2026-10-22 21:43:54 +02:00
parent 8286d7504d
commit 15d82611b6
5 changed files with 119 additions and 4 deletions
@@ -71,6 +71,12 @@ export default function TerritoryGeometryPreview({
? 'Limite administrativo disponível para este território.'
: 'Sem limite administrativo acessível para este território neste perfil.'}
</p>
{!context.selected_geometry_available && context.areas.length > 0 && (
<p role="note">
O mapa mostra apenas limites dos níveis superiores como contexto.
Estes limites não representam o território seleccionado.
</p>
)}
<p>
{context.context_geometry_count} limites disponíveis na
hierarquia selecionada. São contexto administrativo, não
@@ -93,7 +99,7 @@ export default function TerritoryGeometryPreview({
<ul>
{context.areas.map((area, index) => (
<li key={index}>
{area.title} · Fonte:{' '}
{area.title} · {area.selected_territory ? 'Território seleccionado' : 'Contexto de nível superior'} · Fonte:{' '}
{area.source_reference ?? 'Não indicada'} ·
Edição: {area.source_date ?? 'Não indicada'}
</li>