hometown/app/javascript/mastodon
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
..
actions More use of next link header on account (media) timelines (#3311) 2017-05-25 17:09:13 +02:00
components Change anchor to button element (#3321) 2017-05-26 14:10:37 +02:00
containers Only load Intl data for current language (#3130) 2017-05-22 15:06:06 +02:00
features Change anchor to button element (#3321) 2017-05-26 14:10:37 +02:00
locales Norwegian translation of the onboarding page (#3303) 2017-05-25 14:06:10 +02:00
middleware Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
reducers Remove status context construction in the React side (#3331) 2017-05-26 16:34:08 +02:00
selectors Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
store Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
.gitkeep Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
api.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
base_polyfills.js Lazy load toots using IntersectionObserver (#3191) 2017-05-24 17:55:00 +02:00
emoji.js Show emoji shortname by a tooltip (#2784) 2017-05-04 15:50:09 +02:00
extra_polyfills.js Lazy load toots using IntersectionObserver (#3191) 2017-05-24 17:55:00 +02:00
is_mobile.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
link_header.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
main.js Add improved performance marks for development mode (#3297) 2017-05-25 14:09:55 +02:00
performance.js Attach ReactPerf to window for easier debugging (#3318) 2017-05-25 21:14:40 +02:00
rtl.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
stream.js Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
uuid.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00