Content Claim type filters #135
No reviewers
Labels
No labels
area: app c
area: app d
area: devops
area: discovery
area: docs
area: proposal
area: X-device Sync
Chainquery
consider soon
dependencies
Epic
Fix till next release
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Parked
priority: blocker
priority: high
priority: low
priority: medium
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lighthouse.js#135
Loading…
Reference in a new issue
No description provided.
Delete branch "content_filters_mb"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@seanyesmunt @alyssaoc some low hanging feature fruit courtesy of @tiger5226
Can you get app-side issue filed? Should be a quick-hit to add this feature
Created https://github.com/lbryio/lbry-desktop/issues/2111
This a duplicate of https://github.com/lbryio/lighthouse/pull/124. I was just squashing and rebasing, resolving conflict for that PR. @marcdeb1 is the author of this work :) . It is done but just needs to be tested. He was planning on doing that soon.
@ -266,0 +269,4 @@
const mediaTypes = ['audio', 'video', 'text', 'application', 'image'];
if (mediaTypes.includes(input.mediaType)) {
const mediaFilter = {'match_phrase_prefix': {'value.stream.source.contentType': input.mediaType + '\\/'}};
filters.push(mediaFilter);
I think it would be nice if someone could pass in more than one contentType/mediaType in these queries. That would allow even more fine tuned search in the app.
search?contentType=type1,type2
@ -266,0 +269,4 @@
const mediaTypes = ['audio', 'video', 'text', 'application', 'image'];
if (mediaTypes.includes(input.mediaType)) {
const mediaFilter = {'match_phrase_prefix': {'value.stream.source.contentType': input.mediaType + '\\/'}};
filters.push(mediaFilter);
Indeed it's a good idea. I will add it
@ -266,0 +269,4 @@
const mediaTypes = ['audio', 'video', 'text', 'application', 'image'];
if (mediaTypes.includes(input.mediaType)) {
const mediaFilter = {'match_phrase_prefix': {'value.stream.source.contentType': input.mediaType + '\\/'}};
filters.push(mediaFilter);
It was added to PR #124
Closing this one and I will squash and rebased the other.
Pull request closed