Skip to content

Conversation

@Sveb
Copy link

@Sveb Sveb commented Sep 10, 2025

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:
Screenshot 2025-09-10 at 15 42 53
Screenshot 2025-09-10 at 15 43 10
Screenshot 2025-09-10 at 15 43 20
Screenshot 2025-09-10 at 15 43 32

Checklist:

  • I checked that it is working locally in the dev server
  • I checked that it is working locally in the storybook
  • I checked that it is working locally in the
    library-website-nuxt dev server
  • I added a screenshot of it working
  • UX has reviewed and approved this
  • I assigned this PR to someone on the dev team to review
  • I used a conventional commit message
  • I assigned myself to this PR

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for ucla-components-storybook failed. Why did it fail? →

Name Link
🔨 Latest commit 13e5b57
🔍 Latest deploy log https://app.netlify.com/projects/ucla-components-storybook/deploys/6903e5f5d23fa80007f283b3

Copy link

Copilot AI left a 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;
Copy link

Copilot AI Sep 10, 2025

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.

Suggested change
font-weight: 500;

Copilot uses AI. Check for mistakes.
font-weight: 500;
font-size: 18px;
font-family: var(--font-secondary);
font-weight: 400;
Copy link

Copilot AI Sep 10, 2025

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.

Copilot uses AI. Check for mistakes.
Sveb and others added 4 commits October 28, 2025 19:26
…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..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants