#1912 new enhancement

show miniature live view of recent activity right on the front page

Reported by: zooko Owned by: drewp
Priority: normal Milestone: undecided
Component: code-frontend-web Version: 1.9.2
Keywords: transparency usability Cc: zooko, drewp@…
Launchpad Bug:

Description

from #1375

drewp wrote:

What would people think if the 'Recent Uploads and Downloads' link was joined by a small, live-updating status display summarizing that page?

Change History (4)

comment:1 Changed at 2013-02-17T07:19:45Z by drewp

  • Cc drewp@… added

comment:2 follow-up: Changed at 2013-05-03T16:20:43Z by daira

I'm skeptical. I strongly prefer pages that I often have open for a long time not to do any JavaScript polling.

comment:3 in reply to: ↑ 2 ; follow-up: Changed at 2013-05-03T16:41:28Z by zooko

Replying to daira:

I'm skeptical. I strongly prefer pages that I often have open for a long time not to do any JavaScript polling.

Is there a way to make the Javascript pause when the page doesn't have focus?

comment:4 in reply to: ↑ 3 Changed at 2013-05-03T17:13:39Z by daira

Replying to zooko:

Is there a way to make the Javascript pause when the page doesn't have focus?

Yes, using the window.onblur and window.onfocus events.

(In ticket:1375#comment:3 it was suggested to use requestAnimationFrame, but that seems to be designed solely for animations, since "The repaint may occur up to 60 times per second for foreground tabs, but may be reduced to a lower rate in background tabs." 60 times per second clearly isn't appropriate here.)

Note: See TracTickets for help on using tickets.