[Feature Request] Add an option to undo the last action

未关闭
#94 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

The payload names no files, so first find the code path that applies a batch rename and check what original names it has available at that point. Decide where the record of original names and steps should live, since the issue suggests a temporary file but leaves the design open. Done when a batch rename can be reverted from the app, with the undo control and its scope agreed in the thread first.

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

描述

I'd like to suggest adding a button and a feature to Bulky that undoes the last action. It’s happened to me quite a few times now that, when renaming a very large number of files, there were still a few here and there that weren’t supposed to be renamed, or where the file extension was simply removed. Sure, you could argue that you just have to be careful, but when you’re doing this routinely on a large scale, even the most attentive person’s focus will eventually wane.

I imagine that a temporary file could be created for this purpose, one that stores the original filenames and records the steps taken to generate the new filenames. If necessary, the original filenames could then be restored. When Bulky is closed, the temporary file can be deleted.

主要语言
Python
星标
118
派生
22
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxmint/bulky 的其他 Issue

查看 linuxmint/bulky 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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