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

CommentFileSizeAuthor
#5 overlay_2.png883 bytesac
#4 hosting_task_loader.patch1.21 KBac
#4 hosting_task_loader_js.patch860 bytesac
#4 overlay.png842 bytesac
#4 loader.gif1.81 KBac

Comments

adrian’s picture

It'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.

adrian’s picture

i 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.

adrian’s picture

added 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.

ac’s picture

StatusFileSize
new1.81 KB
new842 bytes
new860 bytes
new1.21 KB

fix for task refresh

ac’s picture

StatusFileSize
new883 bytes

new overlay at 30% opacity

adrian’s picture

committed. thanks

adrian’s picture

adrian’s picture

just added some css to make the processing state use the throbber.

http://skitch.com/vertice/nd6gc/shaniatest.dev-t

adrian’s picture

I'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.

adrian’s picture

Status: Active » Fixed

i think this is done now

we can open any issues we find in new tickets

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.