On Fri, Jan 27, 2012 at 5:26 PM, Peter Bittner <[email protected]> wrote: > > This should be easy to implement: Include a spinner image into the > HTML file (index.html) file that includes the bootstrap.js file, and > hide the image when all UI-generating Pyjamas code has finished > execution, and rendering is completed. If we have those different > stages we could even show a different image when we enter a stage. > Here the typical examples of Ajax-like spinners: > > [1] http://straval.com/img/ajax-spinner-large.gif > [2] http://clairescareers.co.uk/furniture/ajax-spinner.gif > > If it makes sense we could show something like [1] to create a better > user experience for the application startup time. > > What do you guys think?
i don't think it should be included by default in the default index file, but for sure in the sites hosted on pyjs.org. if you take a look at `helloworldsplash` example, that details a way to actually provide the percentage loaded (in terms of modules-loaded / modules-total), and has a progress bar, but a spinner serves the same purpose. i am working on the mail app and others tonight, i'll try and get to this. -- C Anthony

