Commit Graph

33 Commits

Author SHA1 Message Date
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
Piotr Sarnacki
9976b47c93 WIP 2012-10-15 19:35:10 +02:00
Piotr Sarnacki
f43ffafcc0 Compile spec files 2012-10-15 17:14:05 +02:00
Sven Fuchs
dee3591147 some tweaks 2012-10-13 04:34:30 +02:00
Sven Fuchs
b2d0acbcf7 rename handlebars helper to travis_handlebars 2012-10-13 01:51:08 +02:00
Sven Fuchs
c6223341f4 rework the asset pipeline to use environments 2012-10-06 15:28:11 +02:00
Sven Fuchs
b34e35fbb8 improvements to the asset pipeline thanks to @twinturbo 2012-10-05 21:58:20 +02:00
Sven Fuchs
38ea058afc fix assets order 2012-10-04 00:20:17 +02:00
Sven Fuchs
d6d6ef3009 just include *.hbs 2012-10-03 18:37:42 +02:00
Sven Fuchs
d67e0b23bc make Assetfile more agnostic 2012-10-03 18:12:44 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
Sven Fuchs
9440ccaf7d make assetfile reusable 2012-10-03 16:34:21 +02:00
Sven Fuchs
4402a36c2e generate a real version hash 2012-10-01 13:11:26 +02:00
Sven Fuchs
419ace7c51 rework asset compilation 2012-10-01 12:36:06 +02:00
Sven Fuchs
ef9b34b235 fix persisting the minimized sidebar status 2012-09-23 02:22:13 +02:00
Sven Fuchs
f2c72926bd clean up styles 2012-09-18 14:18:25 +02:00
Sven Fuchs
66e2c07a80 extract _common mixin 2012-09-18 09:15:42 +02:00
Sven Fuchs
d401f76ae4 work on profile view 2012-09-10 00:52:42 +02:00
Sven Fuchs
f0103a64aa add a gemspec 2012-09-08 17:01:15 +02:00
Sven Fuchs
c3b0d5751c rearrange things 2012-07-22 17:23:35 +02:00
Sven Fuchs
0e10ad2e01 add pusher, fix some events 2012-07-22 12:57:23 +02:00
Sven Fuchs
75b2e1bd6c work on actions 2012-07-04 12:19:59 +02:00
Sven Fuchs
1db0d27458 port styles 2012-07-01 23:39:47 +02:00
Sven Fuchs
9a60e18a8a add sponsors 2012-06-30 21:13:33 +02:00
Sven Fuchs
0e361e9a25 refactor and add sidebar 2012-06-30 15:38:38 +02:00
Sven Fuchs
50ff39d5c0 go back to sc-router 2012-06-29 14:42:39 +02:00
Sven Fuchs
932219f377 yay, finally a passing spec 2012-06-26 03:56:22 +02:00
Sven Fuchs
cc49b87a97 try using jasmine for specs 2012-06-25 23:58:27 +02:00
Sven Fuchs
1d2e494371 upgrade ember to current master, use camelized attributes 2012-06-23 23:57:13 +02:00
Sven Fuchs
f7aeda897b stuff 2012-06-23 17:44:28 +02:00
Sven Fuchs
23d74a53a7 try using minispade 2012-06-22 12:14:00 +02:00
Sven Fuchs
c8246efab6 use rake-pipeline 2012-06-22 03:18:07 +02:00
Sven Fuchs
767476a8c9 remove rails 2012-06-22 00:37:43 +02:00