diff --git a/frontend/src/modules/dashboard/components/DashboardChannelTopicModals.tsx b/frontend/src/modules/dashboard/components/DashboardChannelTopicModals.tsx index 8901bb5..3f4669b 100644 --- a/frontend/src/modules/dashboard/components/DashboardChannelTopicModals.tsx +++ b/frontend/src/modules/dashboard/components/DashboardChannelTopicModals.tsx @@ -386,7 +386,6 @@ export function ChannelConfigModal({ open={open} onClose={onClose} title={labels.wizardSectionTitle} - subtitle={labels.wizardSectionDesc} size="extend" closeLabel={labels.close} bodyClassName="ops-config-drawer-body" @@ -418,9 +417,6 @@ export function ChannelConfigModal({ )} >
-
- {labels.wizardSectionDesc} -
{labels.globalDeliveryTitle}
{labels.globalDeliveryDesc}
@@ -702,7 +698,6 @@ export function TopicConfigModal({ open={open} onClose={onClose} title={labels.topicPanel} - subtitle={labels.topicPanelDesc} size="extend" closeLabel={labels.close} bodyClassName="ops-config-drawer-body" @@ -731,9 +726,6 @@ export function TopicConfigModal({ )} >
-
- {labels.topicPanelDesc} -
{topics.length === 0 ? (
{labels.topicEmpty}
diff --git a/frontend/src/modules/dashboard/components/DashboardConfigModals.css b/frontend/src/modules/dashboard/components/DashboardConfigModals.css index 24ca5f7..3db86de 100644 --- a/frontend/src/modules/dashboard/components/DashboardConfigModals.css +++ b/frontend/src/modules/dashboard/components/DashboardConfigModals.css @@ -11,3 +11,14 @@ color: var(--subtitle); font-weight: 700; } + +.ops-model-test-btn { + margin-top: 16px; + display: inline-flex; + align-items: center; + gap: 8px; +} + +.ops-model-test-result { + margin-top: 12px; +} diff --git a/frontend/src/modules/dashboard/components/DashboardConfigModals.tsx b/frontend/src/modules/dashboard/components/DashboardConfigModals.tsx index ba75a14..82a7358 100644 --- a/frontend/src/modules/dashboard/components/DashboardConfigModals.tsx +++ b/frontend/src/modules/dashboard/components/DashboardConfigModals.tsx @@ -1,4 +1,4 @@ -import { RefreshCw, X } from 'lucide-react'; +import { PlugZap, RefreshCw, X } from 'lucide-react'; import { DrawerShell } from '../../../components/DrawerShell'; import { LucentSelect } from '../../../components/lucent/LucentSelect'; @@ -370,10 +370,11 @@ export function ParamConfigModal({ onEditFormChange({ api_base: e.target.value })} placeholder="API Base URL" /> - - {providerTestResult ?
{providerTestResult}
: null} + {providerTestResult ?
{providerTestResult}
: null}
diff --git a/frontend/src/modules/dashboard/components/DashboardManagementModals.css b/frontend/src/modules/dashboard/components/DashboardManagementModals.css index 19ad24e..19f3d2c 100644 --- a/frontend/src/modules/dashboard/components/DashboardManagementModals.css +++ b/frontend/src/modules/dashboard/components/DashboardManagementModals.css @@ -14,6 +14,7 @@ min-height: clamp(480px, 68vh, 760px); display: flex; flex-direction: column; + gap: 14px; } .ops-config-drawer-body { @@ -39,6 +40,14 @@ padding-right: 4px; } +.ops-config-list-scroll > .wizard-channel-card { + margin: 0 0 14px; +} + +.ops-config-list-scroll > .wizard-channel-card:last-child { + margin-bottom: 0; +} + .ops-config-card-header { display: flex; align-items: flex-start; @@ -220,6 +229,13 @@ display: inline-flex; } +.ops-section-header { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 12px; +} + .ops-skill-add-bar { display: flex; align-items: center; diff --git a/frontend/src/modules/dashboard/components/DashboardSkillsMcpModals.tsx b/frontend/src/modules/dashboard/components/DashboardSkillsMcpModals.tsx index 911d8c4..b5d07e6 100644 --- a/frontend/src/modules/dashboard/components/DashboardSkillsMcpModals.tsx +++ b/frontend/src/modules/dashboard/components/DashboardSkillsMcpModals.tsx @@ -103,13 +103,8 @@ export function SkillsModal({ >
-
-
-
{isZh ? '已安装技能' : 'Installed Skills'}
-
- {isZh ? '这里展示当前 Bot 工作区中的技能。' : 'These skills are already present in the bot workspace.'} -
-
+
+
{isZh ? '已安装技能' : 'Installed Skills'}
{isZh ? `${botSkills.length} 个已安装` : `${botSkills.length} installed`}
@@ -196,7 +191,6 @@ export function McpConfigModal({ open={open} onClose={onClose} title={labels.mcpPanel} - subtitle={labels.mcpPanelDesc} size="extend" closeLabel={labels.close} bodyClassName="ops-config-drawer-body" @@ -213,7 +207,6 @@ export function McpConfigModal({ )} >
-
{labels.mcpPanelDesc}
{mcpServers.length === 0 ? (
{labels.mcpEmpty}
diff --git a/frontend/src/modules/dashboard/components/DashboardSupportModals.tsx b/frontend/src/modules/dashboard/components/DashboardSupportModals.tsx index 2f32817..f768652 100644 --- a/frontend/src/modules/dashboard/components/DashboardSupportModals.tsx +++ b/frontend/src/modules/dashboard/components/DashboardSupportModals.tsx @@ -109,7 +109,6 @@ export function EnvParamsModal({ open={open} onClose={onClose} title={labels.envParams} - subtitle={labels.envParamsDesc} size="standard" bodyClassName="ops-config-drawer-body" closeLabel={labels.close} @@ -126,9 +125,6 @@ export function EnvParamsModal({ )} >
-
- {labels.envParamsDesc} -
{envEntries.length === 0 ? (
{labels.noEnvParams}