Closed
Bug 1112462
Opened 10 years ago
Closed 8 years ago
Error on ID Loading Bar
Categories
(Content Services Graveyard :: Interest Dashboard, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: lconnolly, Unassigned, Mentored)
Details
(Whiteboard: [lang=js])
Attachments
(1 file)
181.27 KB,
image/png
|
Details |
Noticed this error on the Interest Dashboard loading bar. Referring to the "NaN%" in the screenshot. See attached.
Comment 1•10 years ago
|
||
Thanks for filing, Lauren. Did the loading bar get stuck or did it disappear after you saw this? Does refreshing make it disappear? Did this appear when you switched away from the interest dashboard tab and switched back? Or when you opened it for the first time?
Any more details on when/how this appeared would be great, thanks!
Flags: needinfo?(lconnolly)
Reporter | ||
Comment 2•10 years ago
|
||
Upon opening the interest dashboard tab, the loading bar got stuck and did not disappear until I refreshed the page.
Flags: needinfo?(lconnolly)
Comment 3•10 years ago
|
||
Some pointers to progress bar functionality which might be a good spot to start looking:
https://github.com/mozilla/interest-dashboard/blob/master/data/about-you.js#L70
https://github.com/mozilla/interest-dashboard/blob/master/data/charts/InterestDashboard.js#L636
Mentor: msamuel
Whiteboard: [lang=js]
Comment 4•10 years ago
|
||
I would like to work on this bug. Can you provide some other pointers ?
Comment 5•10 years ago
|
||
This bug is a little tricky. I suspect that the culprit is a potential division by 0 here: https://github.com/mozilla/interest-dashboard/blob/master/data/about-you.js#L73
You probably want to start by reproducing the problem by finding out when/why $scope.daysLeftStart would be set to 0. Perhaps this happens because we attempt to fetch more data and none exists. Or perhaps it's because we do not set/reset the value of $scope.daysLeftStart. You'll need to do a bit of debugging here.
Once you're able to reproduce the bug and have identified a cause, the solution may be as straight forward as resetting a variable or not displaying the progress bar when nothing has been fetched.
Comment 6•8 years ago
|
||
Sorry, this project is no longer active. You can find other js bugs here: https://www.joshmatthews.net/bugsahoy/?js=1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•