mirror of
https://github.com/block/buzz.git
synced 2026-11-01 06:51:17 +00:00
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:
parent
0af8d39457
commit
1e707d67c0
@@ -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 ?? "",
|
||||
|
||||
Reference in New Issue
Block a user