{t('workbuddyCheckinSettingsHint')}
From 20345e6e8a77e26f5722b26684e15b91e271dcb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E5=8F=8A?= <522caiji@gmail.com> Date: Tue, 15 Sep 2026 20:42:09 +0800 Subject: [PATCH 1/2] feat(console): FormRow refactor for account modals and key form updates --- frontend/src/components/AddAccountModal.tsx | 42 +++++------ .../components/account/EditAccountModal.tsx | 36 ++++------ frontend/src/components/ui/FormRow.tsx | 31 ++++++++ frontend/src/index.css | 26 +++++++ frontend/src/pages/KeysPage.tsx | 8 +-- frontend/src/pages/LoginPage.tsx | 2 +- frontend/src/pages/SystemPage.tsx | 70 ++++++++++--------- ...t-DYa7pgrG.js => TrafficChart-DEHCXG9I.js} | 2 +- ...{index-yon9pbm_.css => index-Bf9z-lSK.css} | 2 +- .../{index-CowGWc5Y.js => index-CaaIIvJh.js} | 8 +-- internal/webui/static/index.html | 4 +- 11 files changed, 141 insertions(+), 90 deletions(-) create mode 100644 frontend/src/components/ui/FormRow.tsx rename internal/webui/static/assets/{TrafficChart-DYa7pgrG.js => TrafficChart-DEHCXG9I.js} (99%) rename internal/webui/static/assets/{index-yon9pbm_.css => index-Bf9z-lSK.css} (94%) rename internal/webui/static/assets/{index-CowGWc5Y.js => index-CaaIIvJh.js} (93%) diff --git a/frontend/src/components/AddAccountModal.tsx b/frontend/src/components/AddAccountModal.tsx index 1ec80fd..846b08c 100644 --- a/frontend/src/components/AddAccountModal.tsx +++ b/frontend/src/components/AddAccountModal.tsx @@ -5,6 +5,7 @@ import { BrandMark } from '@/components/BrandMark' import { ProviderMark } from '@/components/ProviderMark' import { CompactSwitch } from '@/components/ui/CompactSwitch' import { FilterToggle } from '@/components/ui/FilterToggle' +import { FormRow } from '@/components/ui/FormRow' import { OptionTiles } from '@/components/ui/OptionTiles' import { useI18n } from '@/hooks/useI18n' import { @@ -514,9 +515,8 @@ export function AddAccountModal({ isOpen, onClose, onAdded }: Props) { {typesReady && hint ?
{hint}
: null} -{isDone ?
{hint}
: null} +{t('workbuddyCheckinSettingsHint')}
{t('routingStrategyHint')}