Skip to content

SSH 连接后缺少断开连接入口 #131

Description

@Shui77sun

问题描述

在 SSH 工具中,连接 SSH 服务器后没有明显的断开连接入口。

当前行为

  • SshConnectionCard(卡片视图)中有一个断开按钮(Square 图标)✅
  • SshConnectionDetail(表格详情视图)中缺少断开按钮 ❌
  • SshConnectedWorkspace(连接后的工作区全屏视图)中完全没有断开入口 ❌

预期行为

在已连接的 SSH 工作区中应提供断开按钮,允许用户手动断开当前 SSH 会话。

建议的修复位置

  1. src/renderer/src/components/ssh/SshConnectionDetail.tsx — 在已连接状态的操作按钮组中添加断开按钮
  2. src/renderer/src/components/ssh/SshConnectedWorkspace.tsx — 在工作区标题栏或控制区域添加断开按钮

环境

  • OpenCowork 版本: latest
  • 平台: Windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions