Progress:
For the past week I've been working on improving the upload interface for Mapknitter image upload. This is the weekly update on work that has been done.
Working git branch:UIModelling
- Implemented multiple image upload with drag-drop feature. Implemented JSON response from the controllers to work asynchronously with the file upload plugin.
- Integrated a basic file upload interface based on blueimp's demo of basic plus UI using it as a major reference. Have to work on bringing a cleaner interface in the coming weeks.
As of now I do not have a remote server to push my work for preview. Jeff said something about providing remote derver to GSoC students which if provided I can push to, otherwise I can try hosting on heroku or openshift.
Preview:
Incomplete tasks:
- As you can see the interface is really dirty, I will have to work on designing a cleaner interface.
- The interface used is not very relevant for Mapknitter, function to delete directly from interface are not yet worked on. Some redesigning of the UI has to be done, which I would definitely need help on.
- Although the upload works smoothly, the relevant callbacks has not yet been made, tried working on it and I'm having issues doing it from the current upload Iframe. Also integration with Anish's project has to be done.
- Client side validation has not yet been worked on - will not be difficult using the plugins validation functions. Currently validation works interactively with failure response from server.
- There are some file-upload dependencies that have to be removed and make it lighter.
Experiences:
- Although jquery-fileupload by Blueimp used here is a great plugin implementing it was a real hassle while taking it longer than expected to understand and implement.
- The plugin lacks good documentation so I had to use other sources to figure things out. Although I could not use the jquery-fileupload gem for lack of support for version 2.3.15, it was a great resource to understanding to implement the plugin in a rails context.
This has been a great week with most of the major work on the schedule done and looking forward to another good week with Public Lab and GSoC.
10 Comments
Nice Vidun! I'm glad to see that the majority of the functionality is in there.
Reply to this comment...
Log in to comment
Yeah very nice -- for interfaces, think minimalist! Can we have the upload begin automatically, and not require a "start" button? Also, perhaps you could use the Bootstrap modal instead of the old one there: http://getbootstrap.com/2.3.2/javascript.html#modals
We'll get you a VM soon - if you want to try Heroku, go for it, though.
Also, what do you think of just allowing people to drag images onto the map itself, to start uploading them?
I'm making a set of Github issues for you based on this feedback.
Is this a question? Click here to post it to the Questions page.
Reply to this comment...
Log in to comment