Polish workbench result states
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-20 03:10:45 +02:00
parent 8459b8bbd5
commit b3d1a1a5ee
10 changed files with 239 additions and 23 deletions
@@ -217,7 +217,18 @@ export function ExportCenter({
</div>
</div>
</div>
{exportError ? <p className="error">{exportError}</p> : null}
{loadingExports ? (
<div className="result-state result-state-loading">
<strong>Loading export registry.</strong>
<p>Retrieving persisted artifacts for the selected project.</p>
</div>
) : null}
{exportError ? (
<div className="result-state result-state-error">
<strong>Export action failed.</strong>
<p>{exportError}</p>
</div>
) : null}
{latestExport ? (
<div className="latest-export-card">
<span>Latest export</span>
@@ -226,7 +237,7 @@ export function ExportCenter({
</div>
) : null}
{exports.length === 0 ? (
<div className="empty-state">
<div className="result-state result-state-empty">
<strong>No exports registered yet.</strong>
<p>Create metadata, GeoJSON or HTML report artifacts once the active project has data to hand off.</p>
</div>
@@ -291,7 +302,7 @@ export function ExportCenter({
</div>
) : null}
{exports.length > 0 && filteredExports.length === 0 ? (
<div className="empty-state">
<div className="result-state result-state-empty">
<strong>No exports match the current filters.</strong>
<p>Clear the search, type or status filter to return to the latest artifacts.</p>
</div>