[Issue 193] Auto refresh mode annoying on console and config screens

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 193] Auto refresh mode annoying on console and config screens

jglick-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=193






------- Additional comments from [hidden email] Fri Dec 15 14:27:14 +0000 2006 -------
Maybe instead of using HTTP refresh, those pages with refreshable data should
use some AJAX to replace the relevant HTML section. If done properly, it would
be unintrusive enough to turn on by default, I think. Ideally some Jelly/Stapler
hackery would let you just write e.g.

...
<l:refreshable id="build-status">
  ...as before...
</l:refreshable>

When rendered, the body would be displayed normally, but in a <div>; a JS timer
would be added to the page, which would request from the server

http://hudson/..../thisPage?refresh=build-status

The server would respond with just that section, which would then be converted
to DOM and displayed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]