Skip to content

Commit 3fcf6ca

Browse files
committed
feat(clients): Phase 2 — unified Cursor/Generic tabs in Register client modal
Autonomous decisions: - useTranslation for new tab/comparison copy only — reuses existing cursorBridge.* keys where they fit; leaves pre-existing hardcoded Generic strings untouched to keep diff smaller - Segmented button-group tabs — matches modal rounded-xl/token styling without adding a new tab primitive - HTML table in chevron expander — comparison content from planning doc rendered inline above submit row - Shared machine state + one create-new sub-form — both tabs use the same SearchableSelect handlers and NEW_MACHINE_OPTION flow - Cursor regenerate calls mintClient() again — same registerApiKeyClient path as CursorBridgeSection until Phase 3 rotate choice Signed-off-by: crimsonsunset <jsangio1@gmail.com>
1 parent 82093ae commit 3fcf6ca

3 files changed

Lines changed: 440 additions & 134 deletions

File tree

apps/desktop/src/features/clients/ClientsPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ export default function ClientsPage() {
456456

457457
{showRegister && (
458458
<RegisterApiKeyClientModal
459+
gatewayUrl={gatewayStatus.url || 'http://localhost:45818'}
459460
onClose={() => setShowRegister(false)}
460461
onRegistered={(client) => {
461462
success('Client registered', `"${client.clientName}" can authenticate with its API key.`);

0 commit comments

Comments
 (0)