[ 
https://issues.apache.org/jira/browse/AIRAVATA-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072224#comment-17072224
 ] 

Marcus Christie commented on AIRAVATA-3310:
-------------------------------------------

Hi [~dinukadesilva], a few comments:

- DataProduct's have a metaData field with a "mime-type" key which will be 
"text/plain" for plain text files and there may be other "text/*" mime types, 
so that can be used to determine if a file can be edited in a text editor
- I'm not so sure we need a file replace option, but I'll let [~eroma_a] and 
[~smarru] chime in
- I'm not sure what you mean with "For this, we could override the current file 
view interface instead of a dialog."
- The mime-type is captured or derived when the file is uploaded. If it is 
renamed only, we shouldn't change the mime-type and the mime-type is what 
should be used to determine if the file is editable text.
- I think a file rename option is a good feature to have.

> Implement Application input editor in experiment creation
> ---------------------------------------------------------
>
>                 Key: AIRAVATA-3310
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3310
>             Project: Airavata
>          Issue Type: New Feature
>          Components: Django Portal
>            Reporter: Eroma
>            Priority: Major
>              Labels: gsoc2020
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 1. Currently the Django gateway portal supports input file upload and text 
> file view.
> 2. Once the files are uploaded the user can view but cannot edit the file.
> 3. The implementation is the had the input file updated after uploading to 
> the portal.
> 4. User should also have the option of saving a local copy of the latest file 
> if needed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to