Mouse wheel zoom makes graph go white

RESOLVED FIXED

Status

Testing Graveyard
Eideticker
RESOLVED FIXED
6 years ago
7 months ago

People

(Reporter: BenWa, Unassigned)

Tracking

Details

(Whiteboard: [good-first-bug][lang=javascript][mentor=wlach])

(Reporter)

Description

6 years ago
STR:
1) Mouse over the graph
2) Use the mouse wheel to scroll. Graph goes white and the labels disappear.

Jeff told me that you could double click to zoom to work around this issue.
http://people.iola.dk/olau/flot/examples/navigate.html works correctly for this case, which indicates that the bug is in my code rather than the library.

This would be a nice easy bug for someone to work on if I don't get to it first.
Whiteboard: [good-first-bug][lang=javascript][mentor=wlach]
(Reporter)

Comment 2

6 years ago
Please link to the source code of interested and deployment instruction for the front end for mentored bugs.
Source code is here:

http://github.com/mozilla/eideticker

Instructions to fix:

* Checkout source code
* Download a copy of data.json from http://wrla.ch/eideticker/dashboard/data.json, put it in `eideticker/src/dashboard/`
* Load `eideticker/src/dashboard/index.html`, reproduce the issue
* Edit `eideticker/src/dashboard/index.html` or other included javascript in `eideticker/src/dashboard/js` to fix problem
* Create git diff
* Win!

Comment 4

6 years ago
i'm looking to make my first contribution to mozilla and thought this might be a good place to start. you mind helping me start out? i'm really new to all this

sam
(In reply to sam from comment #4)
> i'm looking to make my first contribution to mozilla and thought this might
> be a good place to start. you mind helping me start out? i'm really new to
> all this
> 
> sam

Hi Sam,

Sorry for the late response. Yes, of course we'd be happy to help you start out with this. Either reply on the bug or join irc.mozilla.org #ateam and look for wlach or mdas!
(Reporter)

Comment 6

6 years ago
I'm sorry but this has just been fixed yesterday I forgot to close out the bug.
https://github.com/bgirard/eideticker/commit/b4927cb02090c7246395a225ee5af121bb63afdf

Sam if you're still interested in helping William can help you find a similar bug?
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED

Updated

7 months ago
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.