-
Notifications
You must be signed in to change notification settings - Fork 96
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
fix: add allowed_content_curation flag to feed config #2123
Conversation
src/integrations/feed/configs.ts
Outdated
filters.blockedContentCuration?.length && | ||
opts.includeBlockedContentCuration | ||
) { | ||
if (filters.blockedContentCuration?.length && opts.includeContentCuration) { | ||
baseConfig.blocked_content_curations = filters.blockedContentCuration; |
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 think we don't need this anymore now
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.
What about the lofn provider? (And maybe the one that uses the digest?)
@vpol you probably know best, can we remove it?
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.
lofn does not use/parse any of the filters at all.
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.
And with your fix nothing else uses the old format right so removing it is fine? 🙏
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.
we still support it on the feed side, but if you are not going to use it - it's ok.
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.
Removed :)
Add
allowed_content_curations
config if user has any blocked items.Also noticed we didn't even have a test for blocked_content_curations so added one that covers both cases now.
AS-505 #done