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

オープン
#94 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/bulky のほかの issue

linuxmint/bulky の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。