Repository navigation
feat(projects): copy the project directory from its details - #460
Merged
Merged
Conversation
…ii/project-directory-copy # Conflicts: # web/src/v2/components/project-header.tsx
Qiyuanqiii
changed the base branch from
Qiyuanqiii/docs-current-state
to
Qiyuanqiii/project-pins
October 21, 2026 20:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
项目详情卡新增“复制项目目录”,可通过鼠标或键盘复制完整目录,无需手动选择换行显示的长路径。复制成功或被系统拒绝时,反馈直接显示在原按钮中,目录文本继续保留。
基于 #464,复用已有项目详情接口、权限和按钮样式。复制对象为项目目录,未改运行工作目录或文件权限。
验证:原复制功能 5 个相关测试通过;与项目置顶整合后,9 个聚焦测试及生产构建通过。Windows Chrome 实际验证含中文和空格的完整目录复制、键盘焦点恢复,以及中英文剪贴板权限拒绝;前后截图使用同一个项目与 1440×960 视口。原生 WebView 和 macOS 未验收。
真实页面、英文对照及权限拒绝验证。