code4romania / war-support-un-acoperis

https://unacoperis.ro/ro
Mozilla Public License 2.0
9 stars 39 forks source link

[Must Have] Implement review option #151

Open overeha opened 2 years ago

overeha commented 2 years ago

The users must be able to add a review to their host, respectively their guest. This review should be displayed on their profile for the admin to be able to see if there are any issues with any of the hosts or refugees. The review should be:

overeha commented 2 years ago

Every Refugee and every Host has a profile and an account. Once a Refugee has been allocated to a Host then, if the Refugee did stay at that host they should be able to go into their account, click on the Hosts profile (currently a Refugee can see in his Admin the Host he is allocated to) and he should be able to post a review at the bottom of the page in a simple box.

The Refugee profile is accessible, after log in, by clicking on the username in the main menu and selecting my profile. In his profile, the Refugee can see his requests, the status of his requests and the host he has been allocated to and the host profile.

I am afraid I cannot provide dummy data for users right now as I do not have access to that and the main dev team is currently unavailable. If this is a blockage, I could generate data tomorrow and we can postpone this feature for a later date.

cstns commented 2 years ago

i'll take it

cstns commented 2 years ago

There's still some fine tuning left to do on the admin side: image

The user's page before leaving a comment: image

The user's page after leaving a review: image

cstns commented 2 years ago

https://github.com/code4romania/war-support-un-acoperis/pull/165 solves the part where refugees get to review their accommodation but the inverse should be implemented as well where hosts get to review their guests. This is not possible yet due to the fact that hosts don't have a view where they can see their guests. Once that view is made available the rating/review system can be easily extended.

overeha commented 2 years ago

@gheorghelupu17 is this implemented already? can we test and then push to production if it works. Please indicate if this is merged so we can properly test it.

gheorghelupu17 commented 2 years ago

@gheorghelupu17 is this implemented already? can we test and then push to production if it works. Please indicate if this is merged so we can properly test it.

No, we need to make a rebase and retest @sherbastian can you manage this?