Line highlighting and line linking in logviewer

So in https://github.com/mozilla/treeherder/pull/948 thanks to Gabriel Machado’s (:goma) fine contribution, we will soon have line highlighting and line linking in Logviewer, so users can share portions of logs with each other.

Specifically users can:

  • See the line number for a given line
  • Select an individual line and highlight it
  • Shift-select a range of lines and highlight them
  • Enter a hash and have Logviewer load that line/range
  • Share those URLs with other users via IRC or any other method

Here’s the current Logviewer:

blogLogCurrent

Coming soon to stage and production:

blogLogNew

Single line selection:

singleLineSelection

Range selection:

rangeSelection

And selection within a failure line or failure block:

selectionFailureLine

In all cases a selected line or range will be represented with a URL hash, for example #L15 or #L15-L300. The changes are now on master, and will be coming soon to stage and production.

Thank you again to Gabriel for this nice addition!

Advertisements

One thought on “Line highlighting and line linking in logviewer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s