diaspora/diaspora — pull request #5333 by Faldrian (2014-10-11 15:29:37+00:00)
Title: Feature/4646 collapse post button

Adds an icon in the upper right corner of each opened post, visible on mouseover. Clicking the icon will collapse the post.

No tests for this feature so far included!
I tried several hours to figure jasmine out ... but gave up at some point. If anyone has a hint how to instantiate a fully initialized post (where the content_view.js has been run), I will gladly implement tests for collapsing and expanding posts.