-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] [style] Create and Style Filters Dropdown #67
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made one comment on making a separate filter component. Will comment on the styling once you push your final changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the quick styling changes I commented on. Then you're good to squash + merge!
I realized some parts of the Filter component wasn't generalizable, specifically the handlers. I created |
handleButtonClick={handleButtonClick} | ||
icon={filter.icon} | ||
label={filter.label} | ||
currFilter={filter} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does currFilter do?
components/Filter/styles.ts
Outdated
import { FilterHeadingUnused } from '@/styles/texts'; | ||
|
||
export const FilterBackgroundStyles = styled.div<{ isActive: boolean }>` | ||
margin-right: 2%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you have to make the changes here and below where I commented. The styling still does not look like josh's figma hi-fis
What's new in this PR
Description
FilterBar
to be individualMapViewScreen
componentTechnologyDropdown
componentTechnologyDropdown
component to render on top of the "Technology" filter button upon clicking "Technology" filter buttonFilters
type to hold all possible changes from "Status", "Technology", "Project Size", and "Location" filter dropdownsSome relevant stuff I created:
handleButtonClick
- a function that takes in a filter and allows for 1. toggling the dropdown bar and 2. any other action we want to implementfilterChangeHandlers
- a variable that holds all the handler methods for each filterFilter
- a component that will hold all the dropdowns of each filterScreenshots
How to review
Next steps
Relevant links
Online sources
Related PRs
CC: @itsliterallymonique