fedibird-fe/app/javascript/mastodon/reducers
unarist 902d9e34b4 Remove status context construction in the React side (#3331)
because it may causes flicker on the conversation when it contains blocked/muted user's status.

We use `/api/v1/statuses/{id}/context` to obtain status ids in the
conversation which filters blocked/muted user, but also uses internal
cache constructed from `in_reply_to_id` by `normalizeStatus()` in
`reducers/timelines.js` on each status loading which doesn't filter.

So statuses appears in conversation if those are cached, even those
statuses are from blocked/muted user. Then context cache will be updated
with the result of the context API and those statuses will be removed.

I have left the `normalizeStatus()` function itself which is called many
functions in the file as a placeholder for now, but maybe it should be
removed completely.
2017-05-26 16:34:08 +02:00
..
accounts.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
accounts_counters.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
alerts.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
cards.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
compose.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
index.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
media_attachments.js Prevent selection of unacceptable Content-Type files (#2910) 2017-05-08 16:49:53 +02:00
meta.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
modal.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
notifications.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
relationships.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
reports.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
search.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
settings.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
status_lists.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
statuses.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
timelines.js Remove status context construction in the React side (#3331) 2017-05-26 16:34:08 +02:00
user_lists.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00