Skip to content
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] Styling Status Filter #70

Open
itsliterallymonique opened this issue Nov 12, 2024 · 0 comments · May be fixed by #73
Open

[feat] Styling Status Filter #70

itsliterallymonique opened this issue Nov 12, 2024 · 0 comments · May be fixed by #73
Assignees
Labels
Milestone

Comments

@itsliterallymonique
Copy link
Collaborator

itsliterallymonique commented Nov 12, 2024

This week, you will be styling the status filter based on Josh’s Figma Hi-Fis:
Screenshot 2024-11-12 at 1 48 00 PM

Don't worry too much about the filtering functionalities. We just want the styling correct for now!
Here is what you will do:

  1. Create a component for the style of the opened status filter (for this check what Ethan did for his TechnologyFilter component and do something similar - the props you pass in should be the same)
    a. Take a look at how ethan created this component for some help: https://github.com/calblueprint/ace-ny/pull/67/files#diff-e2af115dfcd76c74bc0e42a43ed309c7f3804e967cb5d470b80635c6ddc46c95
  2. Here are a few things to keep in mind
    a. Make sure to use styled components and the global texts!
    b. The status filter is a single-select filter
    c. This opened filter should be a div which contains a button that when clicked will close this filter, and the checkbutton status options
    d. The apply button should change color when the user selects a status to filter by!
    e. The component should look like this:
Screenshot 2024-11-12 at 1 48 33 PM
  1. Go to the Filter component, and index.tsx. You will need to call your status filter component and pass in the props like this:
    selectedTechnologies={selectedFilters.status}
    setSelectedTechnologies={filterChangeHandlers.status}
    handleButtonClick={handleButtonClick}
    icon={filter.icon}
    label={filter.label}
    currFilter={filter}
    a. What should happen is when you click on the status filter bar it will open.

If you need help / an example of how this works, check Ethan’s sprint from last week:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants