travis-web/assets/scripts/app
Piotr Sarnacki c05ce673bf Load incomplete records when trying to get unknown attribute
In order to minimize ajax requests, I implemented isComplete property,
which can be used to check if record is fetched from the API or if it
was just partially loaded (for example by pusher event). This is nice in
terms of requests reduction, but caries risk of showing incomplete data.

This commit fixes this situation by saving which attributes were
provided on "incomplete" load and triggering refresh when any unknown
attribute is tried to be fetched.

The implementation is really simple and will probably need refactoring,
but I would like to test it in the wild before putting much more time
into it.
2012-10-16 03:05:38 +02:00
..
controllers add an events tab 2012-10-16 02:00:24 +02:00
helpers Fix logs to always point to build or job view 2012-10-12 18:32:25 +02:00
models Merge branch 'master' of github.com:travis-ci/travis-web 2012-10-16 02:05:17 +02:00
store ok, it's DEFAULT_ENDPOINT 2012-10-10 14:16:47 +02:00
templates Merge branch 'master' of github.com:travis-ci/travis-web 2012-10-16 02:05:17 +02:00
views Merge branch 'master' of github.com:travis-ci/travis-web 2012-10-16 02:05:17 +02:00
app.coffee add autoSignIn to fix that after signOut it would always re-signin on pages that require auth 2012-10-13 15:52:27 +02:00
auth.coffee add autoSignIn to fix that after signOut it would always re-signin on pages that require auth 2012-10-13 15:52:27 +02:00
controllers.coffee add flash messages and styles 2012-10-08 16:27:55 +02:00
helpers.coffee extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
models.coffee add an events tab 2012-10-16 02:00:24 +02:00
pusher.coffee using the production pusher key with RUN_API causes tons of 404 errors 2012-10-11 17:23:32 +02:00
routes.coffee add an events tab 2012-10-16 02:00:24 +02:00
slider.coffee extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
store.coffee Load incomplete records when trying to get unknown attribute 2012-10-16 03:05:38 +02:00
tailing.coffee extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
views.coffee add an events tab 2012-10-16 02:00:24 +02:00