CodeEditApp / CodeEditApp/CodeEdit

✨ Drag and Drop "keep both files" prompt

未关闭
#1,034 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### Is your feature request related to a problem? Please describe.

When user drags and drops a file, user doesn't have option to rename dragged file in case there is a duplicate file of the same name

### Describe the solution you'd like

In the alert telling the user that there exists duplicate files of the same name when dragging and dropping, add a button: `keep both` which will move the files and append `copy` to the end of the dragged files name
ex: `test.txt -> test copy.txt`
Screenshot 2023-02-01 at 1 38 55 PM

### Describe alternatives you've considered

n/a

### Additional context

Prerequisites:

* https://github.com/CodeEditApp/CodeEdit/issues/1018
* https://github.com/CodeEditApp/CodeEdit/pull/1031

贡献指南

打开贡献指南

调研方向

先查看 issue #1018 和 pull request #1031,以了解现有的拖放重复文件流程。找到此 issue 中描述的 alert,然后添加并验证“保留两者”行为,包括所请求的文件名后缀“copy”。

由索引模型根据 Issue 内容生成。

评估

技术栈
swift
领域
desktop
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。