Project

General

Profile

Feature #15919

load statistics page faster

Added by Ohad Levy almost 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Statistics
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Currently all stats are loaded at once, they can be loaded via AJAX instead.

also, the statistics code is not in great shape, making it hard to add new stats if we like.

Associated revisions

Revision 4202625d (diff)
Added by Ohad Levy almost 5 years ago

fixes #15919 - statistics page is loaded via AJAX

Also:
- refactor how statistics data is being called, now it should be trivial
to add additional charts or consume other data from it. It should make
it much easier to reuse statistics charts in other places
(e.g. dashboard) or unify how fact charts are done.
- remove unused JSON response from the statistics controller.

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3691 added

#2 Updated by Ohad Levy almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 160

Also available in: Atom PDF