Opened 3 years ago

Closed 3 years ago

#1829 closed Bug (fixed)

Improve UI speed: cancel ajax requests on menu click

Reported by: matt Owned by:
Priority: normal Milestone: Piwik 1.2
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description

Currently, if you click on a menu item, current outstanding ajax requests are not aborted, and the new page will only load after the previous ajax requests have returned (depending on the browser concurrent connexion settings, etc.).

The most common use case is:

  • open Piwik
  • while dashboard is loading (many http requests queued)... user clicks on a different menu item
  • The report displays 'loading...' but the numerous dashboard http requests are still being processed.
  • the report user requested finally loads

Instead, when clicking on a menu item, all previous ajax requests should be cancelled and the new Ajax requests for the requested report should load directly.

Change History (1)

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

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

(In [3666]) Fixes #1829

Note: See TracTickets for help on using tickets.