User Story #108
Updated by Bricklou 22 days ago
As a user, I want to upload a custom avatar, so that my identity is visually recognizable across the platform.
Acceptance criteria:
* [ ] My avatar is a square picture, with no rounded corner. Without one, my initials are shown.
* [ ] I click my avatar (or drop an image on it) to choose a picture. A pen appears when I hover or focus it.
* [ ] I crop the picture to a square before it is sent, with a zoom and a preview.
* [ ] Only PNG, JPG and WebP images up to 2 MB are accepted, and I am told why a file is refused.
* [ ] I can remove my picture to go back to my initials.
* [ ] My avatar shows in the top bar and wherever I appear in the application.
* [ ] I cannot change it when my account signs in through a login provider.
* [ ] It works the same whether the instance keeps its files on a local disk or on an S3-compatible storage.