The Ember web client for Travis CI
Go to file
Piotr Sarnacki 27fe85989a Make rendering long logs faster when rendering huge chunks at once
After change log rendering method, to append HTML elements instead of
rerendering the entire thing, the case of gradual rendering of a log
started to behave much better (because we just append new elements), but
the initial render took a bit longer, because of the fact that appending
large separate HTML elements to DOM at once is not a good idea.

In order to make the situation better I added simple optimization.
Elements are added to DocumentFragment node before inserting to DOM and
appended to DOM only after all elements are processed. That way, when
log needs to be rendered all at once, we will not do any DOM operations
until log is ready.
2012-12-05 21:29:41 +01:00
.localeapp Updated Gemfile to use localeapp-handlebard_i18n and get the latest translations 2012-12-04 00:34:34 +09:00
assets Make rendering long logs faster when rendering huge chunks at once 2012-12-05 21:29:41 +01:00
config switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
lib Extracted localeapp-handlebars_i18n to gem 2012-12-04 00:17:58 +09:00
locales Updated Gemfile to use localeapp-handlebard_i18n and get the latest translations 2012-12-04 00:34:34 +09:00
play check if readyState == 3 makes the responseText available in browsers we care about ... yes, it does 2012-10-06 17:29:16 +02:00
public Merge remote-tracking branch 'randym/i18n' 2012-12-05 11:23:09 +01:00
script update script/server to use puma 2012-10-19 00:19:06 +02:00
spec Extracted localeapp-handlebars_i18n to gem 2012-12-04 00:17:58 +09:00
.buildpacks Change buildpacks 2012-10-30 02:20:58 +01:00
.gitignore Added i18n web filters and rake task for pulling the translations down from localeapp 2012-11-22 20:47:38 +09:00
.rspec Add some color to rspec 2012-11-10 15:47:33 +01:00
.slugignore Don't ignore assets directory when building slug 2012-10-30 02:23:06 +01:00
.travis.yml Compilation is needed in order to run specs 2012-11-12 17:37:57 +01:00
Assetfile Optimize log viewer 2012-12-04 22:57:57 +01:00
config.ru allow setting token manually 2012-10-24 19:36:17 +02:00
Gemfile Merge remote-tracking branch 'randym/i18n' 2012-12-05 11:23:09 +01:00
Gemfile.lock Merge remote-tracking branch 'randym/i18n' 2012-12-05 11:23:09 +01:00
Guardfile make assetfile reusable 2012-10-03 16:34:21 +02:00
Guardfile.phantom add a guardfile for running specs 2012-07-05 00:47:05 +02:00
LICENCSE mit license 2012-10-03 13:38:40 +02:00
NOTES.txt Remove getPath/setPath from NOTES, it's already fixed 2012-08-12 13:42:43 +02:00
Procfile switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
Rakefile Extracted localeapp-handlebars_i18n to gem 2012-12-04 00:17:58 +09:00
README.md Update readme to reference new repo. 2012-10-28 00:16:35 +13:00
run_jasmine.coffee try using jasmine for specs 2012-06-25 23:58:27 +02:00
run_mocha.js try using jasmine for specs 2012-06-25 23:58:27 +02:00
seeds.sql add seeds gitignore config/travis.yml 2012-07-21 20:03:29 +02:00
travis-web.gemspec rename gemspec 2012-10-03 15:24:47 +02:00

Travis CI ember web client

Running the app

This is a static html/js app so you shouldn't need to install anything.

git clone git://github.com/travis-ci/travis-web.git
cd travis-web
open public/index.html

Running locally with a local API server:

RUN_API=1 bundle exec rackup -p 3000

Running against existing API endpoint:

API_ENDPOINT="https://api.travis-ci.org/" RUN_API=0 bundle exec rackup

Run locally, one on ci.dev and one on api.dev:

. dev.env
bundle exec rackup

Compiling assets manually

bundle exec rakep
ENV=production bundle exec rakep

Compiling assets on change

bundle exec guard