Closed xylucien closed 4 years ago
Let's think about this while polishing the current impl.
Now my code is able to allow users to upload their musicxml file
Files will be stored at /musicxmlCache folder.
Now I plan to restructure the front-end logic a little bit. Now users can either copy-paste or file upload their input. I should keep the delete button, and change the "update" button to "convert" and redirect them to the page where the result in printed on screen.
And the index page simply print out a table of previous input as well as a list of the uploaded file names
Sounds good. Why would you keep the delete button and what is that for?
em.. for debugging? Its kinda annoying when I have to scroll down the page every time I open it
I just visited http://test-flask.eba-sgnxtm3j.us-east-1.elasticbeanstalk.com/ , you really need to clean up the page by not showing the submission histories (it seems that it does now). Just have a simple box for input and let user to click submit, then show the output, Right now there are lot of text boxes stacked on top of each other which needs to be cleaned up.
Now I think is the time to allow users to upload their musicxml and download the result. I think I need a folder to store all uploaded data and another one to store downloadable content. The "update" button can be a download button and I would keep the action textbox to serve as a log.