mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(core): hide onboarding until the ai features are stable (#12198)
> CLOSE AI-114 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Temporarily disabled the AI onboarding feature in workspace detail and layout pages. - **Chores** - Added placeholders indicating the suspension of the AI onboarding feature pending future improvements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -5,7 +5,7 @@ import { AIProvider } from '@affine/core/blocksuite/ai';
|
||||
import type { AffineEditorContainer } from '@affine/core/blocksuite/block-suite-editor';
|
||||
import { EditorOutlineViewer } from '@affine/core/blocksuite/outline-viewer';
|
||||
import { AffineErrorBoundary } from '@affine/core/components/affine/affine-error-boundary';
|
||||
import { PageAIOnboarding } from '@affine/core/components/affine/ai-onboarding';
|
||||
// import { PageAIOnboarding } from '@affine/core/components/affine/ai-onboarding';
|
||||
import { GlobalPageHistoryModal } from '@affine/core/components/affine/page-history-modal';
|
||||
import { useGuard } from '@affine/core/components/guard';
|
||||
import { useAppSettingHelper } from '@affine/core/components/hooks/affine/use-app-setting-helper';
|
||||
@@ -361,7 +361,7 @@ const DetailPageImpl = memo(function DetailPageImpl() {
|
||||
</ViewSidebarTab>
|
||||
|
||||
<GlobalPageHistoryModal />
|
||||
<PageAIOnboarding />
|
||||
{/* FIXME: wait for better ai, <PageAIOnboarding /> */}
|
||||
</FrameworkScope>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { uniReactRoot } from '@affine/component';
|
||||
import { WorkspaceAIOnboarding } from '@affine/core/components/affine/ai-onboarding';
|
||||
// import { WorkspaceAIOnboarding } from '@affine/core/components/affine/ai-onboarding';
|
||||
import { AiLoginRequiredModal } from '@affine/core/components/affine/auth/ai-login-required';
|
||||
import {
|
||||
CloudQuotaModal,
|
||||
@@ -43,7 +43,7 @@ export const WorkspaceLayout = function WorkspaceLayout({
|
||||
|
||||
<WorkspaceLayoutInner>{children}</WorkspaceLayoutInner>
|
||||
{/* should show after workspace loaded */}
|
||||
<WorkspaceAIOnboarding />
|
||||
{/* FIXME: wait for better ai, <WorkspaceAIOnboarding /> */}
|
||||
<AIIsland />
|
||||
<uniReactRoot.Root />
|
||||
</SWRConfigProvider>
|
||||
|
||||
Reference in New Issue
Block a user