frontend: Adjust missing files dialog #11892
Open
+72
−37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The primary commit in this PR adds support for recursive searching for missing files.
Whenever a missing file is successfully located, the search will also expand to 2 subfolders deep from the matched location. If a file is found within a subfolder, it will again search up to 2 subfolders deep from that location.
Note
The existing file check behaviour looks in the specified directory for files that match the missing filename. This currently does not have any protection against a scenario where a scene collection might contain files that share the same filename but are inside different folders. I'm open to discussion on whether we feel this is necessary.
This also does some additional cleanup:
Motivation and Context
It is currently very tedious selecting every new directory that the files are now located in individually. In many cases, a number of resources may be located within the same parent folder but are organized into subfolders.
How Has This Been Tested?
Relocated the files for a scene collection with a large number of folders to a new directory. Selected the parent folder of all the resources and all files were located in one search.
Types of changes
Checklist: