From 4ab57d4145553aaf0aaa4bedb240f68ffc66c713 Mon Sep 17 00:00:00 2001 From: Mikkel Georgsen Date: Tue, 31 Mar 2026 13:25:46 +0200 Subject: [PATCH] feat(06-02): replace Paperclip brand + CEO display strings in UI components MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AgentDetail: 10 strings replaced (Paperclip→VOCAB.appName, CEO→VOCAB.ceo, board approval→owner approval) - RoutineDetail: 8 error messages + select company + secret banner replaced - DesignGuide: 3 strings replaced (Paperclip, Paperclip App, CEO Agent) - agent-config-primitives: 3 tooltip strings replaced - AccountingModelCard, JsonSchemaForm, ProjectProperties, OnboardingWizard: 1 each - openclaw-gateway/config-fields: 2 strings replaced - Added VOCAB import to all files missing it --- .../openclaw-gateway/config-fields.tsx | 5 +++-- ui/src/components/AccountingModelCard.tsx | 3 ++- ui/src/components/JsonSchemaForm.tsx | 3 ++- ui/src/components/OnboardingWizard.tsx | 2 +- ui/src/components/ProjectProperties.tsx | 5 +++-- ui/src/components/agent-config-primitives.tsx | 7 ++++--- ui/src/pages/AgentDetail.tsx | 20 +++++++++---------- ui/src/pages/DesignGuide.tsx | 7 ++++--- ui/src/pages/NewAgent.tsx | 2 +- ui/src/pages/RoutineDetail.tsx | 19 +++++++++--------- 10 files changed, 40 insertions(+), 33 deletions(-) diff --git a/ui/src/adapters/openclaw-gateway/config-fields.tsx b/ui/src/adapters/openclaw-gateway/config-fields.tsx index 19780d94..aef100a1 100644 --- a/ui/src/adapters/openclaw-gateway/config-fields.tsx +++ b/ui/src/adapters/openclaw-gateway/config-fields.tsx @@ -1,4 +1,5 @@ import { useState } from "react"; +import { VOCAB } from "@paperclipai/branding"; import { Eye, EyeOff } from "lucide-react"; import type { AdapterConfigFieldsProps } from "../types"; import { @@ -134,7 +135,7 @@ export function OpenClawGatewayConfigFields({ {!isCreate && ( <> - +
- Always enabled for gateway agents. Paperclip persists a device key during onboarding so pairing approvals + {`Always enabled for gateway agents. ${VOCAB.appName} persists a device key during onboarding so pairing approvals`} remain stable across runs.
diff --git a/ui/src/components/AccountingModelCard.tsx b/ui/src/components/AccountingModelCard.tsx index 98704061..98aca4f5 100644 --- a/ui/src/components/AccountingModelCard.tsx +++ b/ui/src/components/AccountingModelCard.tsx @@ -1,4 +1,5 @@ import { Database, Gauge, ReceiptText } from "lucide-react"; +import { VOCAB } from "@paperclipai/branding"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; const SURFACES = [ @@ -34,7 +35,7 @@ export function AccountingModelCard() { Accounting model - Paperclip now separates request-level inference usage from account-level finance events. + {`${VOCAB.appName} now separates request-level inference usage from account-level finance events.`} That keeps provider reporting honest when the biller is OpenRouter, Cloudflare, Bedrock, or another intermediary. diff --git a/ui/src/components/JsonSchemaForm.tsx b/ui/src/components/JsonSchemaForm.tsx index e185bf4b..ac15f8b2 100644 --- a/ui/src/components/JsonSchemaForm.tsx +++ b/ui/src/components/JsonSchemaForm.tsx @@ -1,4 +1,5 @@ import React, { useCallback, useMemo, useState } from "react"; +import { VOCAB } from "@paperclipai/branding"; import { ChevronDown, ChevronRight, @@ -494,7 +495,7 @@ const SecretField = React.memo(({ label={label} description={ description || - "This secret is stored securely via the Paperclip secret provider." + `This secret is stored securely via the ${VOCAB.appName} secret provider.` } required={isRequired} error={error} diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index fe0d1315..b9dd7851 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -1063,7 +1063,7 @@ export function OnboardingWizard() {

Claude failed while{" "} ANTHROPIC_API_KEY{" "} - is set. You can clear it in this CEO adapter config + is set. You can clear it in this {VOCAB.ceo} adapter config and retry the probe.