Skip to content

Search page#10

Open
pranavputtagunta wants to merge 20 commits intomainfrom
search_page
Open

Search page#10
pranavputtagunta wants to merge 20 commits intomainfrom
search_page

Conversation

@pranavputtagunta
Copy link

@pranavputtagunta pranavputtagunta commented Feb 26, 2026

Summary

Refactored the monolithic Search.tsx into a modular architecture and introduced Category Card components. This update enhances search functionality with persistent recent searches and multi-criteria filtering.

Changes

-Component Refactoring: Split search logic into SearchHeader.tsx, FiltersModal.tsx, and Search.styles.ts.
-New UI Elements: Added CategoryCardBig for visual browsing and a reusable Chip component for active filters.
-Logic Improvements: Implemented a filtering engine for category, group size, duration, and energy levels.
-Assets: Integrated 11 custom SVG icons to represent activity categories.

Testing

  • Verified filter logic against mockActivities.
  • Confirmed recent search history limits and duplicate prevention.
  • Tested grid responsiveness for category cards.

Screenshots

IMG_8297
IMG_8298
IMG_8299
IMG_8300

Checklist

  • Reviewed code
  • Tested locally
  • No new warnings or errors

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.

2 participants