Perfomatic:UI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(shrink manifest)
(does not seem necessary)
Line 58: Line 58:
**** spoke to author (John Schulz, jsno.de/) who linked [https://gist.github.com/752371 the code] behind http://jsno.de./flot/
**** spoke to author (John Schulz, jsno.de/) who linked [https://gist.github.com/752371 the code] behind http://jsno.de./flot/
**** requires a [http://www.lessaworld.com/projects/flotCanvasText/ text plugin for flot], to get the ticks into the canvas instead of flot's default of appending styled divs</strike>
**** requires a [http://www.lessaworld.com/projects/flotCanvasText/ text plugin for flot], to get the ticks into the canvas instead of flot's default of appending styled divs</strike>
** look into reducing number of points  
** <strike>look into reducing number of points  
*** flot plots way more than is actually useful when graphs are very dense, [https://groups.google.com/forum/#topic/flot-graphs/n4ErDe4Q2Rc flot group discussion]
*** flot plots way more than is actually useful when graphs are very dense, [https://groups.google.com/forum/#topic/flot-graphs/n4ErDe4Q2Rc flot group discussion]</strike>
*** could filter out points on the server side, using e.g. [http://en.wikipedia.org/wiki/K-means_clustering k-means clustering]
** look into flot alternatives
** look into flot alternatives
*** [http://highcharts.com/ highcharts]
*** [http://highcharts.com/ highcharts]

Revision as of 08:39, 12 January 2011

Design

Designed by Chris Howse

Implementation

Missing features from current design

  • dashboard ->
    • toolbar ->
      • product - not implemented
      • platforms - not implemented
      • top tests - not implemented
      • set pulldowns based on URL
    • data grid ->
      • row/column should not scroll
  • custom chart ->
    • toolbar ->
      • running time - time delta/time delta % not implemented
      • show changesets - needs design work
        • may need hgpushlog work to link directly to changesets
      • export CSV - server broken
      • link - needs url shortener
      • embed - not implemented
    • set selection range based on URL
    • add test data ->
      • put popular branches/tests/platforms on top
  • plot ->
    • y-axis should always be 0-based
  • need mapping between branches and hg repos

Performance optimizations

Testing

  • stand up vhost with old graphserver, pointing at nightly database, for QA comparison
  • set up lint and tests on Hudson
    • selenium tests (in progress)
      • show these to QA to run on their Hudson
    • qUnit/env.js unit tests for JS code
  • stand up auto-update for code (5 minutes) and DB (nightly)
  • (QA) compare actual submitted data to JSON, and confirm in interface
  • make sure proper changeset range is shown for checkins
    • check with catlee on how the tree-management script does this
    • follow-up irc convo w/ ted on catlee on changesets coalescing

Bugs

  • embed ->
    • need loading indicator for individual series
    • tooltips can be hidden by top of screen
  • custom chart ->
    • series controls change plot daterange
      • str: add multiple data series and change daterange pulldown before all are loaded