feat(FN-1066): add descriptions to agent presets and display in UI

- Add description field to all 20 agent presets in NewAgentDialog
- Display preset descriptions below role badge in preset selection cards
- Use preset description as agent title when selecting a preset
- Add CSS styling for description text with 2-line clamp
- Add tests verifying descriptions render, are non-empty, and populate title field
This commit is contained in:
gsxdsm
2026-04-07 13:38:35 -07:00
parent 4a239c0034
commit 647d284363
3 changed files with 96 additions and 23 deletions

View File

@@ -21083,6 +21083,17 @@ html .column.drag-over * {
text-transform: capitalize;
}
.agent-preset-description {
font-size: 11px;
color: var(--text-muted);
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
margin-top: 2px;
}
.agent-dialog-required {
color: var(--state-error-text);
}