feat(renderer): rewrite providers UI on pi-mono catalog shape
Onboarding ProvidersStep now reads the 26-entry CONNECTOR_CATALOG and renders featured connectors (claude-pro, openai-codex, anthropic, openai, amazon-bedrock) up front with a collapsible advanced list for the remaining 21. Each auth kind gets a dedicated card component: OAuth button flow, inline API-key form, and a cloud deep-link to Settings. Delete legacy Claude/Codex/Gemini hardcoded cards and the compatible-API slot rotation. Swap ModelManagement Settings panel for the new ProvidersPanel driven by credentialsList IPC.
This commit is contained in:
1 parent
6a25379995
commit
7fdd3c16bf
17 files changed
+692
-1422
No files matched your search
@@ -4,11 +4,12 @@ import { Dashboard } from "../../components/dashboard";
|
||||
import { TwoPaneLayout } from "../../components/TwoPaneLayout";
|
||||
import {
|
||||
SettingsPane,
|
||||
ModelManagement,
|
||||
WorkspaceCreator,
|
||||
WorkspaceInspector,
|
||||
WorkspaceList,
|
||||
} from "../../components/execution";
|
||||
import { ProvidersPanel } from "../../components/settings/providers";
|
||||
import { OAuthPromptDialog } from "../../components/settings/dialogs/OAuthPromptDialog";
|
||||
import { SocialAccountsPanel } from "../../components/social";
|
||||
import { AutomationPanel } from "../../components/automation";
|
||||
import { CommunicationHub } from "../../components/communication";
|
||||
@@ -272,9 +273,10 @@ export function OperationsSections({ section }: OperationsSectionsProps) {
|
||||
<Panel title={locale === "zh" ? "配置" : "Profile and release"}>
|
||||
<SettingsPane snapshot={snapshot} secrets={companySecrets} companyId={currentCompany.id} onSaved={refresh} />
|
||||
</Panel>
|
||||
<Panel title={locale === "zh" ? "模型管理" : "Model Management"}>
|
||||
<ModelManagement connectors={snapshot.connectors} locale={locale} onSaved={refresh} />
|
||||
<Panel title={locale === "zh" ? "Providers" : "Providers"}>
|
||||
<ProvidersPanel />
|
||||
</Panel>
|
||||
<OAuthPromptDialog />
|
||||
</div>
|
||||
) : null}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user