glitchier-soc/app/javascript/mastodon/features/status/components
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
..
action_bar.js Change to correct the role of the boost button (#14132) 2020-06-25 22:44:19 +02:00
card.js Replace repetitive blurhash code with component (#14267) 2020-07-09 13:01:30 +02:00
detailed_status.js Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00