qcoder
qcoder copied to clipboard
add enhancements to select file tab
Now that the other tabs are hidden when no file is selected, move that process to a tab (that is not hidden by the conditional).
In addition to the select option ... create a UI that supports the following steps.
If the selected file does not validate -> two possibilities, select again (this works now but with a warning #156 ) or "Create project at this location." If the user selects the Create option, they then should supply a project name (although a default could be supplied? Would need to check that it doesn't exist).
Then there should be a button for importing the data. However the UI should point out that the user should put their data in place prior to importing or else empty files will be created.
At that point the other tabs should become available.
@Jones-Git Are you up for this?
I shall take a crack at it.
I moved it to the tab ... that is in master. You'll want to look at the validation process and what is returned when the file selected does not pass validation, then respond to that with the offer to create a project in the selected folder ... they will need to provide a name (so you need an empty field) and then a button. Then ask if they want to import data.
We probably need to change the validation so that it returns FALSE if it is not valid. Also make the message return in the UI