BUG: Adding an existing folder doesn't let you add newly created sub-folders

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

メンテナーはふだん 10 日以内に返信

@swastiksharma45 がすでに取り組んでいます。

2026年11月19日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
desktop

調査の方向性

Start by locating the folder import flow and the check that reports “Folder already exists”; the issue does not name specific files or tests. Trace how existing folders and their subfolders are stored, then determine how to add newly created subfolders while handling an unchanged folder. Done means re-adding a folder discovers missing subfolders and gives the expected response when its contents are unchanged.

索引モデルが issue の本文から書いたものです。

説明

bug enhancement
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

Currently:
When you add a folder to PictoPy it adds all the sub-folders with it.
Therefore, adding an existing folder again should add back the previously deleted/newly created sub-folders.
But the UI directly denies this action by saying 'Folder already exists'.

Ideal Behaviour:

  • Adding an existing folder should add the previously non added subfolders.

Although, this can be achieved by adding the subfolders individually, this logic of adding missing subfolders is intuitive as per the logic of adding new folders into PictoPy.

Example of the problem:

  • User adds one 'Main' folder with 20 subfolders.
  • Later he decides to add 10 more subfolders, but he cannot add the 'Main' folder again since the UI will block it by saying 'Main folder already exists.
  • User will have to add these folders one by one.

Expected example solution:

  • To resolve this we will let users add an existing folder again if there is updated data in that folder. And alert if they add the same folder with exact same data.
Record
  • I agree to follow this project's Code of Conduct
主要言語
Python
スター
320
フォーク
771
平均マージ
9日 5時間
マージ済み PR(30日)
15

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AOSSIE-Org/PictoPy のほかの issue

AOSSIE-Org/PictoPy の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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