Delete attached photos when a feature is deleted
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
No files or tests are named. Start by tracing feature deletion, discard handling, and composition versus association child handling, then verify each acceptance criterion, including nested children, orphaned photos, and the discard confirmation text.
索引モデルが issue の本文から書いたものです。
説明
Current situation
When a feature is deleted, its attached photos stay on the device and in the project. This leaves unused files behind, and with the composition relation supported (https://github.com/MerginMaps/mobile/issues/2315) more features will be deleted automatically, so more orphaned photos could pile up.
Proposed solution
When a feature is deleted, delete its attached photos as well. This also applies to child features deleted through a composition relation (for example, if a parent feature is deleted, then its children should be deleted as well)
Acceptance criteria
- Deleting a feature deletes its attached photo(s)
- Deleting a parent with composition children deletes the photo(s) of all deleted child features (including nested ones)
- If child features are created while adding a parent, and the parent is discarded without saving, the photos of those child features are deleted too
- Deleting a parent with association children does not delete the children's photos (and neither the children, check acceptance criteria of (https://github.com/MerginMaps/mobile/issues/2315)
- when discarding a parent feature with composition children, the delete confirmation text mentioned that the attached photos will also be deleted
Related to: https://github.com/MerginMaps/mobile/issues/2315
- 主要言語
- C++
- スター
- 389
- フォーク
- 88
- 平均マージ
- 3日 1時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MerginMaps/mobile のほかの issue
-
bug ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
MerginMaps/mobile#4669 ·
メンテナーはふだん 2 日以内に返信
-
bug Good first issue ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
MerginMaps/mobile#4665 ·
メンテナーはふだん 2 日以内に返信
-
bug ui/ux
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MerginMaps/mobile#4647 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
MerginMaps/mobile#4726 ·
メンテナーはふだん 2 日以内に返信
-
[iOS] GPS info dialog shows N/A for visible and used satellites (Internal GPS and External Mock)オープンbug GPS iOS 🍎
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
MerginMaps/mobile#4725 ·
メンテナーはふだん 2 日以内に返信
MerginMaps/mobile の issue をすべて見る
似ている issue
-
area/ysql kind/bug priority/medium
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yugabyte/yugabyte-db#34552 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
ai_p2
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/ClickHouse#123351 ·
メンテナーはふだん 1 日以内に返信