ganga icon indicating copy to clipboard operation
ganga copied to clipboard

Code editor section added in GUI

Open monalisha31 opened this issue 3 years ago • 5 comments

Currently, the code editor is working like this. A user can choose there specific language and save there code from the GUI.

screencapture-0-0-0-0-5500-editor-2021-08-02-08_32_20

Execution of the code part will be added later. For now , A user can save there code in .txt format. A "save as" feature will be added later, it will save the file in the format that is specified by the user.

monalisha31 avatar Aug 02 '21 03:08 monalisha31

The current changes will enable the user to save the file in there desired format. The user will enter the filename and file type (hello.py) in the save as section. Screenshot from 2021-08-15 10-05-14

monalisha31 avatar Aug 15 '21 04:08 monalisha31

I will work on these issues.

monalisha31 avatar Aug 16 '21 10:08 monalisha31

Last week, I have added Ganga job list beside the editor where the user can edit a job. Next task will be to add a submit button, where a user can submit the edited job. After submission, a new job will be created. These are the changes made in the GUI. @egede Do i need to make any more changes in the attached UI?

screencapture-0-0-0-0-5500-editor-15-edit-2021-09-27-15_58_49 screencapture-0-0-0-0-5500-editor-2021-09-27-15_58_07

monalisha31 avatar Sep 27 '21 10:09 monalisha31

Hi @monalisha31 Sorry to take forever to look at this. I can now load a job into the editor as you describe. This is really good and would be a great way for a user to take a template job and then edit it to do the right thing for them. However, when I get the job into the editor, there is no way to save it as a job again. In fact I can't save it in any way or form. Do I miss something?

egede avatar Oct 06 '21 03:10 egede

Currently, the user can edit the job and save it as .txt file only. I am trying to add a save functionality that will save the edited job as a new Ganga job and the job data will be updated in the dashboard.

monalisha31 avatar Oct 11 '21 04:10 monalisha31