Closed bodom0015 closed 4 years ago
For context, the current "action" text reads Treat as source dataset for analysis
. I am open to changing it if we can decide on acceptable an alternative.
Perhaps it would be more clear with something like Treat as immutable dataset for analysis
?
Problem
In the "Analyze in WT" case, there is no explicit option for the user to declare that they want to import their Data Source as a Tale. The only way to toggle this flag is by using the URL query-string parameter, which is not very user-friendly.
FIxes #579
Approach
Per the mockups, add a set of Radio buttons to the "Analyze in WT" / "import" case on the
create-tale-modal
. The first radio (default) setasTale
to false, while the second setsasTale
to true.There is also an option to disable the second radio button, although it is not clear under what circumstances this may be useful.
How to Test
Preconditions: shut down any running instances
create-tale-modal
pop up automatically after the page loadsDataverse IRC Metrics
is automatically entered as thename
Jupyter Classic
is automatically chosen as theenvironment
Data Source
READ ONLY
is selected by default - this isasTale=false
POST /tale/import
was sent withasTale=false
in the query-stringDataverse IRC Metrics
listed here as an immutable external datasetcreate-tale-modal
pop up automatically after the page loadsDataverse IRC Metrics
is automatically entered as thename
Jupyter Classic
is automatically chosen as theenvironment
Data Source
READ/WRITE
is now selected by default - this isasTale=true
as specified in the query stringPOST /tale/import
was sent withasTale=true
in the query-stringDataverse IRC Metrics
has been imported into your editable Tale Workspace