diaspora/app/assets
cmrd Senya 8e6df0b1e3
Comments expansion refactoring
If you look at comment expand process with javascript debugger, you
will notice that at first comments get added to existing stream ("add"
event handler of model.comments gets launched because of model.comments.fetch).
Then the comment stream gets empty and then filled by the postRenderTemplate
handler.

This patch removes comments rerendering on the expansion. The fetching process is
changed so that older comments are added to the correct place, so the order
looks nice without rerendering. Thus, unnecessary job of rerendering is avoided.
2016-08-12 22:06:51 +03:00
..
images Redesign default.haml and add a podmin welcome page 2016-06-20 02:03:53 +02:00
javascripts Comments expansion refactoring 2016-08-12 22:06:51 +03:00
stylesheets Add 'no posts yet' message to empty streams 2016-08-12 12:55:06 +02:00
templates Comments expansion refactoring 2016-08-12 22:06:51 +03:00