Skip to content

Conversation

@liug88
Copy link

@liug88 liug88 commented Mar 18, 2025

Search Bar and State Persistence changes

qjustinq and others added 15 commits February 25, 2025 17:54
thank you git for not working
Added useState import so I can do some testing with the toolbox
Fixed the CSS where the semester and its number would be next to each other instead I made it closer to the figma where its the semester on top then the number. Same thing for the type of semester where I put it next to the Semester number. And also moved the classes closer to the right, next time I just need to make it look better and closer to the figma.
Finished the semester block UI and matches the figma.
Added state variables that were previously in Catalog and SearchBar:
- searchResults and setSearchResults from Catalog

- searchPrompt, setSearchPrompt, showFilter, setShowFilter, filters, and setFilters from SearchBar

- Passed all these state variables to the Catalog component
Updated the Catalog component to accept the new props.
Updating the SearchBar catalog to use the props passed from App.tsx through Catalog
Now properly accepts an array of Course Search Results
Copy link

@mirmirmirr mirmirmirr left a comment

Choose a reason for hiding this comment

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

👍

@mirmirmirr mirmirmirr merged commit 50b1fae into main-preview Mar 28, 2025
1 check passed
@ramonechen ramonechen deleted the state-persistence branch April 9, 2025 20:16
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.

5 participants