feat: version 4.0.1 -- Nuevo con IA: aviso de proyectos parecidos y objetivo redactado

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Milton Gonzalez
2026-10-23 16:38:28 -05:00
parent 4b83a24e4c
commit 7e59f0181d
9 changed files with 75 additions and 6 deletions
@@ -92,6 +92,14 @@ export function NewProjectAiDialog({ open, deptOptions, minLength = 20, onClose,
</>
) : (
<>
{proposal.similarProjects?.length > 0 && (
<InfoBar tone="warning" dismissible={false}>
{t('ai_new_project_similar')}{' '}
{proposal.similarProjects.map((p, i) => (
<span key={p.id}>{i > 0 && ', '}<a href={`/proyectos/${p.id}`} target="_blank" rel="noreferrer">{p.code} {p.name}</a> ({p.statusName})</span>
))}
</InfoBar>
)}
<Field label={t('common_name')}>
<input className="input" value={name} maxLength={200} onChange={(e) => setName(e.target.value)} />
</Field>