The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix(ui): move reinstall button to end — power, reload, remove, reinstall
HenkDz0651f48f6cb5
diff --git a/ui/src/pages/AdapterManager.tsx b/ui/src/pages/AdapterManager.tsxindex 6d6e5f3f9f..da85689de1 100644--- a/ui/src/pages/AdapterManager.tsx+++ b/ui/src/pages/AdapterManager.tsx@@ -93,40 +93,40 @@ function AdapterRow({</p></div><div className="flex items-center gap-2 shrink-0">- <Button- variant="outline"- size="icon-sm"- className="h-8 w-8"- title={adapter.disabled ? "Show in agent menus" : "Hide from agent menus"}- disabled={isToggling}- onClick={() => onToggle(adapter.type, !adapter.disabled)}- >- <Power className={cn("h-4 w-4", !adapter.disabled ? "text-green-600" : "text-muted-foreground")} />- </Button>- {onReload && (+ {onReinstall && (<Buttonvariant="outline"size="icon-sm"className="h-8 w-8"- title="Reload adapter (hot-swap)"- disabled={isReloading}- onClick={() => onReload(adapter.type)}+ title="Reinstall adapter (pull latest from npm)"+ disabled={isReinstalling}+ onClick={() => onReinstall(adapter.type)}>- <RefreshCw className={cn("h-4 w-4", isReloading && "animate-spin")} />+ <Download className={cn("h-4 w-4", isReinstalling && "animate-bounce")} /></Button>)}- {onReinstall && (+ {onReload && (<Buttonvariant="outline"size="icon-sm"className="h-8 w-8"- title="Reinstall adapter (pull latest from npm)"- disabled={isReinstalling}- onClick={() => onReinstall(adapter.type)}+ title="Reload adapter (hot-swap)"+ disabled={isReloading}+ onClick={() => onReload(adapter.type)}>- <Download className={cn("h-4 w-4", isReinstalling && "animate-bounce")} />+ <RefreshCw className={cn("h-4 w-4", isReloading && "animate-spin")} /></Button>)}+ <Button+ variant="outline"+ size="icon-sm"+ className="h-8 w-8"+ title={adapter.disabled ? "Show in agent menus" : "Hide from agent menus"}+ disabled={isToggling}+ onClick={() => onToggle(adapter.type, !adapter.disabled)}+ >+ <Power className={cn("h-4 w-4", !adapter.disabled ? "text-green-600" : "text-muted-foreground")} />+ </Button>{canRemove && (<Buttonvariant="outline"