SocialHackersClass10 / ChalleduApp

This repository contains the Code of the project, ChalleduApp, as a result of the collaboration between SHA-students of Class 10 & Challedu.com.
1 stars 5 forks source link

106 user ngo image upload #126

Closed Jallow9 closed 4 years ago

yuskara commented 4 years ago

I tested and working fine

Stef-Lev commented 4 years ago

Also maybe we could put the Image Upload button after the Profile Button and make all the buttons a little smaller because they break in smaller screens.

Jallow9 commented 4 years ago

Admins will not be able to upload an image to users only login users can upload image to their profiles

for the upload profile button, I will move it after the profile button. my laptop keeps giving me problems

Stef-Lev commented 4 years ago

OK, looks better now. @zannis should we use some error handling so as the app doesn't break when an admin tries to upload an image, and get some feedback that he/she is not allowed to do it?

zannis commented 4 years ago

Thanks @Stef-Lev for reviewing this. I agree, @Jallow9 lets add a check to see if the user is an admin, and if so, hide the Upload button, to avoid such unhandled errors. Thanks!