feat: add nonblocking optional narrative guidance for V14 in QA

This commit is contained in:
2026-11-21 20:35:31 +02:00
parent e239a31a76
commit f5dbd55dfb
22 changed files with 661 additions and 1 deletions
@@ -35,6 +35,16 @@ export function BusinessPlanWarnings({
<p role="status">
<span aria-hidden="true">⚠ </span>
{warning.message}
{warning.id === 'optional-texts' && (
<span className="mt-1 block text-xs">
Secções opcionais em falta:{' '}
{metrics.optionalTexts
?.filter((field) => !field.value.trim())
.map((field) => field.label)
.join(', ')}
.
</span>
)}
</p>
<button
type="button"