travis-web/assets/scripts/app
Piotr Sarnacki 985e218981 Fix odd behavior on running jobs list and on queued jobs list
In order to not load too many repositories when not needed I was using
construct of repoData on Job and Worker models. repoData was a simple
object with id and slug attributes, which was used to generate url for a
repo. That way I didn't have to instantiate Repo object for generating
urls. The problem is that our API does not return repositorySlug along
with Job record, so the value of repositorySlug was overwritten and in
consequence repoData was becoming empty.

I could change the API, but I feel that the whole repoData concept is
flawed. A bit better solution is to load incomplete repository data into
the store (just an id and a slug) and then instantiate repo record - as
long as it will not need to provide other fields than an id and a slug,
we will not have to do an ajax request.
2013-05-15 17:23:53 +02:00
..
controllers A few improvements for tabs on repos list 2013-04-30 02:45:16 +02:00
helpers Properly display matrix keys when build does not have all keys 2013-04-06 01:48:32 +02:00
models Fix odd behavior on running jobs list and on queued jobs list 2013-05-15 17:23:53 +02:00
store Changes for ember-data revision 12 2013-03-08 17:04:44 +01:00
templates Fix odd behavior on running jobs list and on queued jobs list 2013-05-15 17:23:53 +02:00
views Revert "Revert "Revert "Remove sidebar elements, which need to query API 2013-05-15 17:23:52 +02:00
app.coffee Log router transitions 2013-05-15 17:23:52 +02:00
auth.coffee sign out before resetting app 2013-05-15 17:23:51 +02:00
controllers.coffee Revert "move log subscrition to a log controller" 2013-03-14 10:07:35 +01:00
helpers.coffee Fixed I18n handlebars helpers to update when locale changes 2012-12-11 08:54:43 +09:00
models.coffee Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00
pusher.coffee move log subscrition to a log controller 2013-03-06 19:59:59 +01:00
routes.coffee Router changes for new ember.js 2013-05-15 17:23:50 +02:00
slider.coffee Make the app work with disabled cookies 2012-12-10 17:37:09 +01:00
store.coffee Improve log handling 2013-03-22 01:25:23 +01:00
tailing.coffee Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
views.coffee Set container on View 2013-05-15 17:23:53 +02:00