Magic-Fishes / Ecole-Directe-Plus

A better EcoleDirecte (unaffiliated): more pleasant, functional, and improved experience.
https://ecole-directe.plus
MIT License
34 stars 13 forks source link

feat(Settings): add the ability to change the profile picture #6

Open Truiteseche opened 9 months ago

Truiteseche commented 9 months ago

Add a setting to allow the user to change his profile picture by a picture from a link or a file from his computer. Since EDP doesn't have DB, it should probably use an image hosting service.

marceaupatu123 commented 8 months ago

Do you mean Ecole Directe+ or école directe in general? If it's on ecole directe in general, I think it goes through Charlemagne Administratif, which doesn't depend on école directe (and which the student probably doesn't have the rights to.

Truiteseche commented 8 months ago

Indeed, it would be specific to Ecole Directe Plus. I am not aware of any method that would enable us to directly change the profile picture on the ED servers. Instead, it would be a setting available only on Ecole Directe Plus, allowing users to have fun by playing with it and to hide their profile picture if they are embarrassed by it.

But as I mentioned, this setting will probably be saved in the local storage, and won't be shared through multiple devices.

marceaupatu123 commented 8 months ago

But as I mentioned, this setting will probably be saved in the local storage, and won't be shared through multiple devices.

Well, we could make a free MongoDB that could let us store images 🤷‍♂️