This is a container for the different changes I am making to the task list, which includes adding some javascript to make the interface pop.
this patch is the first phase, which is just to clean up the user interface a bit and get rid of the mystery links to the confirm task page, and the mystery links to date.
http://img.skitch.com/20091015-b8dyxr1m9iqjwapxensnpmnh3y.jpg
The next phase is to add some javascript with jquery ui and modalframe to improve the workflow of using that page :
http://img.skitch.com/20091015-rmbwff73h1jcuitmgbxu5n8cnk.jpg
The next phase is to make the task list auto-refresh every minute to give you direct feedback on the progress of your tasks, which will also involve rewriting the data somewhat so that we can more easily sort the list in a way that makes sense for the user.
I have committed phase 1, with some of the code from phase 2 commented out while I work on a new drush release
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | overlay_2.png | 883 bytes | ac |
| #4 | hosting_task_loader.patch | 1.21 KB | ac |
| #4 | hosting_task_loader_js.patch | 860 bytes | ac |
| #4 | overlay.png | 842 bytes | ac |
| #4 | loader.gif | 1.81 KB | ac |
Comments
Comment #1
adrian commentedIt's important to note that in the phase 1 , the hook_hosting_tasks format has changed to become more optimal, and hook_auto_tasks has been removed.
Tasks that can not be executed now have a 'hidden' flag in them.
Comment #2
adrian commentedi committed another phase of the task last night.
i wrote an update function that merges the multiple instances of tasks we were using previously into single nodes. so each task / (platform|site) combination only has a single node.
this allowed me to write a far more efficient routine to retrieve the list, with the proper sorting.
I also added a few lines of javascript which now lets the list refresh itself via AHAH every 30 seconds. so once you create the task, it will automatically be updated on screen.
i've yet to add any visual flourishes to the process, but i think it's good the way it is.
Comment #3
adrian commentedadded some css / js to give the user some feedback on the refresh happening.
http://skitch.com/vertice/ndh8u/testsite.dev-t
also added the dependency on jquery_ui and modalframe, along with an update function to enable them.
Comment #4
acfix for task refresh
Comment #5
acnew overlay at 30% opacity
Comment #6
adrian commentedcommitted. thanks
Comment #7
adrian commentedhttp://skitch.com/vertice/nd79j/shaniatest.dev-t
that's what it looks like atm
Comment #8
adrian commentedjust added some css to make the processing state use the throbber.
http://skitch.com/vertice/nd6gc/shaniatest.dev-t
Comment #9
adrian commentedI've changed the task queue to also refresh , lowered the refresh to 15 seconds. we can change this if needed.
http://skitch.com/vertice/nd98h/t
I am also committing the popup code now, which should degrade gracefully and plays nicely with the new refresh stuff.
http://skitch.com/vertice/nd91g/sut.dev-t
At this point you _need_ to have jquery ui 1.6 , the jquery_ui module and the modalframe module installed.
i added an update_ hook that enables these modules for you, and the hostmaster.make file already fetches them and all dependencies.
Comment #10
adrian commentedi think this is done now
we can open any issues we find in new tickets