- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3
feat: Creates FilterDropdown and RefineSearchPanel #34
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Copilot <[email protected]>
Have to finish and add the refine search dropdown for phone - maybe desktop as well.
- prepares the files for PR
| ❌ Deploy Preview for ucla-components-storybook failed. Why did it fail? →
 | 
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.
Pull Request Overview
This PR creates three new components: FilterDropdown, RefineSearchPanel, and EffectSlideToggle, along with a YearRangeFilter component. These components work together to provide a comprehensive filtering interface for search functionality.
- Creates FilterDropdown component for handling multiple filter options with checkbox selection
- Adds RefineSearchPanel as a wrapper component with collapsible functionality
- Implements EffectSlideToggle for smooth slide animations using Web Animations API
- Includes YearRangeFilter component for date range selection with dual sliders
Reviewed Changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description | 
|---|---|
| FilterDropdown.vue | Core filtering component with option selection and slot support | 
| RefineSearchPanel.vue | Wrapper component that provides collapsible panel for filters | 
| EffectSlideToggle.vue | Reusable animation component for smooth slide transitions | 
| YearRangeFilter.vue | Specialized range input with dual sliders for year selection | 
| _*.scss | Styling for all new components with theme support | 
| *.stories.js | Storybook documentation and examples for all components | 
| *.spec.js | Test specifications for component functionality | 
| package.json | Updates design tokens dependency version | 
| index.ts | Exports new components for library consumers | 
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| background-color: var(--color-white); | ||
|  | ||
| color: var(--color-secondary-grey-05); | ||
| font-weight: 500; | 
    
      
    
      Copilot
AI
    
    
    
      Sep 10, 2025 
    
  
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.
The font-weight property is declared twice on lines 31 and 34 with different values (500 and 400). This creates conflicting styles where the second declaration will override the first.
| font-weight: 500; | 
| font-weight: 500; | ||
| font-size: 18px; | ||
| font-family: var(--font-secondary); | ||
| font-weight: 400; | 
    
      
    
      Copilot
AI
    
    
    
      Sep 10, 2025 
    
  
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.
The font-weight property is declared twice on lines 59 and 62 with different values (500 and 400). This creates conflicting styles where the second declaration will override the first.
…via the arrow inputs - adjusts the spec.js file - adjusts the component and its css to make room for the min/max slider handles when they are very close next to each other,
- reverts the limiting feature of the filers-dropdown - updates the stoires for the also updates year-range-filter - adds the filter prefixes - renames the component and it's files..
Component Created: FilterDropdown.vue
Component Created: RefineSearchPanel.vue
Component Created: EffectSlideToggle.vue
Stories: ~/stories/FilterDropdown.stories.js
Stories: ~/stories/RefineSearchPanel.stories.js
Stories: ~/stories/EffectSlideToggle.stories.js
Spec: ~/stories/FilterDropdownspec.js
Spec: ~/stories/RefineSearchPanel.js
Spec: ~/stories/EffectSlideToggle.js
Notes:




Checklist:
library-website-nuxt dev server