Commit Graph

11 Commits

Author SHA1 Message Date
liumangmang
2c06329d68 feat: implement MobaXterm-style layout (Phase 1-2-4)
实现 MobaXterm 风格的界面重构,包含会话树、工作区面板和分屏功能。

新增功能:
- 左侧会话树支持文件夹分组和展开/折叠
- 工作区垂直分屏(终端 + SFTP)
- 可拖拽调整分割比例
- 状态持久化到 localStorage
- 顶部工具栏(样式占位)

技术实现:
- 新增 sessionTreeStore 和 workspaceStore 状态管理
- 新增 SessionTree/SessionTreeNode 递归组件
- 新增 SplitPane 可拖拽分割组件
- 重构 SftpPanel 为 props 驱动
- 新增 MobaLayout 主布局
- 路由默认重定向到 /moba

依赖更新:
- 安装 @vueuse/core 用于拖拽功能

待实现:
- Phase 3: 会话树拖拽排序
- Phase 5: 数据迁移
- Phase 6: 快捷键、右键菜单、搜索等优化

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 15:14:36 +08:00
liumangmang
9f133bd337 feat: update monitor, terminal, and SFTP interaction flow 2026-04-01 15:22:51 +08:00
liumangmang
ba1acdc2dd fix: 修复懒加载组件keep-alive不生效问题 2026-03-30 16:41:16 +08:00
liumangmang
e895124831 fix: SFTP标签页离开后返回刷新状态丢失问题 2026-03-30 16:18:00 +08:00
liumangmang
43207e24bf feat: 为文件视图添加侧边栏标签页 2026-03-24 17:34:27 +08:00
liumangmang
6f8edcec33 fix: reorder sidebar navigation items 2026-03-24 14:47:39 +08:00
liumangmang
7b7399912b Fix: 修复终端标签切换时重连问题
将终端工作区提升为主布局常驻层,离开终端路由时只隐藏不卸载组件。
新增活动终端显隐状态跟踪,页面恢复时自动重新适配尺寸和聚焦。

改动范围:
- frontend/src/layouts/MainLayout.vue
- frontend/src/views/TerminalWorkspaceView.vue
- frontend/src/components/TerminalWidget.vue
2026-03-20 15:36:47 +08:00
liumangmang
c01c005c07 feat: 将终端标签页移至左侧边栏
- 在 MainLayout 侧边栏添加终端标签区域
- 标签纵向排列在连接列表下方
- 点击标签自动切换到终端工作区并激活
- 简化 TerminalWorkspaceView 移除顶部标签栏和返回按钮
- 不用返回就能切换连接和打开新终端
2026-03-18 23:16:54 +08:00
liumangmang
80fc5c8a0f feat: 增强 Transfers 页面文件浏览功能
- 在 SftpFilePickerModal 中添加搜索功能
- 添加显示/隐藏文件切换按钮(参考 SftpView)
- Remote->Many 模式下目标连接列表自动排除源连接
- 全选功能自动排除源连接
- 添加空状态提示信息
- 优化用户体验和交互逻辑
2026-03-12 17:45:07 +08:00
liumangmang
7e6ebd18a5 Refactor project structure and update .gitignore; enhance README with setup instructions and environment requirements. Clean up backend code for improved readability and maintainability. 2026-02-04 11:07:42 +08:00
liu
1c5a44ff71 Initial commit: SSH Manager (backend + frontend)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 09:10:06 +08:00