Closed asaunier closed 8 years ago
Could we inspire for instance from the Trello activity feed?
I haven't started thinking about the implementation. But maybe it would make sense to use a framework to manage the activity feed, e.g. https://github.com/tschellenbach/Stream-Framework
For infinite scrolling see https://github.com/c2corg/v6_ui/issues/21
But maybe it would make sense to use a framework to manage the activity feed, e.g. https://github.com/tschellenbach/Stream-Framework
The Stream framework looks interesting: https://getstream.io/docs/#social-network Depending on what exactly we need, this might be a good option.
Replaced by https://github.com/c2corg/v6_ui/issues/625
This issue gives some details, suggestions and hypothesis concerning the homepage.
Goals of the homepage
Guest vs authenticated users
A similar homepage is served for both types of users: a feed of activity, using a "cards" layout. The main differences are:
Questions
Suggested simplifications
(for a first version?)
Feed
See also list pages for common approaches:
Suggested implementation
The homepage must be fast. Even though its content will greatly vary for authenticated users. Anonymous users will see the same feed at a given time (could we then use Varnish and cache the page).
If the feed is loading using an AJAX request (+ some others when scrolling down), the main HTML page generated by Pyramid/Mako will be the same for all => dogpile/varnish cached? It depends if search engine indexing from the homepage is important.
Data must come from a dedicated "feed" table, to avoid making complicated SQL queries with joins etc.. Its attributes could be :
Actions such as :
TODO
API:
UI: