Currently if i delete a root folder from Finder it still remains in the app because the list is kept in the UserDefaults. This is good, but when clicking on it, it shows there are no photos. A better message is to show that the source is missing and show the full path in the UI. In case of external sources the user will figure out that the drive is not mounted, and for local folders it means it was deleted. We can also add an icon in the sidebar to indicate that the source is not available.
There's also a problem if a root folder is a subfolder of another root folder, when deleting it from Finder it does not reflect in the app.
Currently if i delete a root folder from Finder it still remains in the app because the list is kept in the UserDefaults. This is good, but when clicking on it, it shows there are no photos. A better message is to show that the source is missing and show the full path in the UI. In case of external sources the user will figure out that the drive is not mounted, and for local folders it means it was deleted. We can also add an icon in the sidebar to indicate that the source is not available.
There's also a problem if a root folder is a subfolder of another root folder, when deleting it from Finder it does not reflect in the app.