Skip to content

Conversation

@CasperL1218
Copy link
Contributor

@CasperL1218 CasperL1218 commented Mar 24, 2025

Summary

This pull request is the implementation of the HomePage and SearchResult page redesign, including the frontend changes as well as the relevant backend structural changes.

  • Implemented HomePage and SearchResult page redesign, including navigation bar, search bar, apartment cards, filter and map
  • Implemented backend for filter search and apartment sorting
  • Implemented backend for displaying apartment pinning information on the Google map display

Test Plan

PR_vid_1.mov
PR_vid_2.mov

These videos show the user experience flow of the new home page and search result page, demoing the use of the search bar, the filter, and new apartment cards, and the interactive map.

Notes

  • The following task could be the refinement of mobile-specific design, which could significantly improve and achieve a comprehensive user experience.

Breaking Changes

  • Page routing will be changed: the location pages will no longer be active pages. Instead now the homepage search and view more button clicks all links to the search result page.
  • Now the backend endpoint for getting apartment data also conduct a first step sorting on top of the frontend sorting to achieve correct initial search results based on certain sorting metrics (such as closest distance to campus).
  • Database document type change: addition of distanceToCampus field to the building collection documents

- Implemented dummy filter panel
- Implemented filter section component
- Implemented filter information control
@dti-github-bot
Copy link
Member

dti-github-bot commented Mar 24, 2025

[diff-counting] Significant lines: 3944. This diff might be too big! Developer leads are invited to review the code.

CasperL1218 and others added 6 commits March 23, 2025 22:49
- Implemented most loved and most reviewed sorting apartment functionalities
- Implemented HomePage dummy apartment card rows
- Added new /api/search-with-query-and-filters endpoint for filtered search
- Added support for filtering by location, price, bedrooms, and bathrooms
- Displayed property details in apartment cards for testing
- Fixed consistent-return linting issues in backend endpoints
- Added missing price property to add building script
- Implemented NavBar redesign
- Implemented homepage header redegisn
- Implemented apartment card redegisn
- Implemented new large apartment card
- Implemented new home page apartment card row design
CasperL1218 and others added 3 commits April 27, 2025 00:40
- Implemented the home page search bar, filter, apartment card rows
- Implemented the search result page filters, apartment card grids, map
@ggsawatyanon
Copy link
Contributor

Great job, Casper, you’ve made impressive progress this semester with the new features! The home page, filtering, and search results page feature is a complex task which required altering many different parts of the codebase so a massive good job for this PR. Looking forward to seeing the completed mobile version and seeing the new features on the prod site!

@CasperL1218 CasperL1218 changed the title <WIP> Home Page Backend Redesign Home Page and Search Result Page Re-Design May 4, 2025
@CasperL1218 CasperL1218 requested a review from ggsawatyanon May 4, 2025 23:13
Copy link
Contributor

@ggsawatyanon ggsawatyanon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, Casper. This feature has been in the works for a while and represents a big milestone for CU Apts! There are a few bugs that we can work on in the new semester which relate to filtering and some UI issues. Overall though, great job on this massive feature!

@ggsawatyanon ggsawatyanon merged commit bc63f97 into main Aug 5, 2025
4 checks passed
@ggsawatyanon ggsawatyanon deleted the home-page-redesign-backend branch August 5, 2025 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants