Skip to content

Conversation

@Sveb
Copy link
Collaborator

@Sveb Sveb commented Oct 21, 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-10-21 at 13 28 04
Screenshot 2025-10-21 at 13 28 10
Screenshot 2025-10-21 at 13 28 17
Screenshot 2025-10-21 at 13 28 22

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

options: string[]
}
const { filterGroups } = defineProps({
const { filterGroups, limitOptions } = defineProps({
Copy link
Contributor

Choose a reason for hiding this comment

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

Please revert this file

type: Array as PropType<FilterGroupsTypes[]>,
default: () => [],
},
limitOptions: {
Copy link
Contributor

Choose a reason for hiding this comment

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

please revert this change

})
// Limit options for each filter group if limitOptions is true
const limitedFilterGroups = computed(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert this change

@@ -0,0 +1,252 @@
<script setup lang="ts">
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename this component to FilterSelections

title: string
filters: Array<{
name: string
slotName: string
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a new key facetField, which is the name of the filter in Elastic Search that needs to be searched on, to the filters object, example: for Subject Filter , the facetField could be subject_tesim or something like that.

else {
// Add option
currentSelection.push(option.value)
emit('option-selected', filterName, option)
Copy link
Contributor

Choose a reason for hiding this comment

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

along with emitting the event we also want to push the router with new query paramaeters when option is selected or deselected and pagination parameter is reset in the query.

Sveb added 2 commits October 30, 2025 09:57
…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

Labels

feature feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants