chinwagsocial/app/javascript
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
..
fonts Fix local fonts and change font-face values (#2877) 2017-05-07 15:23:06 +02:00
images Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
mastodon Remove status context construction in the React side (#3331) 2017-05-26 16:34:08 +02:00
packs Add localization of datetime in public page (#3296) 2017-05-25 14:09:25 +02:00
styles Change anchor to button element (#3321) 2017-05-26 14:10:37 +02:00