instante-social/app/javascript/mastodon
Sasha Sorokin 61c07c3731
Replace repetitive blurhash code with component (#14267)
This commit replaces all unnecessarily repeated code for decoding and
embedding blurhash canvases with separate component - <Blurhash>.

Under the hood Blurhash component will use effect dependent on its
props. This gives a few benefits: it will only be re-rendered whenever
the hash or width/height/dummy props update, and will not render if
canvas won't get to the final DOM, because then effect won't fire,
which prevents weird bugs like #14257.
2020-07-09 13:01:30 +02:00
..
actions Add ability to choose media thumbnail in web UI (#14244) 2020-07-07 12:14:19 +02:00
components Replace repetitive blurhash code with component (#14267) 2020-07-09 13:01:30 +02:00
containers Fix expanded video player issues (#13541) 2020-04-25 12:16:05 +02:00
features Replace repetitive blurhash code with component (#14267) 2020-07-09 13:01:30 +02:00
locales remove unused word. (#14250) 2020-07-08 23:53:56 +02:00
middleware
reducers Add ability to choose media thumbnail in web UI (#14244) 2020-07-07 12:14:19 +02:00
selectors
service_worker
storage
store
utils Replace shortNumberFormat with <ShortNumber> (#14061) 2020-07-06 14:27:32 +02:00
api.js
base_polyfills.js
common.js
compare_id.js
extra_polyfills.js
initial_state.js
is_mobile.js
load_keyboard_extensions.js
load_polyfills.js
main.js
performance.js
ready.js
rtl.js
scroll.js
settings.js
stream.js
test_setup.js Replace to testing-library from enzyme (#14152) 2020-06-29 13:58:07 +02:00
uuid.js