The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): handle missing dialog close button in accessibility mode
Steven Enamakel1d2f68cc664e
diff --git a/app/src/components/assistant-ui/ui/dialog.tsx b/app/src/components/assistant-ui/ui/dialog.tsxindex 945901a55e..13f36e546d 100644--- a/app/src/components/assistant-ui/ui/dialog.tsx+++ b/app/src/components/assistant-ui/ui/dialog.tsx@@ -65,28 +65,6 @@ function DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {);}-function DialogFooter({- className,- showCloseButton = false,- children,- ...props-}: React.ComponentProps<'div'> & { showCloseButton?: boolean }) {- return (- <div- data-slot="dialog-footer"- className={cn(- '-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end',- className- )}- {...props}>- {children}- {showCloseButton && (- <DialogPrimitive.Close render={<Button variant="outline" />}>Close</DialogPrimitive.Close>- )}- </div>- );-}-function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {return (<DialogPrimitive.Title