User:Rhelmer:Graphserver Progress: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(bug)
(note about caching)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
* review and rethink current JS code
* review and rethink current JS code
** look for more places to reuse or adapt existing code
** look for more places to reuse or adapt existing code
* caching is per-session right now, should be once per session + ifmodifiedsince
* [https://bug601796.bugzilla.mozilla.org/attachment.cgi?id=480788 Dashboard]
* [https://bug601796.bugzilla.mozilla.org/attachment.cgi?id=480788 Dashboard]
* [https://bug601796.bugzilla.mozilla.org/attachment.cgi?id=480789 Custom chart]
* [https://bug601796.bugzilla.mozilla.org/attachment.cgi?id=480789 Custom chart]
Line 15: Line 16:
*** "Zoom In/Out" - see question #4
*** "Zoom In/Out" - see question #4
*** "Show Changesets" - almost working, look at how catlee's cruncher does it
*** "Show Changesets" - almost working, look at how catlee's cruncher does it
**** hardcoded "mozilla-central"
*** "Export CSV" - think graphserver already does this, find the link
*** "Export CSV" - think graphserver already does this, find the link
*** "Link"
*** "Link" - use custom bit.ly URL "mzl.la"
*** "Embed" - see question #5
*** "Embed" - see question #5
** in tooltip on hover/click point
** in tooltip on hover/click point
*** hardcoded "mozilla-central"
*** hg rev link should open in new tab
*** hg rev link should open in new tab
** hardcoded default zoom for main plot view
** hardcoded default zoom for main plot view

Latest revision as of 06:30, 23 October 2010

http://graphs-stage.testing/graph-2.html

Bug 601796 - implement new graphserver front-end design

todo

  • needs error handling
  • review and rethink current JS code
    • look for more places to reuse or adapt existing code
  • caching is per-session right now, should be once per session + ifmodifiedsince
  • Dashboard
  • Custom chart
    • toolbar selects not working - see question #1
      • "Last 7 Days" - see question #2
      • "Running Time" - see question #3
      • "Zoom In/Out" - see question #4
      • "Show Changesets" - almost working, look at how catlee's cruncher does it
        • hardcoded "mozilla-central"
      • "Export CSV" - think graphserver already does this, find the link
      • "Link" - use custom bit.ly URL "mzl.la"
      • "Embed" - see question #5
    • in tooltip on hover/click point
      • hardcoded "mozilla-central"
      • hg rev link should open in new tab
    • hardcoded default zoom for main plot view
    • overview shows all available data - see question #2
      • 90 days
    • incoming links
      • current URL should change when
        • data added/removed
        • range selection modified
      • not sure if they could/should be backwards compatible
    • resizing too small causes overview to go away forever
  • Add data
    • "Select Platform" constraint should check branches and tests
    • multi-select not working
    • hardcoded "Add n Data Series" on button
    • hardcoded "Pages" selection
    • adding the same data series twice causes visual glitch, should detect

questions

  1. how should these selects be finished and hooked up?
  2. should plot and overview show same time range?
  3. define, examples?
  4. define the zoom in/zoom out buttons (exactly how are overview and plot modified)?
  5. define embed button, is this paste-able HTML/JS?
  6. why no points on the graph?
  7. loading indicator?
  8. links - should they always open in new tabs?

suggestions

  1. put individual test/branch/platform map in "test run" results
  2. tests(!), interactions get really complicated with power-users
  3. test with real data, these datasets are too small