Hide workspace 岗位会商 nav entry and enable AI writing notebook space entries.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1ffead7ee2
commit
33dea724a1
3 files changed
+4
-4
No files matched your search
@@ -184,7 +184,7 @@ export function WorkspaceNavChatList({
|
|||||||
</Link>
|
</Link>
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</SidebarMenuItem>
|
</SidebarMenuItem>
|
||||||
<SidebarMenuItem>
|
{/* <SidebarMenuItem>
|
||||||
<SidebarMenuButton
|
<SidebarMenuButton
|
||||||
isActive={pathname.startsWith("/page/workspace/roundtable/position")}
|
isActive={pathname.startsWith("/page/workspace/roundtable/position")}
|
||||||
asChild
|
asChild
|
||||||
@@ -195,7 +195,7 @@ export function WorkspaceNavChatList({
|
|||||||
<span>岗位会商</span>
|
<span>岗位会商</span>
|
||||||
</Link>
|
</Link>
|
||||||
</SidebarMenuButton>
|
</SidebarMenuButton>
|
||||||
</SidebarMenuItem>
|
</SidebarMenuItem> */}
|
||||||
<SidebarMenuItem>
|
<SidebarMenuItem>
|
||||||
<SidebarMenuButton
|
<SidebarMenuButton
|
||||||
isActive={pathname === "/page/workspace/scheduled/tasks"}
|
isActive={pathname === "/page/workspace/scheduled/tasks"}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const WRITING_STATUS_PILL: Record<string, { label: string; className: string; sp
|
|||||||
error: { label: "出错", className: "text-rose-500" },
|
error: { label: "出错", className: "text-rose-500" },
|
||||||
};
|
};
|
||||||
|
|
||||||
const SHOW_NOTEBOOK_SPACE_ENTRIES = false;
|
const SHOW_NOTEBOOK_SPACE_ENTRIES = true;
|
||||||
|
|
||||||
/** 单条历史记录项 —— 样式参考多智能体会商的 HistoryDropdown 列表项(圆角卡片 + 状态药丸 + 操作按钮)。 */
|
/** 单条历史记录项 —— 样式参考多智能体会商的 HistoryDropdown 列表项(圆角卡片 + 状态药丸 + 操作按钮)。 */
|
||||||
function WritingHistoryItem({
|
function WritingHistoryItem({
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ const DRAFT_ID = 'aw-draft';
|
|||||||
const AI_WRITING_AGENT_MODULE_KEY = 'ai-writing';
|
const AI_WRITING_AGENT_MODULE_KEY = 'ai-writing';
|
||||||
const AI_WRITING_AGENT_MODULE_TITLE = 'AI 写作智能体';
|
const AI_WRITING_AGENT_MODULE_TITLE = 'AI 写作智能体';
|
||||||
const AI_WRITING_LAST_AGENT_KEY = `agent-module:${AI_WRITING_AGENT_MODULE_KEY}:last-agent`;
|
const AI_WRITING_LAST_AGENT_KEY = `agent-module:${AI_WRITING_AGENT_MODULE_KEY}:last-agent`;
|
||||||
const SHOW_NOTEBOOK_SPACE_ENTRIES = false;
|
const SHOW_NOTEBOOK_SPACE_ENTRIES = true;
|
||||||
|
|
||||||
// Match the original canvas page proportions (chat=35, artifact=65)
|
// Match the original canvas page proportions (chat=35, artifact=65)
|
||||||
const DEFAULT_LAYOUT = { [WRITING_ID]: 35, [DRAFT_ID]: 65 };
|
const DEFAULT_LAYOUT = { [WRITING_ID]: 35, [DRAFT_ID]: 65 };
|
||||||
|
|||||||
Reference in new issue
Block a user