]> cat aescling's git repositories - mastodon.git/commit
Paginate ancestor statuses in public page (#7102)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Wed, 11 Apr 2018 10:35:09 +0000 (19:35 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 11 Apr 2018 10:35:09 +0000 (12:35 +0200)
commit519119f657cf97ec187008a28dba00c1125a9292
treef2ee862acd26c65189a0a40df34b60066e26c1ec
parentd9b62e34da0c0238176f27557ac7b953da94df7e
Paginate ancestor statuses in public page (#7102)

This also limits the statuses returned by API, but pagination is not
implemented in Web API yet. I still expect it brings user experience
better than making a user wait to fetch all ancestor statuses and flooding
the column with them.
app/controllers/api/v1/statuses_controller.rb
app/controllers/statuses_controller.rb
app/javascript/styles/mastodon/stream_entries.scss
app/models/concerns/status_threading_concern.rb
app/views/stream_entries/_status.html.haml
spec/models/concerns/status_threading_concern_spec.rb
spec/views/stream_entries/show.html.haml_spec.rb