Opened 2 years ago

Closed 2 years ago

#2840 closed New feature (fixed)

Visitor Log: De-duplicate repeated page views

Reported by: Juerd Owned by:
Priority: major Milestone: 1.7 Piwik 1.7
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description

On a certain site in our Piwik, some users are particularly happy with their F5 buttons. They reload the page that lists the new forum posts, sometimes dozens of times in a row, waiting for new messages to arrive.

Since I couldn't find a de-duplication feature in Piwik, I hacked one in jQuery. It does its work unconditionally, since we have no need for configurability.

Attached are a patch and a screenshot of what the patched Visitor Log looks like.

Attachments (2)

piwikrepeat.png (62.9 KB) - added by Juerd 2 years ago.
Screenshot of the Visitor Log with the proposed feature
piwikrepeat.diff (2.1 KB) - added by Juerd 2 years ago.
Patch of live.css and visitorLog.tpl

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by Juerd

Screenshot of the Visitor Log with the proposed feature

Changed 2 years ago by Juerd

Patch of live.css and visitorLog.tpl

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

  • Component changed from Core to UI (templates, javascript)
  • Milestone set to 1.7 Piwik 1.7
  • Priority changed from normal to major

Juerd, this is an interesting UI problem solved in such a nice & easy way!

We will definitely include it in a next release! Thanks for this great contrib.

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

  • Summary changed from De-duplicate repeated page views to Visitor Log: De-duplicate repeated page views

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

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

(In [5784]) Fixes #2840

  • Kuddos Juerd for patch
  • Changed to "append" instead of prepend so that it is less visible / eye catching
  • Changed color to standard grey & added tooltip for claririty / usability
Note: See TracTickets for help on using tickets.