Dorm review frontend #102

Open
opened 2026-09-21 02:24:09 +00:00 by NikhilR · 1 comment
Member

Overall Objective

We need a way for users to input ratings for their dorm. This issue involves making a front end to collect ratings. You will need to modify the building details page, and create a new page to handle imputing ratings. Looking at the preferences survey UI will be very helpful, as we want to keep a unified design style.

  1. Add a button to the building details page that says "Write a Review" and link it to the rating survey
  2. Create a new page to display the rating survey, and add it to routes.ts as /rating
  3. Create the survey following the same style as the preferences survey
  4. We need to collect the following data
  • what dorm is being reviewed
  • when did the student live in that dorm
  • rating for amenities
  • rating for atmosphere
  • rating for dorm quality
  • overall rating

Suggested Approach

  1. open housing/apps/frontend/src/reviews/page.tsx
  2. using the survey in housing/apps/front/src/survey, look at and reuse components, it should only need to be one page, but if it's long enough we can make it multiple
  3. use the DropdownButton, and Slider components to collect the data
  4. you don't need to push the data to the backend yet, that can be a seperate issue, but if you want to integrate it you can

Help & Resources

### Overall Objective We need a way for users to input ratings for their dorm. This issue involves making a front end to collect ratings. You will need to modify the building details page, and create a new page to handle imputing ratings. Looking at the preferences survey UI will be very helpful, as we want to keep a unified design style. 1. Add a button to the building details page that says "Write a Review" and link it to the rating survey 2. Create a new page to display the rating survey, and add it to routes.ts as /rating 3. Create the survey following the same style as the preferences survey 4. We need to collect the following data - what dorm is being reviewed - when did the student live in that dorm - rating for amenities - rating for atmosphere - rating for dorm quality - overall rating ### Suggested Approach 1. open housing/apps/frontend/src/reviews/page.tsx 2. using the survey in housing/apps/front/src/survey, look at and reuse components, it should only need to be one page, but if it's long enough we can make it multiple 3. use the DropdownButton, and Slider components to collect the data 4. you don't need to push the data to the backend yet, that can be a seperate issue, but if you want to integrate it you can ### Help & Resources - [README](../../ScottyLabs/housing/src/branch/main/README.md) - [Contributing Guidelines](../../ScottyLabs/housing/src/branch/main/docs/CONTRIBUTING.md)
Member

@NikhilR Please rewrite then change to stage/ready

@NikhilR Please rewrite then change to `stage/ready`
kluoxx self-assigned this 2026-09-25 17:47:24 +00:00
kluoxx removed their assignment 2026-09-26 21:56:08 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/housing#102
No description provided.