feat(coding-agent): add searchable auth provider login flow (#3572)

This commit is contained in:
Armin Ronacher
2026-04-23 13:42:09 +02:00
committed by GitHub
parent de8c947556
commit 010e9acfe9
5 changed files with 360 additions and 105 deletions

View File

@@ -30,12 +30,13 @@ export class LoginDialogComponent extends Container implements Focusable {
tui: TUI,
providerId: string,
private onComplete: (success: boolean, message?: string) => void,
providerNameOverride?: string,
) {
super();
this.tui = tui;
const providerInfo = getOAuthProviders().find((p) => p.id === providerId);
const providerName = providerInfo?.name || providerId;
const providerName = providerNameOverride || providerInfo?.name || providerId;
// Top border
this.addChild(new DynamicBorder());