]> cat aescling's git repositories - mastodon.git/commit
Fix home regeneration (#6251)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 17 Jan 2018 22:56:03 +0000 (23:56 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2018 22:56:03 +0000 (23:56 +0100)
commit7badad7797b487b411a2ab34e0f7413741974bb4
treea0bf564a945c3dace68815b4be8aa1ca8cb14e1b
parent59797ee233db88db047773294225eb8c8701adb7
Fix home regeneration (#6251)

* Fix regeneration marker not being removed after completion

* Return HTTP 206 from /api/v1/timelines/home if regeneration in progress
Prioritize RegenerationWorker by putting it into default queue

* Display loading indicator and poll home timeline while it regenerates

* Add graphic to regeneration message

* Make "not found" indicator consistent with home regeneration
16 files changed:
app/controllers/api/v1/timelines/home_controller.rb
app/javascript/images/elephant-friend.png [deleted file]
app/javascript/images/elephant_ui_disappointed.svg [new file with mode: 0644]
app/javascript/images/elephant_ui_working.svg [new file with mode: 0644]
app/javascript/images/mastodon-not-found.png [deleted file]
app/javascript/mastodon/actions/timelines.js
app/javascript/mastodon/components/missing_indicator.js
app/javascript/mastodon/components/status_list.js
app/javascript/mastodon/features/home_timeline/index.js
app/javascript/mastodon/features/list_timeline/index.js
app/javascript/mastodon/features/ui/containers/status_list_container.js
app/javascript/mastodon/reducers/timelines.js
app/javascript/styles/mastodon/components.scss
app/services/precompute_feed_service.rb
app/workers/regeneration_worker.rb
spec/controllers/concerns/user_tracking_concern_spec.rb