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(composio): handle missing app name in connect modal
Steven Enamakelbfc087fe3251
diff --git a/app/src/components/composio/ComposioConnectModal.tsx b/app/src/components/composio/ComposioConnectModal.tsxindex 9877e3806e..1011dc9c74 100644--- a/app/src/components/composio/ComposioConnectModal.tsx+++ b/app/src/components/composio/ComposioConnectModal.tsx@@ -82,9 +82,11 @@ export default function ComposioConnectModal({scopeError,savingScope,connectInFlight,+ cancelInFlight,initiallyConnected,initiallyExpired,handleConnect,+ handleCancelConnect,handleToggleScope,handleDisconnect,} = useComposioConnectFlow({ toolkit, connections, onChanged });@@ -206,10 +208,30 @@ export default function ComposioConnectModal({{t('composio.connect.reopenBrowser')}</Button>)}+ {/* Escape hatch for a handoff that never comes back (the browser tab+ was closed, the approval was declined, the provider errored out).+ Without it the only exit was closing the modal, which left the+ connection PENDING and the tile stuck on "Connecting". */}+ <Button+ variant="tertiary"+ tone="danger"+ size="md"+ disabled={cancelInFlight}+ onClick={() => void handleCancelConnect()}+ className="w-full"+ data-testid="composio-cancel-connect">+ {t('composio.connect.cancelConnection')}+ </Button><p className="text-xs text-content-faint">{t('composio.connect.waitingHint')}</p></>)}+ {phase === 'cancelling' && (+ <p className="text-sm text-content-muted" data-testid="composio-cancelling">+ {t('composio.connect.cancelling')}+ </p>+ )}+{phase === 'expired' && (<><div className="rounded-xl border border-coral-200 bg-coral-50 p-3">