stride3d / stride3d/stride

Ask to delete source file when deleting an asset

Open
#2,939 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

When you delete an asset (like a .sdasset), its source file (the .fbx, .png, etc.) just stays in the Resources folder.

This clutters the project with lingering files. Most users might not even know the source file isn't deleted and just stays there.

When someone deletes an asset, just show a popup (similar to the one asking to move to the resource) that asks would you like to delete the source file [file_name.fbx]? With buttons like [Delete Both] and [Delete Asset Only] and X to just cancel of course.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the asset-deletion flow and the existing confirmation popup mentioned in the issue. Trace how an asset’s source file is identified, then define the two requested choices and cancel behavior. Done means deletion can explicitly remove both files or only the asset without leaving the source file choice unclear.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.