fenghp and Cursor
646665f3a3
refactor: 更新挂起更改处理逻辑与组件交互
...
- 将 `onToggleExcluded` 方法重命名为 `onSetExcluded`,并更新相关调用,支持批量设置挂起更改的 Included/Excluded 状态。
- 在 `ChangesPanel` 组件中实现目录树结构,支持折叠与三态复选功能,提升用户体验。
- 修改 `Checkbox` 组件以支持不确定状态的显示,增强视觉反馈。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-27 11:48:49 +08:00
fenghp and Cursor
24de23ee61
feat: 增加父进程看护机制与操作来源标识
...
- 新增 startParentWatchdog 方法,监控宿主进程状态,确保后端在宿主崩溃时自动退出,避免端口占用。
- 在 API 请求中引入 X-MacTFS-Source 请求头,区分来自 MCP(AI)与手动操作的请求,增强操作日志的可追溯性。
- 更新操作日志结构,记录操作来源,支持在前端进行来源过滤展示。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-26 14:15:08 +08:00
fenghp and Cursor
9018a6c90e
feat: 顶栏新增 TFS 连接测试与 MCP 状态/日志查看
...
- 后端新增只读端点 POST /api/session/test:用已存配置真正回连一次 TFS,
验证服务可达与认证有效,不改动会话/配置状态,返回耗时与 Collection 数
- 顶栏加「测试 TFS 连接」按钮:手动触发,图标按结果变色(绿=正常/红=断开),
结果走右上角 toast
- Electron 将 MCP 子进程 stdio 由 ignore 改为管道捕获,环形缓冲保留最近 500 行;
跟踪运行状态(pid/运行时长/重启次数/退出码)并探活 /healthz,新增 get-mcp-status
/ get-mcp-logs 两个 IPC,经 preload 与 lib/electron 暴露
- 顶栏加「MCP 服务状态」入口,新增 McpStatusDialog 展示状态摘要与运行日志
(打开期间每 2 秒刷新、自动滚到底部)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-23 11:05:19 +08:00
fenghp and Cursor
b2b2f49db6
chore: 将 main 整棵树对齐到 feature 分支(移除并行分支遗留文件与重复声明,确保可构建)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-16 14:37:39 +08:00
fenghp
a107ec1f2c
Merge feature/ui-macos-restyle into main
...
合并 macOS 原生风 UI 改版分支,冲突以 feature 分支为准
(feature 为当前维护主线,取代 main 上的并行前端尝试)。
Co-authored-by: Cursor <cursoragent@cursor.com >
# Conflicts:
# task/frontend/FE-001-实现Electron启动服务与API客户端.md
# task/frontend/FE-002-实现登录配置页.md
# task/frontend/FE-003-实现VS风格主布局.md
# task/frontend/FE-004-实现Collection服务端目录树.md
# task/frontend/FE-005-实现中间目录文件列表.md
# task/frontend/FE-006-实现Mapping创建流程.md
# task/frontend/FE-007-实现目录对比页面.md
# task/frontend/FE-008-实现右侧挂起更改面板.md
# task/frontend/FE-009-实现文件操作交互.md
# task/frontend/FE-010-实现签入流程.md
# task/frontend/FE-011-实现历史记录界面.md
# task/frontend/FE-012-实现文件Diff界面.md
# task/frontend/FE-013-实现操作日志面板.md
2026-06-16 14:33:47 +08:00
fenghp and Cursor
fcf7952ee3
体验: 顶栏改程序名+Collection胶囊,画布卡片层次强化,修复侧栏长文本截断无省略号
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 20:46:40 +08:00
fenghp and Cursor
08bb38b188
体验: toast改macOS通知风圆徽毛玻璃卡片,移除明暗主题切换仅保留亮色
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 20:15:53 +08:00
fenghp and Cursor
fe8b23225a
体验: 工作台改画布卡片式布局,toast提示移到右上角加彩色强调条更显眼
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 21:06:56 +08:00
fenghp and Cursor
380280bace
frontend: FE-033 明暗主题三态切换并跟随系统,防闪白+全局过渡+Monaco同步
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:31:25 +08:00
fenghp and Cursor
4703a03f21
frontend: FE-032 轻量toast接管动作通知+日志滑入+按钮按压与勾选动画
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:24:57 +08:00
fenghp and Cursor
261778732d
frontend: FE-031 弹窗统一macOS Sheet风格,顶部锚定下滑出场+分层阴影
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:21:49 +08:00
fenghp and Cursor
581cfb559c
frontend: FE-030 目录树与文件列表精致化,图标体系+骨架屏+空状态+行级联动效+表头固定与滚动条修正
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:18:35 +08:00
fenghp and Cursor
c0f613fcb6
frontend: FE-029 Finder式工作台外壳,毛玻璃侧栏+透明工具栏+折叠过渡动画+动作图标化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:14:46 +08:00
fenghp and Cursor
eec2cc85a3
frontend: FE-028 macOS风登录页,毛玻璃品牌区大logo+分步动效+最近连接+密码切换+失败抖动
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:11:08 +08:00
fenghp and Cursor
3d1ffd0e81
frontend: FE-027 隐藏式标题栏+窗口vibrancy毛玻璃+防白闪+启动最大化+顶栏拖拽
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:07:57 +08:00
fenghp and Cursor
b19c6895a3
frontend: FE-026 macOS设计基建,系统字体+macOS蓝主色+半透明材质变量+圆角阴影动效令牌
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 20:04:38 +08:00
fenghp and Cursor
b1a5b2f16b
体验: 目录对比改为先确认选项再执行,避免进入弹窗即自动对比与切换选项重复对比
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 15:59:22 +08:00
fenghp and Cursor
bba6e89a16
体验: 目录对比改为忽略仅本地存在的项(如 node_modules),勾选后跳过本地全量扫描提速
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 15:53:40 +08:00
fenghp and Cursor
b247a18155
体验: 目录对比执行签出等动作后自动重新对比,新增忽略仅服务器存在项的过滤开关
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 15:31:12 +08:00
fenghp and Cursor
b3454eb157
品牌: 项目更名为 MacTFS,Electron 窗口与程序坞使用根目录 logo 图标
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 15:04:49 +08:00
fenghp and Cursor
fe4c573585
优化: 添加本地文件改为扫描式(FE-025修订),目录对比自动筛出本地新增项勾选添加
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 14:39:20 +08:00
fenghp and Cursor
75c8e00e19
功能: 右键支持在访达中打开与添加本地文件到版本控制(FE-025),中间区域空白处提供当前目录菜单
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 14:23:13 +08:00
fenghp and Cursor
6910563078
功能: 实现分支间合并向导(FE-024),候选变更集可全部或单个合并,冲突走冲突弹窗
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 13:31:25 +08:00
fenghp and Cursor
cfa4141c1a
功能: 文件与目录支持分支(FE-023),pendBranch 产生挂起更改审查后签入
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 13:26:12 +08:00
fenghp and Cursor
f09b8f95b4
功能: 顶栏新增工作区集中管理弹窗(FE-022),支持 Mapping 新增删除与修改本地路径
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 13:21:29 +08:00
fenghp and Cursor
63f7111bcd
功能: 历史记录支持回滚变更集与回滚到变更集(FE-021),结果为挂起更改审查后签入
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 13:17:24 +08:00
fenghp and Cursor
4ba868482b
功能: 文件与目录支持重命名(FE-020),挂起面板展示旧名→新名
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 13:11:55 +08:00
fenghp and Cursor
23062e8333
功能: 右键新增属性弹窗与获取特定版本(FE-019),服务端新增 /api/items/info
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 12:58:11 +08:00
fenghp and Cursor
0418a93890
修复: Diff 统一视图下出现两列紧贴行号,启用 compactMode 仅保留新版行号
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 12:30:23 +08:00
fenghp
7600c43f5e
对比功能更换为monaco
2026-06-11 11:33:46 +08:00
fenghp and Cursor
1a8682511c
修复: 文本对比改用 java-diff-utils(Myers算法)避免插入行后整段误报,修正本地与 latest 对比方向
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 11:00:35 +08:00
fenghp and Cursor
7fa739f711
功能: 目录树、文件列表与挂起更改面板新增手动刷新入口
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 20:07:51 +08:00
fenghp and Cursor
8e09d5f074
体验: Diff 弹窗支持左右分栏与差异概览跳转,历史对比查看弹窗放大至接近满屏
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 20:02:42 +08:00
fenghp and Cursor
a913b4718e
功能: changeset 文件支持右键查看版本与下钻历史,目录对比 localOnly 项可加入版本控制
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 19:56:38 +08:00
fenghp and Cursor
de2a6793f4
功能: 获取最新改为安全模式不再覆盖本地修改,新增强制获取与获取指定版本(带确认)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 19:48:57 +08:00
fenghp and Cursor
364d212193
frontend: implement operation log console with auto refresh and busy feedback
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:45:59 +08:00
fenghp and Cursor
223ef426b5
frontend: extract pending changes and file action hooks to slim workspace shell orchestration
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:40:17 +08:00
fenghp and Cursor
8154602e55
frontend: add included excluded grouping with required comment checkin and wire undo delete actions
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:35:12 +08:00
fenghp and Cursor
b8a24084c2
frontend: add unified conflict dialog and wire get latest and checkout execution with skip feedback
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:30:05 +08:00
fenghp and Cursor
a750fff3b0
frontend: add read-only file viewer and text diff dialogs with search and line highlights
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:24:11 +08:00
fenghp and Cursor
a54aa441d6
frontend: add mapping, history and folder compare dialogs with backend target precheck
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:17:53 +08:00
fenghp and Cursor
0b908e8d2c
frontend: add unified file action model with context menus across tree, list and pending changes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:09:48 +08:00
fenghp and Cursor
bbbb938df0
frontend: add lazy server tree and folder items list with synced navigation and local state badges
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:57:51 +08:00
fenghp and Cursor
81e71837bf
frontend: build three-pane workspace shell with collapsible panels and synced path state
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:45:38 +08:00
fenghp and Cursor
097cc510a7
frontend: add connect page, collection selection and fixed workspace context
...
补齐 FE-003:实现连接表单、连接中/错误态、配置回填,连接成功后加载并确认 Collection,
自动确保默认 Workspace,进入工作台后由 home.tsx 持有固定上下文(serverUri/collection/workspace)。
新增 input/label 基础组件与 connect-view/workspace-shell 业务组件。
pnpm typecheck 通过。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-09 20:52:18 +08:00
fenghp and Cursor
ca4089a885
frontend: add workspace context, file content and conflict apis with frontend type contracts
...
补齐 FE-002:服务端新增 workspace/context、mappings/check-target、files/content、
conflicts 明细与 apply 路由,核心层补充本地文件内容与冲突查询/应用能力及二进制/大文件约束;
前端补齐统一领域类型契约与类型化端点封装。
gradle build / pnpm typecheck 均通过。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-09 20:35:15 +08:00
fenghp and Cursor
5c633fd024
frontend: add electron service bootstrap, preload and api client
...
FE-001: detect and launch the local mactfs-server, expose a narrow preload
bridge (token, service status, directory picker), and add a unified API
client that auto-attaches the Bearer token. Home becomes a bootstrap gate
with a retry entry. Update task board, FE-001 record and FRONTEND_SPEC.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-09 19:46:09 +08:00
fenghp
acb388d22d
完成阶段5前端重构并固定后端JDK
2026-06-09 15:09:25 +08:00
fenghp
8692edd2dd
Add frontend workspace UI and refactor plan
2026-06-09 10:07:22 +08:00
fenghp
3168897b6c
chore: add mactfs planning and task workflow
2026-06-05 19:04:20 +08:00