Last modified: 2014-03-25 01:09:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63293, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61293 - Click logging slows down navigation
Click logging slows down navigation
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-13 01:34 UTC by Juliusz Gonera
Modified: 2014-03-25 01:09 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Juliusz Gonera 2014-02-13 01:34:15 UTC
We use event logging to log clicks in left nav. The problem with it is that we don't redirect to the given link until EL request finishes. Usually it's fast, but on a mobile connection it can take up to a few seconds.

There should be either a hard limit on the EL request (500ms?) or EL should be done server-side or after the destination page is loaded (by hijacking the link with a query param or a hash).
Comment 1 Bingle 2014-02-14 17:53:39 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1702
Comment 2 Jon 2014-02-27 22:25:18 UTC
Let's change this as follows:
* When clicking on something - instead of using async event logging set something in localStorage and then on the subsequent page read this and event log it. This will also clean up data for cases where a user clicks on a link and then changes their mind and clicks on another link. In the current method both links are clicked in this new one only the 2nd link (the visited page) will be logged.
Comment 3 Gerrit Notification Bot 2014-03-04 19:20:12 UTC
Change 116035 had a related patch set uploaded by Jdlrobson:
Delay EventLogging click track until next page load

https://gerrit.wikimedia.org/r/116035
Comment 4 Gerrit Notification Bot 2014-03-25 01:09:27 UTC
Change 116035 merged by jenkins-bot:
Delay EventLogging click track until next page load

https://gerrit.wikimedia.org/r/116035

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links