Closed
Bug 1210487
Opened 9 years ago
Closed 9 years ago
log viewer: selected lines don't always scroll to view on initial page load
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: camd, Assigned: goma)
Details
Attachments
(1 file)
Hit this with:
https://treeherder.mozilla.org/logviewer.html#?job_id=15058748&repo=mozilla-inbound#L142-L143
It should bring line 142 into view on first page load, but it's off screen
Reporter | ||
Comment 1•9 years ago
|
||
Hey Goma: if you get any time, would you be up for looking into this?
Reporter | ||
Updated•9 years ago
|
Summary: select lines off page don't scroll to view on initial page load → log viewer: selected lines don't always scroll to view on initial page load
As a guess, since it didn't pre-load the failure chunk (since it didn't parse a failure out of the raw log), it didn't jump to the selected line?
Assignee | ||
Comment 3•9 years ago
|
||
https://github.com/mozilla/treeherder/blob/master/ui/partials/logviewer/lvLogSteps.html#L24
The scroll function is called only in error cases.
I can work on this. :)
Assignee | ||
Comment 4•9 years ago
|
||
I tested for a while. It seems that it's working fine now.
Attachment #8668664 -
Flags: review?(cdawson)
Reporter | ||
Comment 5•9 years ago
|
||
Thanks! I'll review this first thing tomorrow morning.
Reporter | ||
Comment 6•9 years ago
|
||
Dang, I won't have time this morning before I head to my Dr. appt. I'll hopefully get to this this afternoon.
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8668664 [details] [review]
Link to Github Pull Request
Goma-- The fix works great! Thanks! But would you be able to do the minor code-cleanup I mentioned in the review. Then I can merge this.
Thanks for the quick turn-around! :)
Attachment #8668664 -
Flags: review?(cdawson)
Assignee | ||
Comment 8•9 years ago
|
||
Hey Camd. I've changed it on github, I don't know if you saw it.
I've been facing some problems with my internet last week, and I'll move on to another city next week. But as soon as everything is fine, I'd like to work on the 'loading data from pulse' that you told me on Irc.
Flags: needinfo?(cdawson)
Comment 9•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/fb70245edd22ca7c340dcb3d4860b99df8cb0ec6
Bug 1210487 - log viewer: selected lines don't always scroll to view on initial page load
https://github.com/mozilla/treeherder/commit/c8a966dc94a28c13551531e3f269e0b369b100ae
Merge pull request #1026 from gbrmachado/Bug-1210487
Bug 1210487 - log viewer: selected lines don't always scroll to view …
Reporter | ||
Comment 10•9 years ago
|
||
Thanks Gabriel! Great work! I merged this just now. So it should go to stage, and then production on our next set of pushes.
I look forward to chatting with you more about the pulse stuff. :)
Reporter | ||
Updated•9 years ago
|
Assignee: nobody → gbrmachado
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(cdawson)
Resolution: --- → FIXED
Updated•3 years ago
|
Component: Treeherder: Log Viewer → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•