From 8bc0af21cd4ed883c76df8bc1591ca613f551e4d Mon Sep 17 00:00:00 2001 From: tulsi Date: Wed, 29 Apr 2026 10:53:06 -0700 Subject: [PATCH] =?UTF-8?q?feat(goose2):=20Alex=20redesign=20=E2=80=94=20t?= =?UTF-8?q?ighten=20agents=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Card and figure sized down ~20% (w-200→160, h-420→336) for a tighter grid. - Persona name promoted out of the description paragraph onto its own row above the body, so the pill reads as a label rather than an inline prefix. - Gallery container switches from fixed gap-32 to justify-evenly with a gap-8 floor — cards redistribute evenly when the sidebar collapses and fall back to horizontal scroll when they overflow. - SkeletonCard updated to match the new dimensions and the split name/description layout. Co-Authored-By: Claude Opus 4.7 (1M context) --- ui/goose2/src/features/agents/ui/PersonaCard.tsx | 11 +++++++---- ui/goose2/src/features/agents/ui/PersonaGallery.tsx | 13 +++++++------ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ui/goose2/src/features/agents/ui/PersonaCard.tsx b/ui/goose2/src/features/agents/ui/PersonaCard.tsx index 6bc046671d..246ebeca6a 100644 --- a/ui/goose2/src/features/agents/ui/PersonaCard.tsx +++ b/ui/goose2/src/features/agents/ui/PersonaCard.tsx @@ -76,14 +76,14 @@ export function PersonaCard({ onKeyDown={handleCardKeyDown} tabIndex={0} className={cn( - "group relative flex w-[200px] shrink-0 cursor-pointer flex-col py-4", + "group relative flex w-[160px] shrink-0 cursor-pointer flex-col py-4", "transition-colors duration-200", isActive && "bg-black/[0.03]", )} > {/* Fixed-height figure box: figure aligned to bottom, centered horizontally; wider figures bleed into the gap between cells (intentional editorial overflow) */} -
+
-

- +

+ {persona.displayName} +
+ +

{persona.systemPrompt}

diff --git a/ui/goose2/src/features/agents/ui/PersonaGallery.tsx b/ui/goose2/src/features/agents/ui/PersonaGallery.tsx index fc8638d115..4c05c0edc4 100644 --- a/ui/goose2/src/features/agents/ui/PersonaGallery.tsx +++ b/ui/goose2/src/features/agents/ui/PersonaGallery.tsx @@ -20,12 +20,13 @@ interface PersonaGalleryProps { function SkeletonCard() { return ( -