Skip to content

Commit b84d406

Browse files
committed
refactor(SessionList): 注释掉旧的上下文菜单打开选项
- 注释掉了“Open as Editor”、“Open to the Side”和“Open in new Window”三项菜单 - 保留并新增了基于 JSONL 处理的上下文菜单选项 - 简化了上下文菜单内容,方便后续功能扩展 - 优化了菜单组件的可维护性和可读性
1 parent c229cfb commit b84d406

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vscode-ide-companion/src/webview/components/SessionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export default function SessionList({
399399
<ItemActions className="shrink-0 text-xs text-muted-foreground"></ItemActions>
400400
</Item>
401401
</ContextMenuTrigger>
402-
<ContextMenuContent className="w-64" side="right">
402+
<ContextMenuContent className="w-52" side="right">
403403
{/*<ContextMenuGroup>*/}
404404
{/* <ContextMenuItem onClick={() => handleContextMenuOpen(s.id, "open")}>*/}
405405
{/* <FileText className="h-4 w-4" />*/}

0 commit comments

Comments
 (0)