Closed
Bug 1245389
Opened 9 years ago
Closed 8 years ago
Scrolling to a log failure line should show lines both before and after the selected line
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: xidorn, Assigned: hassan)
Details
Attachments
(1 file)
Currently if you click on a failure, the viewer would put the red failure line on the very top of the log area, which is less optimal since some log above the failure line could usually be useful.
| Assignee | ||
Comment 1•8 years ago
|
||
If you have a couple of failures next to each other, putting the clicked failure in the middle might bring confusion with the other errors. The new logviewer bug 1315808 solves the scrolling frustration.
Comment 2•8 years ago
|
||
Perhaps a compromise might be to not scroll the failure line to the middle of the panel, but to say 25% of the way down?
Is independent highlight vs line number selection something that the unified log viewer supports?
Summary: The red failure line should be put in the middle instead of top → Scrolling to a log failure line should show lines both before and after the selected line
| Assignee | ||
Comment 3•8 years ago
|
||
Yes, it does support independent highlight vs line number selection. I can take care of it :)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → helfi92
Comment 4•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Attachment #8827575 -
Flags: review?(emorley)
| Assignee | ||
Comment 5•8 years ago
|
||
I put a demo of this functionality on gh-pages: https://helfi92.github.io/treeherder/ui/
Attachment #8827575 -
Flags: feedback+
Comment 6•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/bf97730f56b0577e5377f8dc5b3c84f048f8a6ec
Bug 1245389 - Log viewer: Display log lines prior to the selected line
Currently if you click on a failure, the viewer would put the red
failure line on the very top of the log area, which is less optimal
since some log above the failure line could usually be useful. This
commit will add an offset of -7px to a line number so that users can
see the log above a failure line.
Updated•8 years ago
|
Attachment #8827575 -
Flags: review?(emorley) → review+
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
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
•