mastodon/app
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
..
chewy Fix searchable status without explicitly mentioning it (#13829) 2020-05-23 05:47:25 +02:00
controllers Fix media attachments enumeration (#14254) 2020-07-07 15:26:51 +02:00
helpers Add a visibility icon to status (#14123) 2020-06-25 22:43:59 +02:00
javascript Replace repetitive blurhash code with component (#14267) 2020-07-09 13:01:30 +02:00
lib Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191) 2020-07-01 19:05:21 +02:00
mailers Add e-mail-based sign in challenge for users with disabled 2FA (#14013) 2020-06-09 10:23:06 +02:00
models Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00
policies Add ability to delete files uploaded for settings in admin UI (#13192) 2020-03-08 16:00:24 +01:00
presenters Add user notes on accounts (#14148) 2020-06-30 19:19:50 +02:00
serializers Change design of account notes in web UI (#14208) 2020-07-07 01:24:03 +02:00
services Change User-Agent of link preview fetching service to include "Bot" (#14248) 2020-07-07 10:55:18 +02:00
validators Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
views Fix videos on public pages not using custom thumbnails (#14273) 2020-07-09 12:53:16 +02:00
workers Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00