Opened 3 years ago

Closed 3 years ago

#2407 closed New feature (fixed)

Add a preference for de/activating the All Site auto refresh

Reported by: TulipVorlax Owned by:
Priority: low Milestone: 1.5 - Piwik 1.5
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no


The autorefresh is a bad thing when it's not wanted and there's no way to deactivate it.

Before i posted about this in the forums, i had spent some hours searching the web for a way to locally disable javascript functions that i know the name. Sadly i was unable to find anything usefull.

But i found somewhere an article that was saying that auto refresh is a bad thing on sites like Google News and the likes. Made me smile because i have a friend that yell at Google when it happen. I was unable to retreive the article.

But if it's not too hard to do, and since Matt asked me to create this ticket, adding some kind of setting about this somewhere in Piwik could be a good idea.

Now, you have to decide how to do it. I see a few possibilities :

1) A simple checkbox in user setting or directly on the All Site page to turn refreshs On and Off.

2) A text box in wich we could enter a number that would be the amount of second at wich we want the refresh to happen

3) A combobox to select predefined amounts of second (0, 30, 60, 1500, 3000)

I forgot to mention why i want to me able to deactivate it.
I sometimes keep the all site open in one tab in Firefox and open a tab for each site that had at least one visit. And when looking at Today stats, i return to the All Site tab periodically to know if there was new visits. I do this by memorising the numbers and then clicking the refresh button. If any number is different, there was new visits for a site and i can the open tab for sites that had new visits.


Change History (3)

comment:1 Changed 3 years ago by TulipVorlax

Maybe i'm blind; i dont see a way to edit; i have at least one typo...

comment:2 Changed 3 years ago by matt (mattab)

  • Component changed from Core to UI (templates, javascript)
  • Milestone changed from Feature requests to 1.5 - Piwik 1.5

I propose a simple config settings that would set number of seconds to refresh the view (similar to the Live! refresh seconds in the config file)

when set to 0, the page would not refresh

comment:3 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [4833]) Fixes #2407 - new config setting:

; In "All Websites" dashboard, when looking at today's reports (or a date range including today),
; the page will automatically refresh every 5 minutes. Set to 0 to disable automatic refresh
multisites_refresh_after_seconds = 300

Note: See TracTickets for help on using tickets.