bounswe / bounswe2023group2

Disaster Response Platform
9 stars 2 forks source link

Mo/feature/upload-document #876

Closed cahidenes closed 9 months ago

cahidenes commented 9 months ago

Upload document feature is implemented. A user can upload a document to prove his skill. There is an attachment icon in the skill part of the user profile. A user can attach a file.

image

This PR resolves #777

egecans commented 9 months ago

I had a UI issue when I started the program, after I uploaded a document it still continues Screenshot 2023-12-25 at 05 14 45 I also can't reach that image but I can see it successfully. This may originate because of my device (because it's an Android POS device :D) Screenshot 2023-12-25 at 05 16 11

cahidenes commented 9 months ago

The UI error is because I am setting hint instead of text. Setting text has a disadvantage of making the spinner only one choice (if the user wants to select other choices, he/she need to delete the text first). I chose hint before, now I changed this to text. Also I could not reproduce the second error. I can see the downloaded images on my physical android device.

egecans commented 9 months ago

Ok, now I can see that image and that error is fixed. However there are still some errors in Edit Profile, one of which is keeping profile visibility, it couldn't change although I changed it. Can you quickly fix it ?