Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Display the time that last Archive ran "Reports were generated X seconds|minutes|hours ago" #1052

Closed
mattab opened this Issue · 8 comments

2 participants

@mattab
Owner

From email:

It would be nice to have some indication on the page how old the displayed data is (e.g. a running timer since last update?)

Proposal: record in the DB piwik_option table the time the last archive ran for each website, and display this information in the Admin screen in the website table, in a new column. Later, we can see how to integrate this in the user interface for all users to see. Proposed wording is "Today's reports were generated 155 seconds ago" or "Today's reports were generated 1 hour 5 minutes ago".

@mattab
Owner

maybe this could be displayed in the 'General settings' page, as it would be contextual with the settings available on this page (setup today's archive time to live)

@mattab
Owner

I think this is a must have now, also to work around #373

when we are look at "Today" or "current week/month/year", the UI should show the time the report was generated.

"Report generated 15 minutes ago."

increasing priority since it is easy to implement, and will help a ton with user support, since #373 is confusing to everyone and we often have to explain. I think this sentence will at least help them understand

While we do this, we could also log the output in a file and show the last lines? or record last N output in DB and read from there?

See #2473

@diosmosis
Collaborator

(In [6331]) Fixes #1052, added message describing when a report was archived to the report documentation in all table reports.

Notes:

  • Added ability to associate metadata with DataTable instances.
@mattab
Owner

Nice idea!

  • I notice the time does not display in the Pages titles/urls/entry/exit reports?
@mattab
Owner

(In [6335]) Refs #1052

  • CSS updates
  • refactored since there is already a function doing this code ;)
@diosmosis
Collaborator

(In [6337]) Fixes #1052, added report generated on message to actions datatable.

@mattab
Owner

(In [6338]) Refs #1052

@diosmosis
Collaborator

(In [6339]) Refs #1052, fix regression, other data table types dont have 'dataTable' css class.

@mattab mattab added this to the 1.12.x - Piwik 1.12.x milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.