travis-web/assets/styles
Piotr Sarnacki fc40190c29 Optimize log viewer
Till now, log viewer was rendered in handlebars, which was the simplest
solution, but it had a major drawback - every append to log caused it to
rerender which was not efficient and memory consuming.

The new approach is to make Travis.Log interpret the log and send lines
with instructions to the view, so for example if view should add a line,
it gets something like:

    { number: 1, content: '$ bundle install' }

Such approach is required to handle cases where data coming from pusher
is not actually a new line. For example output containing dots from
tests needs to be appended:

    $ rake
    ....

Such output could be sent to client in 2 chunks: "$ rake\n.." and "..".
In such situation we would need to send 3 instructions:

  { number: 1, content: '$ rake' }
  { number: 2, content: '..'     }
  { number: 2, content: '..', append: true }

The third instruction can come much later, because tests can take a
while to run, so we can't assume that each line will come in one piece.

The other scenario is \r, for example when showing progress:

    \rDownloading: 10%
    \rDownloading: 50%
    \rDownloading: 100%

Such input should be changed into such instructions:

  { number: 1, content: 'Downloading: 10%' }
  { number: 1, content: 'Downloading: 50%',  replace: true }
  { number: 1, content: 'Downloading: 100%', replace: true }

Travis.Log also supports folds, for example on bundle install, the code
was rewritten to make folds management simpler.
2012-12-04 22:57:57 +01:00
..
_mixins add broadcasts 2012-10-18 03:53:19 +02:00
app fix padding for broadcasts 2012-11-27 10:41:15 +01:00
left Fix selected indicator style for left panel 2012-10-25 16:40:52 +04:00
main Optimize log viewer 2012-12-04 22:57:57 +01:00
profile css sync and hooks buttons 2012-10-14 15:07:30 +02:00
right extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
app.sass extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
auth.sass Fix auth view for browsers with flex layout 2012-11-07 12:55:59 +01:00
layout.sass Don't hide overflow on #main. 2012-11-08 21:47:16 +01:00
left.sass Fix info icon overlapping tabs. 2012-11-12 12:10:32 +03:00
main.sass extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
maximize.sass fix assets order 2012-10-04 00:20:17 +02:00
profile.sass make sure the profile details table does not break with long translations 2012-11-22 16:42:54 +01:00
right.sass Show only first 15 elements from each queue for now 2012-11-28 00:04:23 +01:00
stats.sass extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
status.sass finally rename repository to repo 2012-10-06 20:08:46 +02:00
tabs.sass extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
top.sass abstract out styles for menu from profile 2012-11-12 12:12:57 +01:00