Closed Bug 1203716 Opened 9 years ago Closed 7 years ago

Size/render the log-line container correctly with long pre-formatted lines

Categories

(Tree Management :: Treeherder, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1315808

People

(Reporter: jfrench, Assigned: goma)

References

Details

Attachments

(1 file)

A follow-up to bug 1201235, if possible we should calculate the log line container correctly with long lines, now that they are pre-formatted.

Currently, the container stops short.

The grey/white lines and the log-line container should encompass the entire line length.

(related property)
https://github.com/mozilla/treeherder/blob/master/ui/css/logviewer.css#L92
Attached image longLines
Per screen grab.
Hey. I'd like to work on this bug :)
Thanks :goma! Feel free to work on this after bug 1203698 is fixed, unless this has to be fixed first to support it.
Assignee: nobody → gbrmachado
Status: NEW → ASSIGNED
Hey :jfrench.
Just a small question about this bug.
It seems that I have to get the log-container width value by Script, and then pass this value to the log-line for both error lines, and log-selected lines, right?
Or is there a way to do it by CSS??

Thanks
Flags: needinfo?(tojonmz)
It's possible there might be a css solution. I did a google search just now for 'pre text outside container' and there seem to be quite a few discussions on it. I'll let you dig around. If not go ahead locally test the alternate solution you're proposing; if it's identical, loads as quickly, resizes correctly, go ahead and open a PR and :camd can review it :)

Keep in mind, each time you load a new log "chunk" when scrolling, the loaded line lengths may differ. That may impact your the first proposed solution, I'm not sure. But it is a test case to check.
Flags: needinfo?(tojonmz)
Hi Gabriel, are you still working on this?
No problem if not, just wanted to update the status of this bug :-)
Hi emorley.
I've not been working on this bug as I've been quite busy for the last months.
I'll have free time again in two weeks though(finally \o/ ) and I'm planning to back to contribute with the ateam again.
So, basically. I can work on this bug again in two weeks.
I believe the new unified log viewer handles this case fine.
If there are still issues, they'll need to be filed against it instead:
https://github.com/taskcluster/unified-logviewer/issues
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Component: Treeherder: Log Viewer → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: