-
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
Implement fulltext filter on search result page #9059
Conversation
d9f986d
to
143ffec
Compare
c6bc31c
to
faa1469
Compare
faa1469
to
65b03c0
Compare
Didn't have a look yet, but shouldn't the toggle be the oc-switch element? having it looking like the filter chip is confusing me in the screenshot |
That's intended as it should match the other filter chips. I evaluated a few options together with @tbsbdr and we finally decided on this for look and feel 🙂 |
<item-filter-toggle | ||
:filter-label="$gettext('Search in file content')" | ||
filter-name="fulltext" | ||
class="files-search-filter-fulltext oc-mr-s" | ||
/> |
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.
Tika seems to required for full-text search, I am wondering if we shouldn't rely on a capability then to render this toggle only if capability is enabned
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.
I've created owncloud/ocis#6367, Julian will tackle it as soon as he finds the time.
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.
guys! love it 😍
Minor nitpick, but shouldn't be fullText instead of fulltext? |
0aac1c6
to
c58fd9a
Compare
packages/design-system/src/components/OcFilterChip/OcFilterChip.vue
Outdated
Show resolved
Hide resolved
Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/35919/11/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/35919/tracing/public-link-alice-2023-5-23-11-45-18.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/35919/tracing/public-link-anonymous-2023-5-23-11-45-39.zip |
eb69237
to
6a8a5f6
Compare
SonarCloud Quality Gate failed. |
I addressed your comments. The capability as well as the ability to combine filters will be follow-ups because I don't know when the server part is done. |
Description
Adds a fulltext filter toggle to the search result page.
You need apache tika to enable fulltext search on your local machine. This can be achieved by adding the following to your
docker-compose.override.yml
. Note that thetike
service needs to be started and initialized before startingocis
.Also note that combining multiple filters does not work optimal yet. I plan to do that in another PR once owncloud/ocis#6343 is resolved.
Related Issue
Screenshots
Types of changes