fix(desktop): drop the superfluous starter-agent dialog subtitle

"Review this starter agent and adjust it as needed." added nothing the
"New {template}" title didn't already say. Template drafts now carry a
blank description; the dialog keeps the description node sr-only so the
Radix dialog stays labelled for screen readers.

Co-authored-by: Taylor Ho <taylorkmho@gmail.com>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w
2026-07-07 01:13:05 -07:00
parent 0af8d39457
commit 1e707d67c0

View File

@@ -67,7 +67,9 @@ export function blankAgentDraft(): AgentDraft {
export function templateAgentDraft(template: AgentTemplate): AgentDraft {
return {
title: `New ${template.displayName}`,
description: "Review this starter agent and adjust it as needed.",
// Intentionally blank: the template name in the title says enough, and
// the dialog hides the description line when it's empty.
description: "",
submitLabel: "Create agent",
name: template.displayName,
avatarUrl: template.avatarUrl ?? "",