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

@@ -134,7 +134,7 @@ export const DynamicChatList = ({
!!canEdit &&
!!list?.length &&
!inBatch &&
// 社区版暂不支持该功能
// 开源版暂不支持该功能
FLAGS['bot.automation.conversation_batch_delete'];
const exitBatch = () => {
setInBatch(false);

View File

@@ -233,7 +233,7 @@ export const useWorkflowResource = (): UseWorkflowResourceReturn => {
subType: WorkflowMode.Workflow,
tooltip: <WorkflowTooltip flowMode={WorkflowMode.Workflow} />,
},
// 社区版本暂不支持对话流
// 开源版本暂不支持对话流
IS_OPEN_SOURCE
? null
: {

View File

@@ -99,7 +99,7 @@ export const GlobalHandler = ({
useWsListener((props: WsMessageProps) => {
if (
// 社区版暂不支持该功能
// 开源版暂不支持该功能
!FLAGS['bot.automation.project_multi_tab'] ||
!leftPanelResourceType.includes(props.bizType)
) {

View File

@@ -65,7 +65,7 @@ const PrimarySidebarCore = ({
>
<div className={styles.title}>
{I18n.t('project_resource_sidebar_title')}
{/* 社区版暂不支持该功能 */}
{/* 开源版暂不支持该功能 */}
{FLAGS['bot.automation.dependency_tree'] ? (
<>
<Button

View File

@@ -14,5 +14,5 @@
* limitations under the License.
*/
// @file 社区版暂时不提供历史记录功能,本文件中导出的方法用于未来拓展使用。
// @file 开源版暂时不提供历史记录功能,本文件中导出的方法用于未来拓展使用。
export const LeftContentButtons = () => null;

View File

@@ -14,5 +14,5 @@
* limitations under the License.
*/
// @file 社区版暂时不提供用户界面功能,本文件中导出的方法用于未来拓展使用。
// @file 开源版暂时不提供用户界面功能,本文件中导出的方法用于未来拓展使用。
export const ModeTab = () => null;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
// @file 社区版暂时不提供历史记录功能,本文件中导出的方法用于未来拓展使用。
// @file 开源版暂时不提供历史记录功能,本文件中导出的方法用于未来拓展使用。
import React from 'react';
export const SecondarySidebar = () => <div />;

View File

@@ -14,5 +14,5 @@
* limitations under the License.
*/
// @file 社区版暂时不提供用户界面功能,本文件中导出的方法用于未来拓展使用。
// @file 开源版暂时不提供用户界面功能,本文件中导出的方法用于未来拓展使用。
export const UIBuilder = (_props: any) => null;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { injectable, decorate, unmanaged } from 'inversify';
import {
Emitter,

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {
Emitter,
type Event as CustomEvent,

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { type ElementInlineStyle } from '../../lumino/virtualdom';
import { type RenderData, type ScrollableRenderData } from './tab-renderer';