Update the status icon of the project when it is added in build-prepare-queue

Details

Description

When it is forced build, the status icon of the project doesn't change if there are other projects waiting to be processed in build-prepare-queue. Users get confused that nothing happened especially if the project that precedes it is very big (hence taking too long to finish). We can change the status icon of the project to "in queue" as an indicator that it is already inserted in build-prepare-queue.

To reproduce:
1. add a small project
2. add a big project
3. build the big project and then immediately build the small project.
notice the status icons of the small project, it will only be updated once the big project has finished processing in the build-prepare stage.

Wendy Smoak
added a comment - 13/May/09 15:34 I think this is a step in the right direction.
If the 'in queue' icon is displayed, then I expect to see the project listed on the 'Queues' page. (I also expect to be able to cancel it.)
Those can be separate issues, I just wanted to raise the concern here as I don't think this is a complete fix for the "I clicked build but nothing is happening!" user perception problem.

Maria Catherine Tan
added a comment - 18/May/09 18:56 Projects won't be added to build queue until it finishes the prepare build successfully.
So changing it to "in queue" icon might be confusing to users because they won't see the projects in the queues page.
Instead of changing the icon of each project to "in queue" when they're in the the build prepare queue, we could change the icon of the project scm root url to "in queue" icon?
WDYT?

Wendy Smoak
added a comment - 22/May/09 11:14 Has any work been done on this? On vmbuild (r777534) I'm seeing it show the 'checkout' icon next the scm url when the project is in the prepare build queue.
http://people.apache.org/~wsmoak/continuum/continuum-scm-url-showing-checkout-instead-of-queued.png

Maria Catherine Tan
added a comment - 22/May/09 19:49 While it is currently prepare build, the icon next to the scm url will show a 'checkout' icon. But while it is still in the prepare build queue, no icon to indicate that it is already in queue.

Maria Catherine Tan
added a comment - 02/Aug/09 18:32 We can include in the documentation that when that "in queue" icon is displayed, it means that the project is either in the prepare build queue or in the build queue.