]> cat aescling's git repositories - mastodon.git/commit
Fix #3665 - Refactor timelines reducer (#3686)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 11 Jun 2017 15:07:35 +0000 (17:07 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2017 15:07:35 +0000 (17:07 +0200)
commit47bf7a8047ce59b899d147e4483168f9852eeb7c
tree79dd51ed84b1ed350cd754c8fca988dd6718a93a
parent85d405c810a3bfc146c7901d770444419f32e46f
Fix #3665 - Refactor timelines reducer (#3686)

* Move ancestors/descendants out of timelines reducer

* Refactor timelines reducer

All types of timelines now have a flat structure and use the same
reducer functions and actions

* Reintroduce some missing behaviours

* Fix wrong import in reports

* Fix includes typo

* Fix issue related to "next" pagination in timelines and notifications

* Fix bug with timeline's initial state, expandNotifications
21 files changed:
app/javascript/mastodon/actions/accounts.js
app/javascript/mastodon/actions/notifications.js
app/javascript/mastodon/actions/timelines.js
app/javascript/mastodon/containers/mastodon.js
app/javascript/mastodon/features/account_gallery/index.js
app/javascript/mastodon/features/account_timeline/index.js
app/javascript/mastodon/features/community_timeline/index.js
app/javascript/mastodon/features/hashtag_timeline/index.js
app/javascript/mastodon/features/home_timeline/index.js
app/javascript/mastodon/features/public_timeline/index.js
app/javascript/mastodon/features/report/index.js
app/javascript/mastodon/features/status/index.js
app/javascript/mastodon/features/ui/containers/status_list_container.js
app/javascript/mastodon/features/ui/index.js
app/javascript/mastodon/reducers/accounts.js
app/javascript/mastodon/reducers/accounts_counters.js
app/javascript/mastodon/reducers/contexts.js [new file with mode: 0644]
app/javascript/mastodon/reducers/index.js
app/javascript/mastodon/reducers/statuses.js
app/javascript/mastodon/reducers/timelines.js
app/javascript/mastodon/selectors/index.js