Skip to content

Conversation

@trek-e
Copy link

@trek-e trek-e commented Jan 23, 2026

Summary

  • Exposes RescanAsync() on IImportFolder interface to allow manual folder rescanning
  • Adds RescanCommand to FileSourceModel for import folders
  • Makes the folder status icon clickable to trigger a rescan
  • Rescanning detects deleted files and removes them from the library

Background

Files deleted outside the app persist in the library because FileSystemWatcher was disabled due to shutdown crashes. This fix provides a manual way to rescan and detect deleted files.

Test plan

  • Add files to an import folder and verify they appear in StlVault
  • Delete a file externally (via file explorer)
  • Click the folder status icon to trigger rescan
  • Verify the deleted file is removed from the library

🤖 Generated with Claude Code

trek-e and others added 2 commits January 23, 2026 18:39
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
Files deleted outside the app now appear in the library because
FileSystemWatcher was disabled due to shutdown crashes.

This fix:
- Exposes RescanAsync() on IImportFolder interface
- Adds RescanCommand to FileSourceModel for import folders
- Makes the folder status icon clickable to trigger rescan
- Clicking the icon rescans and removes deleted files from library

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant