Separate subdirectory scanner/monitor from uploader
The uploader could be dedicated to uploading a single sample/run/directory.
This solves more threading issues and simplifies GUI interaction when it comes to uploading, errors, warnings
Have a stand-alone page that scans/monitors a directory for new run/sample directories.
This could be have sections for
partially uploaded, and
not uploaded and
partially uploaded at the top to simplify the user experience.
Selecting a directory would open an uploader window where they can upload the files for that run.
Would also allow the users to see what has already been uploaded so they don't just rely on the uploader saying "nothing to upload" when they select a directory that has been uploaded previously.
If planned together with other restructuring, could improve the amount of modularity in the code/project