1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
kontrollanten
d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz
6b5f72beda
Move typescript utils in its own directory 2021-12-16 18:04:16 +01:00
Chocobozzz
79db409a41
More robust actor image lazy load 2021-06-14 16:14:45 +02:00
Chocobozzz
16c016e8b1
Stricter models typing 2021-05-12 14:12:14 +02:00
Chocobozzz
7d9ba5c089
Cleanup models directory organization 2021-05-11 11:32:31 +02:00
Renamed from server/models/account/actor-image.ts (Browse further)