删除对话空状态提示
移除工作台会话区域中的引导 hint
This commit is contained in:
+1
-24
@@ -1,10 +1,4 @@
|
||||
import {
|
||||
ArrowUp,
|
||||
AtSign,
|
||||
Loader2,
|
||||
MessageSquareDashed,
|
||||
Settings,
|
||||
} from 'lucide-react';
|
||||
import { ArrowUp, AtSign, Loader2, Settings } from 'lucide-react';
|
||||
import type {
|
||||
ComponentProps,
|
||||
FormEventHandler,
|
||||
@@ -407,16 +401,6 @@ export function ProjectSupervisorView({
|
||||
);
|
||||
};
|
||||
|
||||
const emptyState =
|
||||
directCodex &&
|
||||
visibleMessages.length === 0 &&
|
||||
!transientReply &&
|
||||
!directProcessDetail &&
|
||||
!runtimePanelProps.controlBusy &&
|
||||
!pendingCommand &&
|
||||
!pendingConfirmation &&
|
||||
!designView?.session.pendingApproval &&
|
||||
!designView?.session.pendingClarification;
|
||||
const submitButton = (
|
||||
<button
|
||||
type="submit"
|
||||
@@ -497,13 +481,6 @@ export function ProjectSupervisorView({
|
||||
aria-label={directCodex ? '陶泥儿消息' : '项目总控消息'}
|
||||
onScroll={onScroll}
|
||||
>
|
||||
{emptyState ? (
|
||||
<div className="project-supervisor-empty-state">
|
||||
<MessageSquareDashed size={30} aria-hidden="true" />
|
||||
<strong>你想让陶泥儿做什么游戏?</strong>
|
||||
<small>告诉陶泥儿接下来要做什么,或输入 @ 选择资源</small>
|
||||
</div>
|
||||
) : null}
|
||||
{hiddenConversationCount > 0 ? (
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user