-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add location filter chip in search #9304
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
The glitch when selecting a different location scope while the search page is open is related to the backend not yet working, it just stops the update of the component for some reason. So probably fixed as soon as the backend works. |
fdf1302
to
a95f0e2
Compare
packages/design-system/src/components/OcSearchBarFilter/OcSearchBarFilter.vue
Outdated
Show resolved
Hide resolved
packages/design-system/src/components/OcSearchBarFilter/OcSearchBarFilter.vue
Outdated
Show resolved
Hide resolved
const availableLocationOptions = ref([ | ||
{ | ||
title: $gettext('All Files'), | ||
id: SearchLocationFilterConstants.allFiles, | ||
enabled: true, | ||
default: false | ||
}, | ||
{ | ||
title: $gettext('Current Folder'), | ||
id: SearchLocationFilterConstants.currentFolder, | ||
enabled: currentFolderAvailable, | ||
default: true | ||
} | ||
]) |
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.
Would be nice to have a type somewhere so we can re-use it across the app.
4b70f06
to
7f8f62b
Compare
d31e1c5
to
d02010f
Compare
Kudos, SonarCloud Quality Gate passed! |
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.
Nice work! 🥳
Description
See #9258
Related Issue
Types of changes
Checklist: