From 96d9d5ebfa981a487f91e6ab49b79dd0d4a599f0 Mon Sep 17 00:00:00 2001 From: caigee-cmd <210803857+caigee-cmd@users.noreply.github.com> Date: Wed, 28 Oct 2026 09:51:13 +0800 Subject: [PATCH] feat(console): CaiAI soft link under Add Account provider tiles Reuse CaiaiSoftLink at the bottom of the method-step tile wall (homepage, centered/subtle), matching empty-state softlink architecture. Sync embedded static. --- changelog/unreleased/add-account-caiai-softlink.md | 7 +++++++ frontend/src/components/AddAccountModal.tsx | 4 ++++ .../{AreaChart-ChFRct4r.js => AreaChart-DoWrONhB.js} | 2 +- ...rtesianChart-jdBCV0UD.js => CartesianChart-CP2GduKI.js} | 2 +- .../{CostChart-D6L7weKb.js => CostChart-b67Jamq9.js} | 2 +- ...LiveSparkline-C3onCxRL.js => LiveSparkline-DwjZJVEu.js} | 2 +- .../{TrafficChart-B2WY8y6-.js => TrafficChart-lYlWJ6eA.js} | 2 +- .../static/assets/{XAxis-CMkL8ZR3.js => XAxis-BoOI_pit.js} | 2 +- .../static/assets/{index-B5EKnPuA.js => index-BfuWrj9-.js} | 6 +++--- internal/webui/static/index.html | 2 +- 10 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 changelog/unreleased/add-account-caiai-softlink.md rename internal/webui/static/assets/{AreaChart-ChFRct4r.js => AreaChart-DoWrONhB.js} (60%) rename internal/webui/static/assets/{CartesianChart-jdBCV0UD.js => CartesianChart-CP2GduKI.js} (99%) rename internal/webui/static/assets/{CostChart-D6L7weKb.js => CostChart-b67Jamq9.js} (93%) rename internal/webui/static/assets/{LiveSparkline-C3onCxRL.js => LiveSparkline-DwjZJVEu.js} (73%) rename internal/webui/static/assets/{TrafficChart-B2WY8y6-.js => TrafficChart-lYlWJ6eA.js} (98%) rename internal/webui/static/assets/{XAxis-CMkL8ZR3.js => XAxis-BoOI_pit.js} (99%) rename internal/webui/static/assets/{index-B5EKnPuA.js => index-BfuWrj9-.js} (92%) diff --git a/changelog/unreleased/add-account-caiai-softlink.md b/changelog/unreleased/add-account-caiai-softlink.md new file mode 100644 index 00000000..ff73793b --- /dev/null +++ b/changelog/unreleased/add-account-caiai-softlink.md @@ -0,0 +1,7 @@ +### English + +- Add Account picker shows a small CaiAI hosted soft link under the provider tiles (homepage, not a fake provider card). + +### 中文 + +- 添加账号选择弹窗在提供商磁贴下方增加小号 CaiAI 托管软链(首页,非假提供商卡片)。 diff --git a/frontend/src/components/AddAccountModal.tsx b/frontend/src/components/AddAccountModal.tsx index f563d2ed..185f1c86 100644 --- a/frontend/src/components/AddAccountModal.tsx +++ b/frontend/src/components/AddAccountModal.tsx @@ -5,6 +5,7 @@ import { Button, Input, Modal, NumberField, TextArea } from '@heroui/react' import { ArrowSquareOut, CaretLeft, CaretRight, CheckCircle, FileCode, Key, ShieldCheck, X } from '@phosphor-icons/react' import { copyText } from '@/lib/clipboard' import { BrandMark } from '@/components/BrandMark' +import { CaiaiSoftLink } from '@/components/CaiaiSoftLink' import { ProviderMark } from '@/components/ProviderMark' import { CompactSwitch } from '@/components/ui/CompactSwitch' import { FilterToggle } from '@/components/ui/FilterToggle' @@ -582,6 +583,9 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) { /> )} +