The open-source agent harness - the runtime layer that turns an LLM into a working agent.
fix: update environment button labels and adjust button dimensions for consistency (#1016)
Sujai Kumar Gupta21cb1ce3af0d
diff --git a/docs/images/sandbox-environment-new.png b/docs/images/sandbox-environment-new.pngindex 5ea3d206d..13130b422 100644Binary files a/docs/images/sandbox-environment-new.png and b/docs/images/sandbox-environment-new.png differdiff --git a/docs/images/sandbox-environment-select.png b/docs/images/sandbox-environment-select.pngindex 383e14440..a0cfac9dc 100644Binary files a/docs/images/sandbox-environment-select.png and b/docs/images/sandbox-environment-select.png differdiff --git a/docs/images/sandbox-environments.png b/docs/images/sandbox-environments.pngindex d7607a971..e34c1f761 100644Binary files a/docs/images/sandbox-environments.png and b/docs/images/sandbox-environments.png differdiff --git a/packages/trueforge-ui/src/atoms/EnvironmentsButton.tsx b/packages/trueforge-ui/src/atoms/EnvironmentsButton.tsxindex 8fd258f57..d53cb642e 100644--- a/packages/trueforge-ui/src/atoms/EnvironmentsButton.tsx+++ b/packages/trueforge-ui/src/atoms/EnvironmentsButton.tsx@@ -28,8 +28,8 @@ export function EnvironmentsButton({ className, compact = false }: EnvironmentsB<div className={cn('relative min-w-0', compact ? 'flex justify-center' : 'w-full', className)}><buttontype="button"- aria-label={compact ? 'Envs' : undefined}- title={compact ? 'Envs' : undefined}+ aria-label={compact ? 'Environments' : undefined}+ title={compact ? 'Environments' : undefined}aria-current={open ? 'page' : undefined}className={auiButtonClass({variant: 'ghost',@@ -48,7 +48,7 @@ export function EnvironmentsButton({ className, compact = false }: EnvironmentsB><Icon name="monitor" size={compact ? 14 : undefined} />{compact ? (- <span className="text-center">Envs</span>+ <span className="text-center">Environments</span>) : (<><span className="truncate">Environments</span>diff --git a/packages/trueforge-ui/src/atoms/lib/buttonClasses.ts b/packages/trueforge-ui/src/atoms/lib/buttonClasses.tsindex 78c5994e3..67f52f156 100644--- a/packages/trueforge-ui/src/atoms/lib/buttonClasses.ts+++ b/packages/trueforge-ui/src/atoms/lib/buttonClasses.ts@@ -27,7 +27,7 @@ export const sidebarButtonRadiusClassName = 'rounded-[0.75rem]';/** Compact sidebar rail control: 66×54px → 4.125rem × 3.375rem. */export const sidebarRailButtonClassName = cn(sidebarButtonRadiusClassName,- 'h-[3.375rem] w-[4rem] shrink-0 flex-col gap-1 whitespace-normal px-0.5 text-[0.625rem] font-normal leading-tight !justify-center shadow-none hover:bg-secondary-button-hover hover:text-ghost-button-text [&_svg]:size-3.5',+ 'h-[3.375rem] w-[4.125rem] shrink-0 flex-col gap-1 whitespace-normal px-0.5 text-[0.625rem] font-normal leading-tight !justify-center shadow-none hover:bg-secondary-button-hover hover:text-ghost-button-text [&_svg]:size-3.5',);/** Shared Button / native `<button>` className helper (SDK utilities are layered). */