feat: add nonblocking optional narrative guidance for V14 in QA
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user