diff --git a/web/src/components/PageTabs/index.module.css b/web/src/components/PageTabs/index.module.css index d95e4116..5e071b38 100644 --- a/web/src/components/PageTabs/index.module.css +++ b/web/src/components/PageTabs/index.module.css @@ -1,5 +1,4 @@ .page-tabs:global(.ant-segmented) { - background-color: #F6F6F6; padding: 4px; } .page-tabs:global(.ant-segmented .ant-segmented-item-label) { diff --git a/web/src/styles/antdThemeConfig.ts b/web/src/styles/antdThemeConfig.ts index bf385668..0d9786b4 100644 --- a/web/src/styles/antdThemeConfig.ts +++ b/web/src/styles/antdThemeConfig.ts @@ -146,6 +146,9 @@ export const lightTheme: ThemeConfig = { }, Progress: { remainingColor: '#EBEBEB', + }, + Segmented: { + trackBg: '#E1E2E7', } } }; \ No newline at end of file diff --git a/web/src/views/ApplicationConfig/ReleasePage.tsx b/web/src/views/ApplicationConfig/ReleasePage.tsx index 89462c73..e70cdbfe 100644 --- a/web/src/views/ApplicationConfig/ReleasePage.tsx +++ b/web/src/views/ApplicationConfig/ReleasePage.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:29:41 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-19 21:10:38 + * @Last Modified time: 2026-03-24 16:43:10 */ import { type FC, useState, useEffect, useRef } from 'react'; import { useTranslation } from 'react-i18next'; @@ -163,20 +163,19 @@ const ReleasePage: FC<{data: Application; refresh: () => void}> = ({data, refres title={t('application.changeLog')} headerType="borderless" > - {selectedVersion && ( {formatDateTime(selectedVersion.published_at, 'YYYY-MM-DD HH:mm:ss')}} extra={{selectedVersion.publisher_name}} bodyClassName="rb:pt-0! rb:pb-3! rb:px-4!" + variant="outlined" >
)} -
} diff --git a/web/src/views/ApplicationConfig/components/Skill/SkillListModal.tsx b/web/src/views/ApplicationConfig/components/Skill/SkillListModal.tsx index 667e175b..32ba9dae 100644 --- a/web/src/views/ApplicationConfig/components/Skill/SkillListModal.tsx +++ b/web/src/views/ApplicationConfig/components/Skill/SkillListModal.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-05 10:45:08 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-04 10:41:35 + * @Last Modified time: 2026-03-24 16:59:57 */ import { forwardRef, useEffect, useImperativeHandle, useState } from 'react'; import { List, Flex, Tooltip, Form } from 'antd'; @@ -185,19 +185,19 @@ const SkillListModal = forwardRef(({ "rb:bg-[rgba(21,94,239,0.06)] rb:border-[#155EEF] rb:text-[#155EEF]": selectedIds.includes(item.id), "rb:border-[#DFE4ED] rb:text-[#212332]": !selectedIds.includes(item.id), })} onClick={() => handleSelect(item)}> - - {/* Skill avatar showing first letter of name */} - - {item.name[0]} - - {/* Skill name and description */} -
-
{item.name}
- -
{item.description}
-
-
-
+ {/* Skill name and description */} +
+ +
+ {item.name} +
+
+ + {/* Skill description with tooltip */} + +
{item.description}
+
+
)} diff --git a/web/src/views/MemberManagement/index.tsx b/web/src/views/MemberManagement/index.tsx index 1435cea6..2f103c48 100644 --- a/web/src/views/MemberManagement/index.tsx +++ b/web/src/views/MemberManagement/index.tsx @@ -1,8 +1,8 @@ /* * @Author: ZhaoYing * @Date: 2026-02-03 16:42:12 - * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-02-03 16:42:12 + * @Last Modified by: ZhaoYing + * @Last Modified time: 2026-03-24 16:49:45 */ /** * Member Management Page @@ -10,7 +10,7 @@ */ import React, { useRef } from 'react'; -import { App, Button, Space } from 'antd'; +import { App, Button, Space, Flex } from 'antd'; import { useTranslation } from 'react-i18next'; import type { ColumnsType } from 'antd/es/table'; import type { AnyObject } from 'antd/es/_util/type'; @@ -106,12 +106,12 @@ const MemberManagement: React.FC = () => { ]; return ( - <> -
+
+ -
+ { ref={memberFormRef} refreshTable={refreshTable} /> - + ); }; diff --git a/web/src/views/ModelManagement/List.tsx b/web/src/views/ModelManagement/List.tsx index 345e8546..aac86059 100644 --- a/web/src/views/ModelManagement/List.tsx +++ b/web/src/views/ModelManagement/List.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:50:10 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-20 18:51:27 + * @Last Modified time: 2026-03-24 16:52:48 */ /** * Model List View @@ -11,7 +11,7 @@ */ import { useRef, useState, useEffect, forwardRef, useImperativeHandle } from 'react'; -import { Button, Flex, Row, Col, Tooltip, Space } from 'antd' +import { Button, Flex, Row, Col, Tooltip } from 'antd' import { useTranslation } from 'react-i18next'; import type { ProviderModelItem, KeyConfigModalRef, ModelListDetailRef, ModelListItem, BaseRef } from './types' @@ -75,9 +75,7 @@ const ModelList = forwardRef
{t(`modelNew.${item.provider}`)}
- - {item.tags.map(tag => {t(`modelNew.${tag}`)})} - + {item.tags.map(tag => {t(`modelNew.${tag}`)})} } isNeedTooltip={false} footer={ diff --git a/web/src/views/ModelManagement/components/ModelListDetail.tsx b/web/src/views/ModelManagement/components/ModelListDetail.tsx index 8d84ce4d..fba9b333 100644 --- a/web/src/views/ModelManagement/components/ModelListDetail.tsx +++ b/web/src/views/ModelManagement/components/ModelListDetail.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-02-03 16:49:45 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-06 12:26:12 + * @Last Modified time: 2026-03-24 16:55:30 */ /** * Model List Detail Drawer @@ -146,16 +146,19 @@ const ModelListDetail = forwardRef(({ } extra={ handleChange(item)} />} bodyClassName="rb:relative rb:pb-[64px]! rb:h-[calc(100%-64px)]!" + variant="outlined" >
{item.description}
-
- {!item.model_id && } - - + {!item.model_id && + + + + } + diff --git a/web/src/views/SpaceConfig/index.tsx b/web/src/views/SpaceConfig/index.tsx index 268fd07e..86fef42a 100644 --- a/web/src/views/SpaceConfig/index.tsx +++ b/web/src/views/SpaceConfig/index.tsx @@ -1,8 +1,8 @@ /* * @Author: ZhaoYing * @Date: 2026-02-03 17:48:03 - * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-02-03 17:48:03 + * @Last Modified by: ZhaoYing + * @Last Modified time: 2026-03-24 17:01:59 */ /** * Space Configuration Page @@ -63,7 +63,7 @@ const SpaceConfig: FC = () => { } return ( -
+
{pageLoading ? :