chore: migrate fe 250722

This commit is contained in:
tecvan
2025-07-22 13:35:49 +08:00
parent b46a0c6c12
commit 60d42100f0
330 changed files with 9761 additions and 19074 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
// @file 社区版暂不支持商店渠道绑定,用于未来拓展
// @file 开源版暂不支持商店渠道绑定,用于未来拓展
import { type MouseEventHandler } from 'react';
import { useShallow } from 'zustand/react/shallow';

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
// @file 社区版暂不支持模版渠道绑定,用于未来拓展
// @file 开源版暂不支持模版渠道绑定,用于未来拓展
import { useParams } from 'react-router-dom';
import { type MouseEventHandler, useEffect, useRef, useState } from 'react';

View File

@@ -86,7 +86,7 @@ export const TemplateConfigForm = forwardRef<
// eslint-disable-next-line @coze-arch/max-line-per-function
>(({ record, userInfo }, ref) => {
const [FLAGS] = useFlags();
// 社区版暂不支持该功能
// 开源版暂不支持该功能
const customRequest = FLAGS['bot.studio.project_publish_imagex']
? uploadCustomRequestImageX
: uploadCustomRequest;

View File

@@ -155,7 +155,7 @@ export function ConnectorAction(props: ConnectorActionProps) {
onClick={stopEventPropagation}
/>
);
// 社区版暂不支持商店渠道绑定,用于未来拓展
// 开源版暂不支持商店渠道绑定,用于未来拓展
case ConnectorBindType.StoreBind:
return (
<StoreBind
@@ -164,7 +164,7 @@ export function ConnectorAction(props: ConnectorActionProps) {
onClick={stopEventPropagation}
/>
);
// 社区版暂不支持模板渠道绑定,用于未来拓展
// 开源版暂不支持模板渠道绑定,用于未来拓展
// bind_type=9 用作扣子第一方渠道的标识,需要按照渠道 ID 展示绑定方式
// TODO 后端更新 ConnectorBindType 类型定义
case ConnectorBindType.TemplateBind: {

View File

@@ -172,7 +172,7 @@ export function ConnectorCard({
connectorPublishConfig,
connectorConfigMap: connectors,
});
// 社区版暂不支持社交平台渠道,用于未来拓展。
// 开源版暂不支持社交平台渠道,用于未来拓展。
// 社交渠道未选择“处理消息的对话流”时,需要将整个卡片展示为禁用态
const cardDisabled = disabledConfig?.reason === DisabledReason.SocialPlatform;
@@ -334,7 +334,7 @@ export function ConnectorCard({
onClick={stopEventPropagation}
/>
) : null}
{/* 社区版暂不支持MCP服务渠道用于未来拓展 */}
{/* 开源版暂不支持MCP服务渠道用于未来拓展 */}
{connectorInfo.connector_classification ===
ConnectorClassification.CozeSpaceExtensionLibrary &&
connectorInfo.bind_type === ConnectorBindType.TemplateBind && (