Skip to content

finishes search feature with multiple filters and sorting#96

Open
taha-qam wants to merge 4 commits intoCSES-Open-Source:devfrom
taha-qam:feature/search
Open

finishes search feature with multiple filters and sorting#96
taha-qam wants to merge 4 commits intoCSES-Open-Source:devfrom
taha-qam:feature/search

Conversation

@taha-qam
Copy link

@taha-qam taha-qam commented Jan 28, 2026

Changes

  • Added filters for categories (can have multiple categories)
  • Added filters for price (in a range)
  • Added filters for condition (new, used, and more)
  • Added sort option for price (ascending or descending)
  • Added sort option for data added (newest to oldest)
  • Added clear filters option to go to default state
  • Worked on frontend, got a semblance of figma design for marketplace search
  • Changed colors to match figma in config file (ucsd-gold, ucsd-blue, etc)
  • Added dropdown for filters and for categories, works fine and in tandem
  • Moved sorting to under the marketplace search to match figma design
  • Added colors and LowPriceCenter title matching figma design
image image image image image image

Testing

I ran the code and tested search options, filters myself with products. To make sure it would work with Abas's code, I copied his changed files into my code, and made any changes needed in my code to have it work with his. From what I have seen my filtering/sorting logic works with his frontend.

AS OF 2/18: Code backend works with Abas's code, frontend should not interfere with his work. Tested my features and they work as expected

  • TODO (AS OF 2/18)
  • search in tandem with filtering/sorting (right now one or the other)
  • fix up UI to match with addProduct, and update with new UI changes
  • maybe clean up UI a bit more

Tracking

Build feature for searching products by name, category, and price #64

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.

1 participant