qcoder icon indicating copy to clipboard operation
qcoder copied to clipboard

add enhancements to select file tab

Open elinw opened this issue 5 years ago • 4 comments

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.

elinw avatar Jul 26 '19 11:07 elinw

@Jones-Git Are you up for this?

elinw avatar Jul 26 '19 11:07 elinw

I shall take a crack at it.

Jones-Git avatar Jul 26 '19 12:07 Jones-Git

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.

elinw avatar Jul 29 '19 04:07 elinw

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

elinw avatar Aug 19 '19 11:08 elinw